A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/color__picker__validator_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/wx/color_picker_validator.cpp Source File

Go to the documentation of this file.

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)

60

wxValidator::Copy(

val

);

82

control->SetColour(

color

);

99

wxColor

color

= control->GetColour();

108

wxCHECK_MSG( m_validatorWindow,

false

,

109  wxT

(

"No window associated with validator"

) );

110

wxCHECK_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