about summary refs log tree commit diff stats
path: root/tracker_panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker_panel.h')
-rw-r--r--tracker_panel.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/tracker_panel.h b/tracker_panel.h deleted file mode 100644 index a871f90..0000000 --- a/tracker_panel.h +++ /dev/null
@@ -1,39 +0,0 @@
1#ifndef TRACKER_PANEL_H_D675A54D
2#define TRACKER_PANEL_H_D675A54D
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10class AreaPopup;
11
12class TrackerPanel : public wxPanel {
13 public:
14 TrackerPanel(wxWindow *parent);
15
16 void UpdateIndicators();
17
18 private:
19 struct AreaIndicator {
20 int area_id = -1;
21 AreaPopup *popup = nullptr;
22 int real_x1 = 0;
23 int real_y1 = 0;
24 int real_x2 = 0;
25 int real_y2 = 0;
26 };
27
28 void OnPaint(wxPaintEvent &event);
29 void OnMouseMove(wxMouseEvent &event);
30
31 void Redraw();
32
33 wxImage map_image_;
34 wxBitmap rendered_;
35
36 std::vector<AreaIndicator> areas_;
37};
38
39#endif /* end of include guard: TRACKER_PANEL_H_D675A54D */