diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-07-24 12:38:28 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-07-24 12:38:28 -0400 |
| commit | 8dbacba532e05d76325392d85a75906f2de12350 (patch) | |
| tree | d7dd4e847af200ff407740ca1d3c26dfb1682098 /editor | |
| parent | 13bb74998afda740bf61df8ddd14c76539937a3b (diff) | |
pke: ui: update state on mouse hover
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor.cpp | 2 |
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))) { |
