home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / MEDIT.LZH / WINFRAME.H < prev   
C/C++ Source or Header  |  1996-05-23  |  2KB  |  70 lines

  1. #if !defined(__winframe_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __winframe_h
  3.  
  4. /*  Project medit
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    medit.apx Application
  9.     ファイル:        winframe.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TWinFrame (TWindow) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\window.h>
  22.  
  23. #include "meditapp.rh"            // すべてのリソースの定義
  24.  
  25. #define ID_SCROLL_X 501
  26. #define ID_SCROLL_Y 502
  27. #define ID_SCROLL_Z 503
  28. #define ID_SCROLL_F 504
  29. class AnimationData;
  30.  
  31. //{{TWindow = TWinFrame}}
  32. class TWinFrame : public TWindow {
  33. private:
  34.     int execonce;
  35. public:
  36.     AnimationData *anim;
  37.     TWinFrame (TWindow* parent, const char far* title = 0, TModule* module = 0);
  38.     virtual ~TWinFrame ();
  39.  
  40.     void EvScrollX (UINT code);
  41.     void EvScrollY (UINT code);
  42.     void EvScrollZ (UINT code);
  43.     void EvScrollF (UINT code);
  44.  
  45.     void EvButtonPlay (void);
  46.     void EvButtonStop (void);
  47.     void EvButtonForward (void);
  48.     void EvButtonBackward (void);
  49.     void EvButtonOk(void);
  50.     void EvButtonCancel(void);
  51.  
  52. //{{TWinFrameVIRTUAL_BEGIN}}
  53. public:
  54.     virtual BOOL CanClose ();
  55.     virtual void Paint (TDC& dc, BOOL erase, TRect& rect);
  56.     virtual void SetupWindow ();
  57.     virtual BOOL IdleAction (long idleCount);
  58. //{{TWinFrameVIRTUAL_END}}
  59.  
  60. //{{TWinFrameRSP_TBL_BEGIN}}
  61. protected:
  62.     void EvSize (UINT sizeType, TSize& size);
  63.     void EvTimer (UINT timerId);
  64. //{{TWinFrameRSP_TBL_END}}
  65. DECLARE_RESPONSE_TABLE(TWinFrame);
  66. };    //{{TWinFrame}}
  67.  
  68. #endif                                      // __winframe_h の番兵
  69.  
  70.