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

  1.  
  2.  
  3. #ifndef _appwin_h_ /* Tue Mar  1 17:32:47 1994 */
  4. #define _appwin_h_
  5.  
  6. #include "ui/bitmap.h"
  7. #include "ui/timer.h"
  8. #include "ui/composit.h"
  9.  
  10. class AppWindow: public UI_CompositeVObject {
  11.  
  12. public:
  13.     AppWindow ();
  14.     ~AppWindow ();
  15.  
  16. protected:
  17.     void Initialize ();
  18.     bool Reconfigure (const UI_Rectangle&);
  19.  
  20. private:
  21.     bool _Draw (CL_Object&, long);
  22.     
  23.     UI_Bitmap _ballMap, _bgMap;
  24.     UI_Timer  _timer;
  25.     UI_Point  _position;
  26.     long      _xInc, _yInc;
  27. };
  28.  
  29.  
  30. #endif /* _appwin_h_ */
  31.