about summary refs log tree commit diff stats
path: root/src/achievements_pane.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-03-21 13:00:13 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-03-21 13:00:13 -0400
commit829bffa5912f1b6da4ebba580450cfba6d320295 (patch)
treed94d09b219661913198eca72510a31f07eb09c13 /src/achievements_pane.h
parent900355a291cd2c2452e909407a57d3e81d7ad85e (diff)
downloadlingo-ap-tracker-829bffa5912f1b6da4ebba580450cfba6d320295.tar.gz
lingo-ap-tracker-829bffa5912f1b6da4ebba580450cfba6d320295.tar.bz2
lingo-ap-tracker-829bffa5912f1b6da4ebba580450cfba6d320295.zip
Use sync panels for achievement state
Diffstat (limited to 'src/achievements_pane.h')
-rw-r--r--src/achievements_pane.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/achievements_pane.h b/src/achievements_pane.h index ac88cac..941b5e3 100644 --- a/src/achievements_pane.h +++ b/src/achievements_pane.h
@@ -9,6 +9,10 @@
9 9
10#include <wx/listctrl.h> 10#include <wx/listctrl.h>
11 11
12#include <string>
13#include <tuple>
14#include <vector>
15
12class AchievementsPane : public wxListView { 16class AchievementsPane : public wxListView {
13 public: 17 public:
14 explicit AchievementsPane(wxWindow* parent); 18 explicit AchievementsPane(wxWindow* parent);
@@ -16,7 +20,7 @@ class AchievementsPane : public wxListView {
16 void UpdateIndicators(); 20 void UpdateIndicators();
17 21
18 private: 22 private:
19 std::vector<std::string> achievement_names_; 23 std::vector<std::tuple<std::string, int>> achievements_; // name, solve index
20}; 24};
21 25
22#endif /* end of include guard: ACHIEVEMENTS_PANE_H_C320D0B8 */ \ No newline at end of file 26#endif /* end of include guard: ACHIEVEMENTS_PANE_H_C320D0B8 */ \ No newline at end of file