summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-07-24 12:38:28 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-07-24 12:38:28 -0400
commit8dbacba532e05d76325392d85a75906f2de12350 (patch)
treed7dd4e847af200ff407740ca1d3c26dfb1682098 /editor
parent13bb74998afda740bf61df8ddd14c76539937a3b (diff)
pke: ui: update state on mouse hover
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 24ffe27..75bc155 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -1279,6 +1279,8 @@ void RecordImGuiUIEdit() {
}
ImGui::EndDisabled();
+ ImGui::Text("state: %lu", static_cast<PKE_UI_BOX_STATE_FLAG_T>(selected_ui_box->state_flags));
+
ImGui::Separator();
if (ImGui::CheckboxFlags("flag: Center Horizontal", reinterpret_cast<PKE_UI_BOX_FLAG_T*>(&selected_ui_box->flags), static_cast<PKE_UI_BOX_FLAG_T>(PKE_UI_BOX_FLAG_CENTER_HORIZONTAL))) {