Go to the SVN repository for this file.
37 #include <wx/clrpicker.h> 43: m_pwxColor(val_ptr), m_pCRgbaColor(0)
48: m_pwxColor(0), m_pCRgbaColor(val_ptr)
60wxValidator::Copy(
val);
82control->SetColour(
color);
99wxColor
color= control->GetColour();
108wxCHECK_MSG( m_validatorWindow,
false,
109 wxT(
"No window associated with validator") );
110wxCHECK_MSG( m_validatorWindow->IsKindOf(CLASSINFO(
CColorPicker)),
false,
111 wxT(
"CColorPickerValidator is only for CColorPicker's") );
virtual bool TransferFromWindow()
bool CopyValidator(const CColorPickerValidator &val)
CRgbaColor * m_pCRgbaColor
CColorPickerValidator(wxColor *val_ptr)
virtual bool TransferToWindow()
bool CheckValidator() const
class CRgbaColor provides a simple abstraction for managing colors.
wxColourPickerCtrl CColorPicker
unsigned char GetRedUC(void) const
Get specific channels in unsigned char values.
void Set(float r, float g, float b)
set the color from an Fl_Color
unsigned char GetGreenUC(void) const
unsigned char GetAlphaUC(void) const
unsigned char GetBlueUC(void) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4