summaryrefslogtreecommitdiff
path: root/bench/bench_window.hpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-29 17:32:58 -0400
committerBenji Dial <benji@benjidial.net>2023-05-29 17:32:58 -0400
commit78c40e1422a86bd184ae1d571b241fa881f78ca0 (patch)
tree22b8cab245ae4487a9223b6a74390d47b6688909 /bench/bench_window.hpp
parent97c79ff771d4993e322d0d6c44f265180797b2eb (diff)
downloadlib94-78c40e1422a86bd184ae1d571b241fa881f78ca0.tar.gz
target rate slider, hyperspeed, more
Diffstat (limited to 'bench/bench_window.hpp')
-rw-r--r--bench/bench_window.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/bench/bench_window.hpp b/bench/bench_window.hpp
index 86b2f1c..bd15e4b 100644
--- a/bench/bench_window.hpp
+++ b/bench/bench_window.hpp
@@ -16,7 +16,7 @@ public:
bool runner_stop_now;
bool runner_stop_on_death;
bool runner_stop_on_win;
- bool runner_update_ui;
+ bool runner_hyperspeed;
core_widget core;
@@ -71,10 +71,13 @@ private:
Gtk::Button start_button;
Gtk::Button stop_button;
- Gtk::CheckButton draw_each_step_toggle;
+ Gtk::CheckButton hyperspeed_toggle;
Gtk::CheckButton pause_on_death_toggle;
Gtk::CheckButton pause_on_win_toggle;
+ Gtk::Label target_core_rate_label;
+ Gtk::Scale target_core_rate_scale;
+
Gtk::Button add_warrior_button;
Gtk::Button remove_warrior_button;
@@ -91,10 +94,12 @@ private:
void on_click_start();
void on_click_stop();
- void on_toggle_draw_each_step();
+ void on_toggle_hyperspeed();
void on_toggle_pause_on_death();
void on_toggle_pause_on_win();
+ void on_target_core_rate_changed();
+
void on_click_add_warrior();
void on_click_remove_warrior();