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

  1. #ifndef _ISTATTXT_INL_
  2. #define _ISTATTXT_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: istattxt.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in istattxt.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. *******************************************************************************/
  19. #ifndef _ISTATTXT_
  20.   #undef  _ISTATTXT_INL_
  21.   #define _ISTATTXT_INL_ 1
  22.   #include <istattxt.hpp>
  23. #endif
  24.  
  25. #if _ISTATTXT_INL_
  26.   #define inline
  27. #endif
  28.  
  29. /*------------------------------- IStaticText --------------------------------*/
  30. inline void IStaticText :: setDefaultStyle ( IStaticText::Style style )
  31.   {
  32.   currentDefaultStyle = style;
  33.   }
  34. inline IStaticText& IStaticText :: disableFillBackground ( )
  35.   {
  36.   return enableFillBackground(false);
  37.   }
  38. inline IStaticText& IStaticText :: disableUnderscore ( )
  39.   {
  40.   return enableUnderscore(false);
  41.   }
  42. inline IStaticText& IStaticText :: disableStrikeout ( )
  43.   {
  44.   return enableStrikeout(false);
  45.   }
  46. inline IStaticText& IStaticText :: disableHalftone ( )
  47.   {
  48.   return enableHalftone(false);
  49.   }
  50. inline unsigned long IStaticText :: limit ( ) const
  51.   {
  52.   return ulClLimit;
  53.   }
  54.  
  55. #endif /* _ISTATTXT_INL_ */
  56.