home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 1.ddi / GDIDEMO.ZIP / ARTY.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  1.1 KB  |  38 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. // Arty demo window object header
  4.  
  5. #ifndef __ARTY_H
  6. #define __ARTY_H
  7.  
  8. #include <owl.h>
  9. #include <static.h>
  10. #include "demobase.h"
  11. #include "artypriv.h"  // defines classes used internally by Arty, such as PTList
  12.  
  13. _CLASSDEF(TArtyWindow)
  14.  
  15. class TArtyWindow : public TBaseDemoWindow
  16. {
  17. private:
  18.          PTList List,
  19.                 BigLineList,
  20.                 IconicLineList;
  21.          int  TextHeight;
  22.          BOOL Iconized;
  23.          BOOL Paused;
  24.          PTStatic StaticControl;
  25. public:
  26.          TArtyWindow( PTWindowsObject AParent, LPSTR ATitle );
  27.          virtual ~TArtyWindow();
  28.          virtual LPSTR GetClassName() { return "ArtyWindow"; };
  29.          virtual void GetWindowClass( WNDCLASS& WndClass );
  30.          virtual void Paint( HDC, PAINTSTRUCT& );
  31.          virtual void WMLButtonDown( TMessage& ) = [WM_FIRST + WM_LBUTTONDOWN];
  32.          virtual void WMRButtonDown( TMessage& ) = [WM_FIRST + WM_RBUTTONDOWN];
  33.          virtual void WMSize( TMessage& ) = [WM_FIRST + WM_SIZE];
  34.          virtual void TimerTick();
  35. };
  36.  
  37. #endif  // ifndef __ARTY_H
  38.