#include <GPSFrame.h>

Public Member Functions | |
| GPSFrame (class MapFrame *pfrmMap) | |
| ~GPSFrame () | |
| GPSFrame destructor - doesn't do anything. | |
| void | OnGPSUpdate (const wxGPSEvent &evGPS) |
| Updated GPS coordinates received - pass on to child. | |
| void | UpdateColors (wxColour clrForeground, wxColour clrBackground) |
| virtual bool | SetFont (const wxFont &font) |
| SetFont handler - pass font down to children. | |
| virtual bool | SetBackgroundColour (const wxColour &colour) |
| SetBackgroundColour handler - pass background color down to children. | |
| virtual bool | SetForegroundColour (const wxColour &colour) |
| SetForegroundColour handler - pass foreground color down to children. | |
| void | SafeRefresh () |
| Trigger a refresh of the entire control in a thread safe manner. | |
Private Member Functions | |
| void | OnSafeRefresh (wxCommandEvent &event) |
| Triggered in the main thread by a SafeRefresh() call from any thread. | |
| void | OnPaint (wxPaintEvent &event) |
| Called to paint the window. | |
| void | OnEraseBackground (wxEraseEvent &event) |
| Called to erase the background of the control. | |
| void | OnClose (wxCloseEvent &event) |
| User wants to close this window - notify parent and hide. | |
Private Attributes | |
| class MapFrame * | m_pfrmMap |
| Pointer to parent. | |
| wxStaticText * | m_pctlStatusLabel |
| wxStaticText * | m_pctlPositionLabel |
| wxStaticText * | m_pctlSpeedLabel |
| wxStaticText * | m_pctlHeadingLabel |
| wxStaticText * | m_pctlSatellitesLabel |
| wxStaticText * | m_pctlStatus |
| wxStaticText * | m_pctlPosition |
| wxStaticText * | m_pctlSpeed |
| wxStaticText * | m_pctlHeading |
| wxStaticText * | m_pctlSatellites |
| SatelliteControl * | m_pctlSatelliteMap |
Definition at line 45 of file GPSFrame.h.
| GPSFrame::GPSFrame | ( | class MapFrame * | pfrmMap | ) |
| GPSFrame::~GPSFrame | ( | ) |
| void GPSFrame::OnGPSUpdate | ( | const wxGPSEvent & | evGPS | ) |
| void GPSFrame::UpdateColors | ( | wxColour | clrForeground, | |
| wxColour | clrBackground | |||
| ) |
| bool GPSFrame::SetFont | ( | const wxFont & | font | ) | [virtual] |
| bool GPSFrame::SetBackgroundColour | ( | const wxColour & | colour | ) | [virtual] |
SetBackgroundColour handler - pass background color down to children.
Definition at line 267 of file GPSFrame.cpp.
| bool GPSFrame::SetForegroundColour | ( | const wxColour & | colour | ) | [virtual] |
SetForegroundColour handler - pass foreground color down to children.
Definition at line 307 of file GPSFrame.cpp.
| void GPSFrame::SafeRefresh | ( | ) |
Trigger a refresh of the entire control in a thread safe manner.
(calling Refresh() in a thread other than the main thread causes the UI to hang under GTK)
Definition at line 440 of file GPSFrame.cpp.
| void GPSFrame::OnSafeRefresh | ( | wxCommandEvent & | event | ) | [private] |
Triggered in the main thread by a SafeRefresh() call from any thread.
Definition at line 453 of file GPSFrame.cpp.
| void GPSFrame::OnPaint | ( | wxPaintEvent & | event | ) | [private] |
Called to paint the window.
This just paints the background color.
Definition at line 464 of file GPSFrame.cpp.
| void GPSFrame::OnEraseBackground | ( | wxEraseEvent & | event | ) | [private] |
Called to erase the background of the control.
Our function doesn't do anything - OnPaint will draw everything
Definition at line 484 of file GPSFrame.cpp.
| void GPSFrame::OnClose | ( | wxCloseEvent & | event | ) | [private] |
User wants to close this window - notify parent and hide.
Definition at line 426 of file GPSFrame.cpp.
class MapFrame* GPSFrame::m_pfrmMap [private] |
wxStaticText* GPSFrame::m_pctlStatusLabel [private] |
Definition at line 70 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlPositionLabel [private] |
Definition at line 71 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlSpeedLabel [private] |
Definition at line 72 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlHeadingLabel [private] |
Definition at line 73 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlSatellitesLabel [private] |
Definition at line 74 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlStatus [private] |
Definition at line 76 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlPosition [private] |
Definition at line 77 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlSpeed [private] |
Definition at line 78 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlHeading [private] |
Definition at line 79 of file GPSFrame.h.
wxStaticText* GPSFrame::m_pctlSatellites [private] |
Definition at line 80 of file GPSFrame.h.
SatelliteControl* GPSFrame::m_pctlSatelliteMap [private] |
Definition at line 82 of file GPSFrame.h.
1.5.5