home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xstylhdl.h < prev    next >
Text File  |  1997-08-12  |  1KB  |  36 lines

  1. #ifndef __OOL_XSTYLEHANDLER_H__
  2. #define __OOL_XSTYLEHANDLER_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XStyleHandler                         */
  8. /*                       derived from: XHandler                              */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xhandler.h"
  14.  
  15. #ifdef OOL_FOR_OS2_X86
  16.  
  17.    //event - id∩s of changed window-style
  18.    #define STY_FONT                      PP_FONTNAMESIZE
  19.    #define STY_FOREGROUNDCOLOR           PP_FOREGROUNDCOLOR
  20.    #define STY_BACKGROUNDCOLOR           PP_BACKGROUNDCOLOR
  21.  
  22. #endif
  23.  
  24.  
  25. class _export_ XStyleHandler: public XHandler
  26. {
  27.    public:
  28.       XStyleHandler( const XWindow * w): XHandler( OOL_STYLEHANDLER, w ) { ;}
  29.       virtual BOOL HandleEvent( XEvent *) { return FALSE; }
  30. };
  31.  
  32.  
  33. #endif
  34.  
  35.  
  36.