OpenCPN Partial API docs
Loading...
Searching...
No Matches
OCPNColourPickerCtrl Class Reference
Inheritance diagram for OCPNColourPickerCtrl:

Public Member Functions

 OCPNColourPickerCtrl (wxWindow *parent, wxWindowID id, const wxColour &initial= *wxBLACK, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T(""))
 
bool Create (wxWindow *parent, wxWindowID id, const wxColour &initial= *wxBLACK, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T(""))
 
void OnButtonClick (wxCommandEvent &WXUNUSED(ev))
 
void InitColourData ()
 
void SetColour (wxColour &c)
 
wxColour GetColour (void)
 

Protected Member Functions

virtual void UpdateColour ()
 
wxSize DoGetBestSize () const
 
void OnPaint (wxPaintEvent &event)
 
 DECLARE_EVENT_TABLE ()
 

Detailed Description

Definition at line 184 of file OCPNPlatform.h.

Constructor & Destructor Documentation

◆ OCPNColourPickerCtrl()

OCPNColourPickerCtrl::OCPNColourPickerCtrl ( wxWindow *  parent,
wxWindowID  id,
const wxColour &  initial = *wxBLACK,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = _T("") 
)

Definition at line 2190 of file OCPNPlatform.cpp.

Member Function Documentation

◆ Create()

bool OCPNColourPickerCtrl::Create ( wxWindow *  parent,
wxWindowID  id,
const wxColour &  initial = *wxBLACK,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = _T("") 
)

Definition at line 2199 of file OCPNPlatform.cpp.

◆ DoGetBestSize()

wxSize OCPNColourPickerCtrl::DoGetBestSize ( ) const
protected

Definition at line 2294 of file OCPNPlatform.cpp.

◆ GetColour()

wxColour OCPNColourPickerCtrl::GetColour ( void  )

Definition at line 2292 of file OCPNPlatform.cpp.

◆ InitColourData()

void OCPNColourPickerCtrl::InitColourData ( )

Definition at line 2225 of file OCPNPlatform.cpp.

◆ OnButtonClick()

void OCPNColourPickerCtrl::OnButtonClick ( wxCommandEvent &  WXUNUSEDev)

Definition at line 2238 of file OCPNPlatform.cpp.

◆ OnPaint()

void OCPNColourPickerCtrl::OnPaint ( wxPaintEvent &  event)
protected

Definition at line 2310 of file OCPNPlatform.cpp.

◆ SetColour()

void OCPNColourPickerCtrl::SetColour ( wxColour &  c)

Definition at line 2286 of file OCPNPlatform.cpp.

◆ UpdateColour()

void OCPNColourPickerCtrl::UpdateColour ( )
protectedvirtual

Definition at line 2272 of file OCPNPlatform.cpp.


The documentation for this class was generated from the following files: