OpenCPN Partial API docs
|
A custom panel for displaying chart information. More...
#include <ChInfoWin.h>
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 |
int | chart_scale |
A custom panel for displaying chart information.
Represents a panel that displays information about a chart, such as its scale and other relevant details.
Definition at line 36 of file ChInfoWin.h.
ChInfoWin::ChInfoWin | ( | wxWindow * | parent | ) |
Definition at line 48 of file ChInfoWin.cpp.
ChInfoWin::~ChInfoWin | ( | ) |
Definition at line 64 of file ChInfoWin.cpp.
void ChInfoWin::FitToChars | ( | int | char_width, |
int | char_height | ||
) |
Definition at line 106 of file ChInfoWin.cpp.
|
inline |
Definition at line 42 of file ChInfoWin.h.
|
inline |
Definition at line 49 of file ChInfoWin.h.
void ChInfoWin::MouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 68 of file ChInfoWin.cpp.
void ChInfoWin::OnEraseBackground | ( | wxEraseEvent & | event | ) |
Definition at line 66 of file ChInfoWin.cpp.
void ChInfoWin::OnPaint | ( | wxPaintEvent & | event | ) |
Definition at line 80 of file ChInfoWin.cpp.
void ChInfoWin::SetBitmap | ( | void | ) |
Definition at line 90 of file ChInfoWin.cpp.
|
inline |
Definition at line 45 of file ChInfoWin.h.
|
inline |
Definition at line 41 of file ChInfoWin.h.
|
inline |
Definition at line 46 of file ChInfoWin.h.
int ChInfoWin::chart_scale |
Definition at line 55 of file ChInfoWin.h.
int ChInfoWin::dbIndex |
Definition at line 54 of file ChInfoWin.h.
wxStaticText* ChInfoWin::m_pInfoTextCtl |
Definition at line 53 of file ChInfoWin.h.