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 1450 of file options.cpp.

Constructor & Destructor Documentation

◆ OCPNFatCombo() [1/2]

OCPNFatCombo::OCPNFatCombo ( )

Definition at line 1478 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 1480 of file options.cpp.

◆ ~OCPNFatCombo()

OCPNFatCombo::~OCPNFatCombo ( )

Definition at line 1493 of file options.cpp.

Member Function Documentation

◆ Append()

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

Definition at line 1537 of file options.cpp.

◆ Clear()

void OCPNFatCombo::Clear ( void  )

Definition at line 1544 of file options.cpp.

◆ OnDrawItem()

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

Definition at line 1500 of file options.cpp.

◆ OnMeasureItem()

wxCoord OCPNFatCombo::OnMeasureItem ( size_t  item) const

Definition at line 1528 of file options.cpp.

◆ OnMeasureItemWidth()

wxCoord OCPNFatCombo::OnMeasureItemWidth ( size_t  item) const

Definition at line 1535 of file options.cpp.

◆ SetFont()

bool OCPNFatCombo::SetFont ( const wxFont &  font)

Definition at line 1495 of file options.cpp.

Member Data Documentation

◆ dfont

const wxFont* OCPNFatCombo::dfont

Definition at line 1471 of file options.cpp.


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