home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / WIREVIEW.LZH / VIEW.H < prev    next >
C/C++ Source or Header  |  1995-12-20  |  1KB  |  56 lines

  1. #if !defined(__view_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __view_h
  3.  
  4. /*  Project wireview
  5.     DoGA
  6.     Copyright (c) 1995. Project Team DoGA. All Rights Reserved.
  7.  
  8.     サブシステム:    wireview.apx Application
  9.     ファイル:        view.cpp
  10.     作成者:          Masamichi Takatsu
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TWinView (TWindow) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\window.h>
  22.  
  23. #include "wirvwapp.rh"            // すべてのリソースの定義
  24.  
  25. class AnimationData;
  26. class Motion;
  27.  
  28. //{{TWindow = TWinView}}
  29. class TWinView : public TWindow {
  30.     AnimationData *anim;
  31. public:
  32.     TWinView (TWindow* parent, AnimationData *a, int x, int y, int w, int h);
  33.     virtual ~TWinView ();
  34.  
  35. //{{TWinViewVIRTUAL_BEGIN}}
  36. public:
  37.     void Animation(void);
  38.     void Redraw(void);
  39.     void TWinView::ShowMotion(TDC& dc, Motion *mot);
  40.     virtual void SetupWindow ();
  41.     virtual void Paint (TDC& dc, BOOL erase, TRect& rect);
  42. //{{TWinViewVIRTUAL_END}}
  43.  
  44. //{{TWinViewRSP_TBL_BEGIN}}
  45. protected:
  46.     void EvSize (UINT sizeType, TSize& size);
  47. //{{TWinViewRSP_TBL_END}}
  48. DECLARE_RESPONSE_TABLE(TWinView);
  49. };    //{{TWinView}}
  50.  
  51.  
  52. #endif                                      // __view_h の番兵
  53.  
  54.  
  55.  
  56.