diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-19 14:29:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-20 08:18:03 +0100 |
commit | f3c46930b43707e57979f08c85d53974f688380d (patch) | |
tree | 0b0e363ffe91ba50b3381011fddad7aceacbc497 /editor/tests/path-test.cpp | |
parent | 9629cfc4a97241a01654518dd7b8b2636e415866 (diff) |
pass dt to tests
Diffstat (limited to 'editor/tests/path-test.cpp')
-rw-r--r-- | editor/tests/path-test.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/editor/tests/path-test.cpp b/editor/tests/path-test.cpp index 9f837128..cc7dc796 100644 --- a/editor/tests/path-test.cpp +++ b/editor/tests/path-test.cpp @@ -22,8 +22,8 @@ struct path_test final : base_test bool handle_mouse_move(app& a, const mouse_move_event& e) override; void draw_overlay(app& a) override; void draw_ui(app& a, float width) override; - void update_pre(app& a) override; - void update_post(app& a) override; + void update_pre(app& a, const Ns& dt) override; + void update_post(app&, const Ns&) override {} struct pending_s { @@ -144,7 +144,7 @@ void path_test::draw_overlay(app& a) } } -void path_test::update_pre(app& a) +void path_test::update_pre(app& a, const Ns&) { if (!has_pending) return; @@ -169,11 +169,6 @@ void path_test::update_pre(app& a) }; } -void path_test::update_post(app& a) -{ - (void)a; -} - void path_test::draw_ui(app&, float) { constexpr ImGuiTableFlags table_flags = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_ScrollY; |