diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-05 15:46:58 -0400 |
| commit | 149e7c0836927e14a926a952bd1a7f0d1b49e779 (patch) | |
| tree | 2c7ac89387eb890d3d345217b79929e9a23f4ecf /eye_indicator.h | |
| parent | 0dace7831673170bd31eefa6bbe6e705211d3061 (diff) | |
| download | lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.gz lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.tar.bz2 lingo-ap-tracker-149e7c0836927e14a926a952bd1a7f0d1b49e779.zip | |
Organised repo
Diffstat (limited to 'eye_indicator.h')
| -rw-r--r-- | eye_indicator.h | 30 |
1 files changed, 0 insertions, 30 deletions
| diff --git a/eye_indicator.h b/eye_indicator.h deleted file mode 100644 index e8fd890..0000000 --- a/eye_indicator.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | #ifndef EYE_INDICATOR_H_778150F2 | ||
| 2 | #define EYE_INDICATOR_H_778150F2 | ||
| 3 | |||
| 4 | #include <wx/wxprec.h> | ||
| 5 | |||
| 6 | #ifndef WX_PRECOMP | ||
| 7 | #include <wx/wx.h> | ||
| 8 | #endif | ||
| 9 | |||
| 10 | class EyeIndicator : public wxWindow { | ||
| 11 | public: | ||
| 12 | EyeIndicator(wxWindow* parent); | ||
| 13 | |||
| 14 | void SetChecked(bool checked); | ||
| 15 | |||
| 16 | private: | ||
| 17 | static const wxImage& GetUncheckedImage(); | ||
| 18 | static const wxImage& GetCheckedImage(); | ||
| 19 | |||
| 20 | void OnPaint(wxPaintEvent& event); | ||
| 21 | |||
| 22 | void Redraw(); | ||
| 23 | |||
| 24 | bool intended_checked_ = false; | ||
| 25 | |||
| 26 | wxBitmap rendered_; | ||
| 27 | bool rendered_checked_ = false; | ||
| 28 | }; | ||
| 29 | |||
| 30 | #endif /* end of include guard: EYE_INDICATOR_H_778150F2 */ | ||
