home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / ICANVAS.INL < prev    next >
Text File  |  1993-10-22  |  2KB  |  53 lines

  1. #ifndef _ICANVAS_INL_
  2. #define _ICANVAS_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: icanvas.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in icanvas.hpp.                                         *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. * CHANGE ACTIVITY:                                                             *
  19. *******************************************************************************/
  20. #ifndef _ICANVAS_
  21.   #undef  _ICANVAS_INL_
  22.   #define _ICANVAS_INL_ 1
  23.   #include <icanvas.hpp>
  24. #endif
  25.  
  26. #if _ICANVAS_INL_
  27.   #define inline
  28. #endif
  29.  
  30. /*-------------------------------- ICanvas -----------------------------------*/
  31. inline void  ICanvas::setDefaultStyle ( const ICanvas::Style& style )
  32.   {
  33.   currentDefaultStyle = style;
  34.   }
  35. inline IWindowHandle  ICanvas::origDefaultButtonHandle ( ) const
  36.   {
  37.   return hwndClDefaultButton;
  38.   }
  39. inline const ISize  &ICanvas::layoutSize ( ) const
  40.   {
  41.   return sizClLayout;
  42.   }
  43. inline ICanvas  &ICanvas::setLayoutSize ( const ISize& size )
  44.   {
  45.   sizClLayout = size;
  46.   return *this;
  47.   }
  48. inline IBase::Boolean  ICanvas::areChildrenReversed ( ) const
  49.   {
  50.   return bClChildrenReversed;
  51.   }
  52. #endif /* _ICANVAS_INL_ */
  53.