home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / islidhdr.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.1 KB  |  52 lines

  1. #ifndef _ISLIDHDR_
  2.   #define _ISLIDHDR_
  3. /*******************************************************************************
  4. * FILE NAME: islidhdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     ISliderDrawHandler                                                       *
  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. #include <ihandler.hpp>
  19. #include <idievt.hpp>
  20.  
  21. #pragma pack(4)
  22.  
  23. class ISliderDrawHandler : public IHandler {
  24. typedef IHandler
  25.   Inherited;
  26.  
  27. public:
  28. /*-------------------------- Constructors ------------------------------------*/
  29.   ISliderDrawHandler   ( );
  30.  
  31. virtual
  32.  ~ISliderDrawHandler   ( );
  33.  
  34.  
  35. protected:
  36. /*--------------------------- Command Dispatching ----------------------------*/
  37. virtual Boolean
  38.   dispatchHandlerEvent ( IEvent& event );
  39.  
  40. /*------------------------- Event Handling Functions -------------------------*/
  41. virtual Boolean
  42.   drawShaft            ( IDrawItemEvent& event ),
  43.   drawRibbonStrip      ( IDrawItemEvent& event ),
  44.   drawArm              ( IDrawItemEvent& event ),
  45.   drawBackground       ( IDrawItemEvent& event );
  46. };  // ISliderDrawHandler
  47.  
  48.  
  49. #pragma pack()
  50.  
  51. #endif /* _ISLIDHDR_ */
  52.