home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / MEDIT.LZH / PERS.H < prev    next >
C/C++ Source or Header  |  1996-06-04  |  1KB  |  58 lines

  1. #if !defined(__pers_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __pers_h
  3.  
  4. /*  Project medit
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    medit.apx Application
  9.     ファイル:        pers.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TWinPers (TWindow) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\window.h>
  22.  
  23. #include "meditapp.rh"            // すべてのリソースの定義
  24.  
  25. class AnimationData;
  26. class Motion;
  27. class Matrix;
  28. class Vector;
  29.  
  30. //{{TWindow = TWinPers}}
  31. class TWinPers : public TWindow {
  32.     AnimationData *anim;
  33. public:
  34. //    TWinPers (TWindow* parent, const char far* title = 0, TModule* module = 0);
  35.     TWinPers (TWindow* parent, AnimationData* dat, int x, int y, int w, int h);
  36.     virtual ~TWinPers ();
  37.  
  38.     void Redraw(void);
  39.     void RedrawMain(TDC& dc);
  40.     void ShowMotion(TDC& dc, Motion *mot);
  41.     void ShowMesh(TDC& dc);
  42.     void ShowLight(Vector& vec, int flag);
  43. //{{TWinPersVIRTUAL_BEGIN}}
  44. public:
  45.     virtual void Paint (TDC& dc, BOOL erase, TRect& rect);
  46. //{{TWinPersVIRTUAL_END}}
  47.  
  48. //{{TWinPersRSP_TBL_BEGIN}}
  49. protected:
  50.     void EvLButtonDown (UINT modKeys, TPoint& point);
  51. //{{TWinPersRSP_TBL_END}}
  52. DECLARE_RESPONSE_TABLE(TWinPers);
  53. };    //{{TWinPers}}
  54.  
  55.  
  56. #endif                                      // __pers_h の番兵
  57.  
  58.