OpenCPN Partial API docs
|
This class provides access to the NMEA log/debug window. More...
#include <NMEALogWindow.h>
Public Member Functions | |
bool | Active () const |
void | Create (wxWindow *parent, int num_lines=35) |
void | Add (const wxString &s) |
void | Refresh (bool do_refresh=false) |
int | GetSizeW () |
int | GetSizeH () |
int | GetPosX () |
int | GetPosY () |
void | SetSize (int w, int h) |
void | SetSize (const wxSize &size) |
void | SetPos (int x, int y) |
void | SetPos (const wxPoint &pos) |
void | CheckPos (int display_width, int display_height) |
void | Move () |
virtual void | DestroyWindow () |
wxWindow * | GetTTYWindow (void) |
virtual void | DestroyWindow ()=0 |
Static Public Member Functions | |
static NMEALogWindow & | Get () |
static void | Shutdown () |
This class provides access to the NMEA log/debug window.
This provides everything needed to use the single NMEA log window.
Singleton.
Reading geometry information from the window will cache them inside this class. This is used to store them permanently in the configuration file.
Definition at line 47 of file NMEALogWindow.h.
bool NMEALogWindow::Active | ( | ) | const |
Definition at line 54 of file NMEALogWindow.cpp.
void NMEALogWindow::Add | ( | const wxString & | s | ) |
Definition at line 70 of file NMEALogWindow.cpp.
void NMEALogWindow::CheckPos | ( | int | display_width, |
int | display_height | ||
) |
Definition at line 128 of file NMEALogWindow.cpp.
void NMEALogWindow::Create | ( | wxWindow * | parent, |
int | num_lines = 35 |
||
) |
Definition at line 56 of file NMEALogWindow.cpp.
|
virtual |
Implements WindowDestroyListener.
Definition at line 133 of file NMEALogWindow.cpp.
|
static |
Definition at line 37 of file NMEALogWindow.cpp.
int NMEALogWindow::GetPosX | ( | ) |
Definition at line 102 of file NMEALogWindow.cpp.
int NMEALogWindow::GetPosY | ( | ) |
Definition at line 107 of file NMEALogWindow.cpp.
int NMEALogWindow::GetSizeH | ( | ) |
Definition at line 97 of file NMEALogWindow.cpp.
int NMEALogWindow::GetSizeW | ( | ) |
Definition at line 92 of file NMEALogWindow.cpp.
|
inline |
Definition at line 66 of file NMEALogWindow.h.
void NMEALogWindow::Move | ( | ) |
Definition at line 141 of file NMEALogWindow.cpp.
void NMEALogWindow::Refresh | ( | bool | do_refresh = false | ) |
Definition at line 74 of file NMEALogWindow.cpp.
void NMEALogWindow::SetPos | ( | const wxPoint & | pos | ) |
Definition at line 87 of file NMEALogWindow.cpp.
void NMEALogWindow::SetPos | ( | int | x, |
int | y | ||
) |
Definition at line 123 of file NMEALogWindow.cpp.
void NMEALogWindow::SetSize | ( | const wxSize & | size | ) |
Definition at line 78 of file NMEALogWindow.cpp.
void NMEALogWindow::SetSize | ( | int | w, |
int | h | ||
) |
Definition at line 112 of file NMEALogWindow.cpp.
|
static |
Definition at line 47 of file NMEALogWindow.cpp.