diff options
Diffstat (limited to 'src/area_popup.cpp')
| -rw-r--r-- | src/area_popup.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/area_popup.cpp b/src/area_popup.cpp index 9cc1208..2ba9586 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp | |||
| @@ -156,7 +156,7 @@ void AreaPopup::UpdateIndicators() { | |||
| 156 | mem_dc.SetTextForeground(*text_color); | 156 | mem_dc.SetTextForeground(*text_color); |
| 157 | 157 | ||
| 158 | bool checked = reachable && AP_IsPaintingChecked(painting.internal_id); | 158 | bool checked = reachable && AP_IsPaintingChecked(painting.internal_id); |
| 159 | const wxBitmap* eye_ptr = checked ? checked_eye_ : unchecked_eye_; | 159 | const wxBitmap* eye_ptr = checked ? checked_owl_ : unchecked_owl_; |
| 160 | mem_dc.DrawBitmap(*eye_ptr, {FromDIP(10), cur_height}); | 160 | mem_dc.DrawBitmap(*eye_ptr, {FromDIP(10), cur_height}); |
| 161 | 161 | ||
| 162 | wxSize item_extent = mem_dc.GetTextExtent(painting.display_name); | 162 | wxSize item_extent = mem_dc.GetTextExtent(painting.display_name); |
| @@ -187,4 +187,8 @@ void AreaPopup::LoadIcons() { | |||
| 187 | FromDIP(wxSize{32, 32})); | 187 | FromDIP(wxSize{32, 32})); |
| 188 | checked_eye_ = | 188 | checked_eye_ = |
| 189 | GetTheIconCache().GetIcon("assets/checked.png", FromDIP(wxSize{32, 32})); | 189 | GetTheIconCache().GetIcon("assets/checked.png", FromDIP(wxSize{32, 32})); |
| 190 | unchecked_owl_ = | ||
| 191 | GetTheIconCache().GetIcon("assets/owl.png", FromDIP(wxSize{32, 32})); | ||
| 192 | checked_owl_ = GetTheIconCache().GetIcon("assets/checked_owl.png", | ||
| 193 | FromDIP(wxSize{32, 32})); | ||
| 190 | } | 194 | } |
