added outlined option for box

This commit is contained in:
2026-05-23 11:56:52 +03:00
parent 39d0d0683d
commit 56ed7e2f6e
7 changed files with 59 additions and 37 deletions
+1
View File
@@ -31,6 +31,7 @@ namespace imgui_desktop::gui
// Box
omath::Color m_box_color{1.f, 1.f, 1.f, 1.f};
omath::Color m_box_fill{0.f, 0.f, 0.f, 0.f};
omath::Color m_box_outline{0.f, 0.f, 0.f, 0.f};
float m_box_thickness = 1.f, m_corner_ratio = 0.2f;
bool m_show_box = true, m_show_cornered_box = true, m_show_dashed_box = false;