#include <WhatsNearByFrame.h>

Public Member Functions | |
| WhatsNearByFrame (class MapFrame *parent, wxWindowID id, IMapData *pcMapData) | |
| ~WhatsNearByFrame () | |
| WhatsNearByFrame destructor - delete map control data. | |
| void | SetCenter (Point ptCenter) |
| Changes the center coordinates. | |
| Point | GetCenter () |
| Retrieves the center coordinates. | |
| Point | GetSelectedCoordinates () |
| Retrieves the g_cRecords record number of the focused item. | |
| IMapData * | GetMapData () |
| Fetch the map control data associated with this window. | |
| virtual bool | SetBackgroundColour (const wxColour &colour) |
| Propagates SetBackgroundColour calls down to m_pctlList. | |
| virtual bool | SetForegroundColour (const wxColour &colour) |
| Propagates SetForegroundColour calls down to m_pctlList. | |
| virtual bool | SetFont (const wxFont &font) |
| Propagates SetFont calls down to m_pctlList. | |
Public Attributes | |
| class MapFrame * | m_pfrmMap |
| Pointer to parent. | |
Private Member Functions | |
| void | OnClose (wxCloseEvent &event) |
| Program shutting down - close Whats Nearby window and save position+size. | |
| void | OnListDoubleClick (wxListEvent &event) |
| User double clicked an item - notify parent. | |
| void | UpdateList () |
| Update the what's nearby list. | |
| void | SetItemText (int iRow, int iCol, wxString strText) |
| Set the text in the specified row + col. | |
Private Attributes | |
| wxListCtrl * | m_pctlList |
| List control with all of the nearby landmarks. | |
| Point | m_ptCenter |
| Center coordinates. | |
| double | m_fMaxDistance |
| Maximum distance in miles from center coordinates to show landmarks from. | |
| IMapData * | m_pcMapData |
Definition at line 21 of file MainPage.txt.
| WhatsNearByFrame::WhatsNearByFrame | ( | class MapFrame * | parent, | |
| wxWindowID | id, | |||
| IMapData * | pcMapData | |||
| ) |
| WhatsNearByFrame::~WhatsNearByFrame | ( | ) |
WhatsNearByFrame destructor - delete map control data.
Definition at line 135 of file WhatsNearByFrame.cpp.
| void WhatsNearByFrame::SetCenter | ( | Point | ptCenter | ) |
| Point WhatsNearByFrame::GetCenter | ( | ) |
| Point WhatsNearByFrame::GetSelectedCoordinates | ( | ) |
Retrieves the g_cRecords record number of the focused item.
Definition at line 309 of file WhatsNearByFrame.cpp.
| IMapData * WhatsNearByFrame::GetMapData | ( | ) |
Fetch the map control data associated with this window.
Definition at line 340 of file WhatsNearByFrame.cpp.
| bool WhatsNearByFrame::SetBackgroundColour | ( | const wxColour & | colour | ) | [virtual] |
Propagates SetBackgroundColour calls down to m_pctlList.
Definition at line 145 of file WhatsNearByFrame.cpp.
| bool WhatsNearByFrame::SetForegroundColour | ( | const wxColour & | colour | ) | [virtual] |
Propagates SetForegroundColour calls down to m_pctlList.
Definition at line 156 of file WhatsNearByFrame.cpp.
| bool WhatsNearByFrame::SetFont | ( | const wxFont & | font | ) | [virtual] |
| void WhatsNearByFrame::OnClose | ( | wxCloseEvent & | event | ) | [private] |
Program shutting down - close Whats Nearby window and save position+size.
Definition at line 329 of file WhatsNearByFrame.cpp.
| void WhatsNearByFrame::OnListDoubleClick | ( | wxListEvent & | event | ) | [private] |
| void WhatsNearByFrame::UpdateList | ( | ) | [private] |
| void WhatsNearByFrame::SetItemText | ( | int | iRow, | |
| int | iCol, | |||
| wxString | strText | |||
| ) | [private] |
wxListCtrl* WhatsNearByFrame::m_pctlList [private] |
Point WhatsNearByFrame::m_ptCenter [private] |
double WhatsNearByFrame::m_fMaxDistance [private] |
Maximum distance in miles from center coordinates to show landmarks from.
Definition at line 77 of file WhatsNearByFrame.h.
IMapData* WhatsNearByFrame::m_pcMapData [private] |
Definition at line 79 of file WhatsNearByFrame.h.
1.5.5