about summary refs log tree commit diff stats
path: root/src/tracker_frame.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-03-10 12:45:14 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-03-10 12:45:14 -0400
commit79424e86dd7aa28c1b25868d86fa8ebffc801593 (patch)
treeebbc23fb998f14d69e638ce8b973b5a7da0b46c6 /src/tracker_frame.h
parentd3457700075fab2dac25bcff2775b7ae5a436a28 (diff)
downloadlingo-ap-tracker-79424e86dd7aa28c1b25868d86fa8ebffc801593.tar.gz
lingo-ap-tracker-79424e86dd7aa28c1b25868d86fa8ebffc801593.tar.bz2
lingo-ap-tracker-79424e86dd7aa28c1b25868d86fa8ebffc801593.zip
Optimized AreaPopup indicators
The list of indicators and the size of the window are calculated only when necessary (new connection, DPI changed, or hunt panel settings changed) and otherwise all we do is redraw the image.
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r--src/tracker_frame.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h index 7704208..131c7b8 100644 --- a/src/tracker_frame.h +++ b/src/tracker_frame.h
@@ -57,6 +57,7 @@ struct StateUpdate {
57 bool cleared_locations = false; 57 bool cleared_locations = false;
58 bool hunt_panels = false; 58 bool hunt_panels = false;
59 bool player_position = false; 59 bool player_position = false;
60 bool changed_settings = false;
60}; 61};
61 62
62class StateChangedEvent : public wxEvent { 63class StateChangedEvent : public wxEvent {