home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / PASM.LZH / DSELCOL.H < prev    next >
C/C++ Source or Header  |  1996-07-03  |  1KB  |  59 lines

  1. #if !defined(__dselcol_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __dselcol_h
  3.  
  4. /*  Project partsasm
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    partsasm.apx Application
  9.     ファイル:        dselcol.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TDSelColor (TDialog) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\dialog.h>
  22.  
  23. #include "pasmapp.rh"            // すべてのリソースの定義
  24.  
  25. class TEdit;
  26.  
  27. #define SELCOL_COLORS 5
  28. #define SELCOL_LIGHTS 2
  29. class TRadioButton;
  30. //{{TDialog = TDSelColor}}
  31. class TDSelColor : public TDialog {
  32.     TRadioButton *button[SELCOL_COLORS];
  33.     TRadioButton *lbutton[SELCOL_LIGHTS];
  34.     TEdit *editwidth, *editheight;
  35. public:
  36.     int selcolor;
  37.     int sellight;
  38.     int selwidth, selheight;
  39.     TDSelColor (TWindow* parent, int color, int light, int width, int height);
  40.     virtual ~TDSelColor ();
  41.  
  42. //{{TDSelColorVIRTUAL_BEGIN}}
  43. public:
  44.     virtual void SetupWindow ();
  45. //{{TDSelColorVIRTUAL_END}}
  46.  
  47. //{{TDSelColorRSP_TBL_BEGIN}}
  48. protected:
  49.     void CmOK ();
  50.     void EvPaint ();
  51.     void EvLButtonDown (UINT modKeys, TPoint& point);
  52. //{{TDSelColorRSP_TBL_END}}
  53. DECLARE_RESPONSE_TABLE(TDSelColor);
  54. };    //{{TDSelColor}}
  55.  
  56.  
  57. #endif                                      // __dselcol_h の番兵
  58.  
  59.