about summary refs log tree commit diff stats
path: root/tracker_frame.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 17:26:46 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 17:26:46 -0400
commit09d67fbad9df92caf2251d36b4abd7979fd27126 (patch)
tree287be3da3588f1fb991ffd3212fdfd53a703d6ab /tracker_frame.cpp
parent116ba412079ddf647d19a54d09eb61e67a2f9aac (diff)
downloadlingo-ap-tracker-09d67fbad9df92caf2251d36b4abd7979fd27126.tar.gz
lingo-ap-tracker-09d67fbad9df92caf2251d36b4abd7979fd27126.tar.bz2
lingo-ap-tracker-09d67fbad9df92caf2251d36b4abd7979fd27126.zip
Map + popups reflect checked locations
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);