home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / uidemo / invert / appwin.h < prev    next >
C/C++ Source or Header  |  1995-03-20  |  475b  |  33 lines

  1.  
  2.  
  3. #ifndef _appwin_h_ /* Tue Mar  1 17:32:47 1994 */
  4. #define _appwin_h_
  5.  
  6. #include "ui/ui.h"
  7.  
  8. class AppWindow: public UI_CompositeVObject {
  9.  
  10. public:
  11.     AppWindow ();
  12.  
  13.  
  14. private:
  15.  
  16.     void Initialize ();
  17.     bool Paint ();
  18.  
  19.     void Draw ();
  20.  
  21.  
  22.     bool ButtonDown (const UI_Point&, UI_MouseButton, bool, bool);
  23.     bool MouseMove  (const UI_Point&);
  24.     bool ButtonUp   (const UI_Point&, UI_MouseButton);
  25.  
  26.     
  27.     bool _inDrag;
  28.     UI_Point _oldP;
  29. };
  30.  
  31.  
  32. #endif /* _appwin_h_ */
  33.