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

  1.  
  2.  
  3. #ifndef _appwin_h_ /* Tue Mar  1 17:32:47 1994 */
  4. #define _appwin_h_
  5.  
  6. #include "ui/composit.h"
  7. #include "ui/point.h"
  8. #include "ui/label.h"
  9.  
  10. class AppWindow: public UI_CompositeVObject {
  11.  
  12. public:
  13.     AppWindow ();
  14.     ~AppWindow ();
  15.  
  16. protected:
  17.     // Override the Composite's virtual methods:
  18.     void Initialize ();
  19.  
  20.     bool ButtonDown (const UI_Point&, UI_MouseButton, bool, bool);
  21.     bool MouseMove  (const UI_Point&);
  22.     bool ButtonUp   (const UI_Point&, UI_MouseButton);
  23.  
  24.     // Instance variables:
  25.     UI_Rectangle _rect;
  26.     bool         _inDrag;
  27.     UI_Point     _startPt;
  28.     UI_Label*    _status;
  29. };
  30.  
  31.  
  32. #endif /* _appwin_h_ */
  33.