name: "Rainbow Red" panel_display_name: "Rainbow" panels { name: "THEME" path: "Panels/Smiley Rooms/red2" clue: "theme" answer: "names" symbols: QUESTION display_name: "THEME (Red)" } o-ap-tracker/atom/src/report_popup.h?h=v2.0.1' type='application/atom+xml'/>
about summary refs log blame commit diff stats
path: root/src/report_popup.h
blob: 2da9b73921e8323dd0333bdb77a51f202cfd19a5 (plain) (tree)




















                                             


                                              


                    


                                 



                                                          
#ifndef REPORT_POPUP_H_E065BED4
#define REPORT_POPUP_H_E065BED4

#include <wx/wxprec.h>

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

class ReportPopup : public wxScrolledCanvas {
 public:
  explicit ReportPopup(wxWindow* parent);

  void SetDoorId(int door_id);

  void Reset();

  void UpdateIndicators();

 private:
  void OnPaint(wxPaintEvent& event);
  void OnDPIChanged(wxDPIChangedEvent& event);

  void LoadIcons();

  int door_id_ = -1;

  const wxBitmap* unchecked_eye_;
  const wxBitmap* checked_eye_;

  wxBitmap rendered_;
};

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