#include <xap_Win32ColourButton.h>
Public Member Functions | |
| XAP_Win32ColourButton () | |
| ~XAP_Win32ColourButton () | |
| void | setColour (COLORREF color) |
| void | setEnable (bool enable) |
| void | draw (DRAWITEMSTRUCT *dis) |
Private Attributes | |
| HBRUSH | m_hBrush |
| bool | m_bBtnEnabled |
| XAP_Win32ColourButton::XAP_Win32ColourButton | ( | ) | [inline] |
| XAP_Win32ColourButton::~XAP_Win32ColourButton | ( | ) | [inline] |
| void XAP_Win32ColourButton::draw | ( | DRAWITEMSTRUCT * | dis | ) | [inline] |
References COLOUR_SMPHIGH, and COLOUR_SMPLENGTH.
Referenced by AP_Win32Dialog_FormatTable::_onDlgMessage(), AP_Win32Dialog_FormatFrame::_onDlgMessage(), and AP_Win32Dialog_Border_Shading::_onDlgMessage().
| void XAP_Win32ColourButton::setColour | ( | COLORREF | color | ) | [inline] |
Referenced by AP_Win32Dialog_FormatTable::_onCommand(), AP_Win32Dialog_FormatFrame::_onCommand(), AP_Win32Dialog_Border_Shading::_onCommand(), AP_Win32Dialog_FormatTable::setBackgroundColorInGUI(), AP_Win32Dialog_Border_Shading::setBorderColorInGUI(), and AP_Win32Dialog_Border_Shading::setShadingColorInGUI().
| void XAP_Win32ColourButton::setEnable | ( | bool | enable | ) | [inline] |
Referenced by AP_Win32Dialog_Border_Shading::setShadingEnable().
bool XAP_Win32ColourButton::m_bBtnEnabled [private] |
HBRUSH XAP_Win32ColourButton::m_hBrush [private] |
1.7.1