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

A custom panel for displaying chart information. More...

#include <ch_info_win.h>

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
int chart_scale

Detailed Description

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 ch_info_win.h.

Constructor & Destructor Documentation

◆ ChInfoWin()

ChInfoWin::ChInfoWin ( wxWindow * parent)

Definition at line 46 of file ch_info_win.cpp.

◆ ~ChInfoWin()

ChInfoWin::~ChInfoWin ( )

Definition at line 62 of file ch_info_win.cpp.

Member Function Documentation

◆ FitToChars()

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

Definition at line 104 of file ch_info_win.cpp.

◆ GetString()

const wxString & ChInfoWin::GetString ( void )
inline

Definition at line 42 of file ch_info_win.h.

◆ GetWinSize()

wxSize ChInfoWin::GetWinSize ( void )
inline

Definition at line 49 of file ch_info_win.h.

◆ MouseEvent()

void ChInfoWin::MouseEvent ( wxMouseEvent & event)

Definition at line 66 of file ch_info_win.cpp.

◆ OnEraseBackground()

void ChInfoWin::OnEraseBackground ( wxEraseEvent & event)

Definition at line 64 of file ch_info_win.cpp.

◆ OnPaint()

void ChInfoWin::OnPaint ( wxPaintEvent & event)

Definition at line 78 of file ch_info_win.cpp.

◆ SetBitmap()

void ChInfoWin::SetBitmap ( void )

Definition at line 88 of file ch_info_win.cpp.

◆ SetPosition()

void ChInfoWin::SetPosition ( wxPoint pt)
inline

Definition at line 45 of file ch_info_win.h.

◆ SetString()

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

Definition at line 41 of file ch_info_win.h.

◆ SetWinSize()

void ChInfoWin::SetWinSize ( wxSize sz)
inline

Definition at line 46 of file ch_info_win.h.

Member Data Documentation

◆ chart_scale

int ChInfoWin::chart_scale

Definition at line 55 of file ch_info_win.h.

◆ dbIndex

int ChInfoWin::dbIndex

Definition at line 54 of file ch_info_win.h.

◆ m_pInfoTextCtl

wxStaticText* ChInfoWin::m_pInfoTextCtl

Definition at line 53 of file ch_info_win.h.


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