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

  1. #ifndef __OOL_XBACKDRAWEVENT_H__
  2. #define __OOL_XBACKDRAWEVENT_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XBackgroundDrawEvent                  */
  8. /*                       derived from: XEvent                                */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xcntevnt.h"
  14.  
  15. class XBitmap;
  16.  
  17. class _export_ XBackgroundDrawEvent: public XEvent
  18. {
  19.       friend MRESULT HandleDefault( XWindow * w, ULONG msg, MPARAM mp1, MPARAM mp2, BOOL& handled);
  20.    private:
  21.       POWNERBACKGROUND back;
  22.       XBackgroundDrawEvent( const LONG l, const void * p): XEvent( l) { back = (POWNERBACKGROUND) p;}
  23.    public:
  24.       void Draw( const XBitmap *);
  25. };
  26.  
  27.  
  28. #endif
  29.