diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-03 17:28:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-03 20:34:02 +0100 |
commit | f947c96ba400784090aa36c5bde469c92843083d (patch) | |
tree | 0784f1062e5bea931dfe757cf7ac74c680e50f55 /editor/app.hpp | |
parent | 8b5ad57aefe1d4bdee5334b194f63168fbe8581e (diff) |
editor: add rendering clickables
Diffstat (limited to 'editor/app.hpp')
-rw-r--r-- | editor/app.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index 526582ae..ada61331 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -104,6 +104,7 @@ private: void do_escape(); void draw_collision_boxes(); + void draw_clickables(); void draw_editor_pane(float main_menu_height); void draw_inspector(); bool check_inspector_exists(popup_target p); @@ -148,8 +149,10 @@ private: std::vector<popup_target> inspectors; cursor_state cursor; popup_target _popup_target; - bool _enable_render_bboxes : 1 = false; - bool _pending_popup : 1 = false; + + bool _pending_popup : 1 = false; + bool _render_bboxes : 1 = false; + bool _render_clickables : 1 = false; static const StringView SCENERY_POPUP_NAME; }; |