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

Public Member Functions

 OCPNFatCombo (wxWindow *parent, wxWindowID id, const wxString &value=_T(""), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=NULL, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=_T("OCPNFatCombo"))
 
void OnDrawItem (wxDC &dc, const wxRect &rect, int item, int flags) const
 
wxCoord OnMeasureItem (size_t item) const
 
wxCoord OnMeasureItemWidth (size_t item) const
 
bool SetFont (const wxFont &font)
 
int Append (const wxString &item, wxBitmap bmp)
 
void Clear (void)
 

Public Attributes

const wxFont * dfont
 

Detailed Description

Definition at line 1366 of file options.cpp.

Constructor & Destructor Documentation

◆ OCPNFatCombo() [1/2]

OCPNFatCombo::OCPNFatCombo ( )

Definition at line 1394 of file options.cpp.

◆ OCPNFatCombo() [2/2]

OCPNFatCombo::OCPNFatCombo ( wxWindow * parent,
wxWindowID id,
const wxString & value = _T(""),
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize,
int n = 0,
const wxString choices[] = NULL,
long style = 0,
const wxValidator & validator = wxDefaultValidator,
const wxString & name = _T("OCPNFatCombo") )

Definition at line 1396 of file options.cpp.

◆ ~OCPNFatCombo()

OCPNFatCombo::~OCPNFatCombo ( )

Definition at line 1409 of file options.cpp.

Member Function Documentation

◆ Append()

int OCPNFatCombo::Append ( const wxString & item,
wxBitmap bmp )

Definition at line 1453 of file options.cpp.

◆ Clear()

void OCPNFatCombo::Clear ( void )

Definition at line 1460 of file options.cpp.

◆ OnDrawItem()

void OCPNFatCombo::OnDrawItem ( wxDC & dc,
const wxRect & rect,
int item,
int flags ) const

Definition at line 1416 of file options.cpp.

◆ OnMeasureItem()

wxCoord OCPNFatCombo::OnMeasureItem ( size_t item) const

Definition at line 1444 of file options.cpp.

◆ OnMeasureItemWidth()

wxCoord OCPNFatCombo::OnMeasureItemWidth ( size_t item) const

Definition at line 1451 of file options.cpp.

◆ SetFont()

bool OCPNFatCombo::SetFont ( const wxFont & font)

Definition at line 1411 of file options.cpp.

Member Data Documentation

◆ dfont

const wxFont* OCPNFatCombo::dfont

Definition at line 1387 of file options.cpp.


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