home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / idmimage.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.4 KB  |  82 lines

  1. #ifndef _IDMIMAGE_INL_
  2.   #define _IDMIMAGE_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: idmimage.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in idmimage.hpp.                                          *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #ifndef _IDMIMAGE_
  19.   #undef  _IDMIMAGE_INL_
  20.   #define _IDMIMAGE_INL_ 1
  21.   #include <idmimage.hpp>
  22. #endif
  23.  
  24. #if _IDMIMAGE_INL_
  25.   #define inline
  26. #endif
  27.  
  28. inline IPointerHandle IDMImage::pointer () const
  29. {
  30.   return (this->pointerImage);
  31. }
  32.  
  33. inline IBitmapHandle IDMImage::bitmap () const
  34. {
  35.   return (this->bitmapImage);
  36. }
  37.  
  38. inline ISize IDMImage::pointerOffset () const
  39. {
  40.   return (this->ptrOffset);
  41. }
  42.  
  43. inline ISize IDMImage::stretchSize () const
  44. {
  45.   return (this->imageStretchSize);
  46. }
  47.  
  48. inline IDMImage::Style IDMImage::style ()
  49. {
  50.   return (this->imgStyle);
  51. }
  52.  
  53. inline unsigned long IDMImage::numberOfPoints ()
  54. {
  55.   return (this->points);
  56. }
  57.  
  58. inline unsigned long* IDMImage::pointArray()
  59. {
  60.   return (this->pPointArray);
  61. }
  62.  
  63. inline IDMImage& IDMImage::setPointerOffset (const ISize& pointerOffset)
  64. {
  65.   this->ptrOffset = pointerOffset;
  66.   return (*this);
  67. }
  68.  
  69. inline IDMImage& IDMImage::setStyle (const Style& style)
  70. {
  71.   this->imgStyle = style;
  72.   return (*this);
  73. }
  74.  
  75. inline IDMImage& IDMImage::setNumberOfPoints (unsigned long pts)
  76. {
  77.   this->points = pts;
  78.   return (*this);
  79. }
  80.  
  81. #endif //IDMIMAGE
  82.