SBSPSS/Utils/MapEdit/GUILayerRGB.h
2001-08-02 12:42:38 +00:00

63 lines
1.5 KiB
C++

#if !defined(AFX_GUILAYERRGB_H__2B103B4E_E1B3_4FD4_B791_A12204424DEE__INCLUDED_)
#define AFX_GUILAYERRGB_H__2B103B4E_E1B3_4FD4_B791_A12204424DEE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GUILayerRGB.h : header file
//
#ifndef u8
typedef unsigned char u8;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGUILayerRGB dialog
class CGUILayerRGB : public CDialog
{
// Construction
public:
CGUILayerRGB(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGUILayerRGB)
enum { IDD = IDD_LAYER_RGB };
CComboBox m_RateList;
CComboBox m_BrushList;
CComboBox m_ModeList;
CButton m_Shade;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGUILayerRGB)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void EnableCallback() {CallbackFlag=true;}
void DisableCallback() {CallbackFlag=false;}
// void SetVal(CEdit &Dlg,int &Val,int Min=-1,int Max=-1);
// void GetVal(CEdit &Dlg,int &Val,int Min=-1,int Max=-1);
// void SetRGB(u8 &R,u8 &G,u8 &B);
// void GetRGB(u8 &R,u8 &G,u8 &B);
protected:
bool CallbackFlag;
// Generated message map functions
//{{AFX_MSG(CGUILayerRGB)
afx_msg void OnParamChange();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GUILAYERRGB_H__2B103B4E_E1B3_4FD4_B791_A12204424DEE__INCLUDED_)