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

  1. #if !defined(__bmpbtn_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __bmpbtn_h
  3.  
  4. /*  Project medit
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    medit.apx Application
  9.     ファイル:        bmpbtn.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TBMPButton (TButton) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\button.h>
  22.  
  23. #include "meditapp.rh"            // すべてのリソースの定義
  24.  
  25.  
  26. class AnimationData;
  27. class TDib;
  28. //{{TButton = TBMPButton}}
  29. class TBMPButton : public TButton {
  30.     AnimationData *anim;
  31.     TDib *dib;
  32.     int wid;
  33.     int intimer;
  34.     int push;
  35. public:
  36.     TBMPButton (TWindow* parent, AnimationData *a, int id, int X, int Y, int W, int H, BOOL isDefault = FALSE, TModule* module = 0);
  37.     virtual ~TBMPButton ();
  38.  
  39. //{{TBMPButtonVIRTUAL_BEGIN}}
  40. public:
  41.     virtual void ODASelect (DRAWITEMSTRUCT far& drawInfo);
  42. //{{TBMPButtonVIRTUAL_END}}
  43.  
  44. //{{TBMPButtonRSP_TBL_BEGIN}}
  45. protected:
  46.     void EvTimer (UINT timerId);
  47.     void EvPaint ();
  48.     void EvLButtonDown (UINT modKeys, TPoint& point);
  49.     void EvLButtonUp (UINT modKeys, TPoint& point);
  50. //{{TBMPButtonRSP_TBL_END}}
  51. DECLARE_RESPONSE_TABLE(TBMPButton);
  52. };    //{{TBMPButton}}
  53.  
  54.  
  55. #endif                                      // __bmpbtn_h の番兵
  56.  
  57.