OpenCPN Partial API docs
Loading...
Searching...
No Matches
OCPNIconCombo Class Reference

#include <MarkInfo.h>

Inheritance diagram for OCPNIconCombo:

Public Member Functions

 OCPNIconCombo (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("OCPNIconCombo"))
 
void OnDrawItem (wxDC &dc, const wxRect &rect, int item, int flags) const
 
wxCoord OnMeasureItem (size_t item) const
 
wxCoord OnMeasureItemWidth (size_t item) const
 
int Append (const wxString &item, wxBitmap bmp)
 
void Clear (void)
 

Detailed Description

OCPNIconCombo class declaration

Definition at line 146 of file MarkInfo.h.

Constructor & Destructor Documentation

◆ OCPNIconCombo()

OCPNIconCombo::OCPNIconCombo ( 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("OCPNIconCombo") 
)

Definition at line 106 of file MarkInfo.cpp.

◆ ~OCPNIconCombo()

OCPNIconCombo::~OCPNIconCombo ( )

Definition at line 118 of file MarkInfo.cpp.

Member Function Documentation

◆ Append()

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

Definition at line 157 of file MarkInfo.cpp.

◆ Clear()

void OCPNIconCombo::Clear ( void  )

Definition at line 164 of file MarkInfo.cpp.

◆ OnDrawItem()

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

Definition at line 120 of file MarkInfo.cpp.

◆ OnMeasureItem()

wxCoord OCPNIconCombo::OnMeasureItem ( size_t  item) const

Definition at line 149 of file MarkInfo.cpp.

◆ OnMeasureItemWidth()

wxCoord OCPNIconCombo::OnMeasureItemWidth ( size_t  item) const

Definition at line 155 of file MarkInfo.cpp.


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