about summary refs log tree commit diff stats
path: root/vendor/asio
Commit message (Collapse)AuthorAgeFilesLines
* Tracker connects to AP nowStar Rauchenberger2023-05-021-0/+0
bia@gmail.com> 2023-05-03 12:43:16 -0400 committer Star Rauchenberger <fefferburbia@gmail.com> 2023-05-03 12:43:16 -0400 Changes to make it work better on Windows' href='/lingo-ap-tracker/commit/tracker_panel.h?h=v1.0.0&id=02c331f4e766558bba580d5b7db883357be005d5'>02c331f ^
9f25878 ^
9798316 ^
531898b ^
9798316 ^

09d67fb ^

531898b ^
02c331f ^






53a2ec2 ^
02c331f ^

9798316 ^
02c331f ^
9798316 ^




9f25878 ^
02c331f ^
9798316 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40








                                
                
 
                                     
        

                                 

                          
         






                               
                       

    
                                    
                                        




                     
 
                                    


                                                           
#ifndef TRACKER_PANEL_H_D675A54D
#define TRACKER_PANEL_H_D675A54D

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

class AreaPopup;

class TrackerPanel : public wxPanel {
 public:
  TrackerPanel(wxWindow *parent);

  void UpdateIndicators();

 private:
  struct AreaIndicator {
    int area_id = -1;
    AreaPopup *popup = nullptr;
    int real_x1 = 0;
    int real_y1 = 0;
    int real_x2 = 0;
    int real_y2 = 0;
    bool active = true;
  };
 
  void OnPaint(wxPaintEvent &event);
  void OnMouseMove(wxMouseEvent &event);

  void Redraw();

  wxImage map_image_;
  wxBitmap rendered_;

  std::vector<AreaIndicator> areas_;
};

#endif /* end of include guard: TRACKER_PANEL_H_D675A54D */