about summary refs log tree commit diff stats
path: root/tracker_frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker_frame.cpp')
-rw-r--r--tracker_frame.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tracker_frame.cpp b/tracker_frame.cpp index d58dfe8..cd2060c 100644 --- a/tracker_frame.cpp +++ b/tracker_frame.cpp
@@ -34,13 +34,18 @@ TrackerFrame::TrackerFrame()
34 Bind(wxEVT_MENU, &TrackerFrame::OnExit, this, wxID_EXIT); 34 Bind(wxEVT_MENU, &TrackerFrame::OnExit, this, wxID_EXIT);
35 Bind(wxEVT_MENU, &TrackerFrame::OnConnect, this, ID_CONNECT); 35 Bind(wxEVT_MENU, &TrackerFrame::OnConnect, this, ID_CONNECT);
36 36
37 new TrackerPanel(this); 37 tracker_panel_ = new TrackerPanel(this);
38} 38}
39 39
40void TrackerFrame::SetStatusMessage(std::string message) { 40void TrackerFrame::SetStatusMessage(std::string message) {
41 SetStatusText(message); 41 SetStatusText(message);
42} 42}
43 43
44void TrackerFrame::UpdateIndicators() {
45 tracker_panel_->UpdateIndicators();
46 Refresh();
47}
48
44void TrackerFrame::OnAbout(wxCommandEvent &event) { 49void TrackerFrame::OnAbout(wxCommandEvent &event) {
45 wxMessageBox("Lingo Archipelago Tracker by hatkirby", 50 wxMessageBox("Lingo Archipelago Tracker by hatkirby",
46 "About lingo-ap-tracker", wxOK | wxICON_INFORMATION); 51 "About lingo-ap-tracker", wxOK | wxICON_INFORMATION);