25 #ifndef __NMEALOGWINDOW_H__
26 #define __NMEALOGWINDOW_H__
28 #include <wx/gdicmn.h>
29 #include <wx/string.h>
30 #include <wx/window.h>
32 #include "model/nmea_log.h"
34 #include "WindowDestroyListener.h"
35 #include "TTYWindow.h"
54 void Create(wxWindow *parent,
int num_lines = 35);
55 void Add(
const wxString &s);
56 void Refresh(
bool do_refresh =
false);
61 void SetSize(
int w,
int h);
62 void SetSize(
const wxSize &size);
63 void SetPos(
int x,
int y);
64 void SetPos(
const wxPoint &pos);
65 void CheckPos(
int display_width,
int display_height);
67 virtual void DestroyWindow();
68 static void Shutdown();
69 wxWindow *GetTTYWindow(
void) {
return static_cast<wxWindow*
>(m_window); }
74 void UpdateGeometry();
This class provides access to the NMEA log/debug window.
bool Active() const
Return true if log is visible i.
void Add(const wxString &s)
Add an formatted string to log output.