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

Public Member Functions

 ChInfoWin (wxWindow *parent)
 
void SetString (const wxString &s)
 
const wxString & GetString (void)
 
void MouseEvent (wxMouseEvent &event)
 
void SetPosition (wxPoint pt)
 
void SetWinSize (wxSize sz)
 
void SetBitmap (void)
 
void FitToChars (int char_width, int char_height)
 
wxSize GetWinSize (void)
 
void OnPaint (wxPaintEvent &event)
 
void OnEraseBackground (wxEraseEvent &event)
 

Public Attributes

wxStaticText * m_pInfoTextCtl
 
int dbIndex
 

Detailed Description

Definition at line 31 of file ChInfoWin.h.

Constructor & Destructor Documentation

◆ ChInfoWin()

ChInfoWin::ChInfoWin ( wxWindow *  parent)

Definition at line 48 of file ChInfoWin.cpp.

◆ ~ChInfoWin()

ChInfoWin::~ChInfoWin ( )

Definition at line 64 of file ChInfoWin.cpp.

Member Function Documentation

◆ FitToChars()

void ChInfoWin::FitToChars ( int  char_width,
int  char_height 
)

Definition at line 105 of file ChInfoWin.cpp.

◆ GetString()

const wxString & ChInfoWin::GetString ( void  )
inline

Definition at line 37 of file ChInfoWin.h.

◆ GetWinSize()

wxSize ChInfoWin::GetWinSize ( void  )
inline

Definition at line 44 of file ChInfoWin.h.

◆ MouseEvent()

void ChInfoWin::MouseEvent ( wxMouseEvent &  event)

Definition at line 68 of file ChInfoWin.cpp.

◆ OnEraseBackground()

void ChInfoWin::OnEraseBackground ( wxEraseEvent &  event)

Definition at line 66 of file ChInfoWin.cpp.

◆ OnPaint()

void ChInfoWin::OnPaint ( wxPaintEvent &  event)

Definition at line 80 of file ChInfoWin.cpp.

◆ SetBitmap()

void ChInfoWin::SetBitmap ( void  )

Definition at line 90 of file ChInfoWin.cpp.

◆ SetPosition()

void ChInfoWin::SetPosition ( wxPoint  pt)
inline

Definition at line 40 of file ChInfoWin.h.

◆ SetString()

void ChInfoWin::SetString ( const wxString &  s)
inline

Definition at line 36 of file ChInfoWin.h.

◆ SetWinSize()

void ChInfoWin::SetWinSize ( wxSize  sz)
inline

Definition at line 41 of file ChInfoWin.h.

Member Data Documentation

◆ dbIndex

int ChInfoWin::dbIndex

Definition at line 49 of file ChInfoWin.h.

◆ m_pInfoTextCtl

wxStaticText* ChInfoWin::m_pInfoTextCtl

Definition at line 48 of file ChInfoWin.h.


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