home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / GDIDEMO.PAK / ARTY.H < prev    next >
C/C++ Source or Header  |  1995-08-29  |  1KB  |  39 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Arty demo window object header
  4. //----------------------------------------------------------------------------
  5. #ifndef __ARTY_H
  6. #define __ARTY_H
  7.  
  8. #include "demobase.h"
  9. class _EXPCLASS TList;
  10. class _EXPCLASS TStatic;
  11.  
  12. class TArtyWindow : public TBaseDemoWindow {
  13.   public:
  14.     TArtyWindow();
  15.     ~TArtyWindow();
  16.  
  17.     void    TimerTick();
  18.  
  19.   protected:
  20.     void    EvLButtonDown(UINT modKeys, TPoint& point);
  21.     void    EvRButtonDown(UINT modKeys, TPoint& point);
  22.     void    EvSize(UINT, TSize& size);
  23.     void    Paint(TDC& dc, BOOL erase, TRect& rect);
  24.  
  25.   private:
  26.     TList*      List;
  27.     TList*      BigLineList;
  28.     TList*      IconicLineList;
  29.     int         TextHeight;
  30.     BOOL        Iconized;
  31.     BOOL        Paused;
  32.     TStatic*    StaticControl;
  33.  
  34.   DECLARE_RESPONSE_TABLE(TArtyWindow);
  35.   DECLARE_CASTABLE;
  36. };
  37.  
  38. #endif
  39.