Commit Graph
7 Commits
Author SHA1 Message Date
sani7 8b1db7af11 UI
optimize by passing by reference
optimize by using std::move
2026-02-14 14:32:47 +01:00
sani7 239c4f8f94 Fix clazy warning
reference instead of copy
2026-02-14 14:32:19 +01:00
sani7 2a76e13305 Removes JSON constructor from UI elements
This fixes the error: clang:optin.cplusplus.VirtualCall
When virtual methods are called during construction and destruction the polymorphism is restricted to the class that’s being constructed or destructed because the more derived contexts are either not yet initialized or already destructed.
2026-02-14 14:32:16 +01:00
sani7 efcb183682 ui_items
Remove Text_size
Add setup_item to configure if an item uses text, fg color and bg color.
2026-02-14 14:32:08 +01:00
sani7 7386a12f1b update ui_combobox
remove ui_x_boxes and put the code in ui_combobox
2026-02-14 14:32:03 +01:00
sani7 7c91a64d71 convert selected
move from string to index to reduce data size
2026-02-14 14:32:03 +01:00
sani7 ce9c88ad04 rename ui 2026-02-14 14:31:10 +01:00