Commit Graph
8 Commits
Author SHA1 Message Date
sani7 76b00b6108 UI tab widget
Adds bounds checks to `visible()` and `tab_name()` methods
2026-02-14 14:32:20 +01:00
sani7 239c4f8f94 Fix clazy warning
reference instead of copy
2026-02-14 14:32:19 +01:00
sani7 d0c392ca0e Guards against out-of-bounds access in tab widget
Adds bounds checking to `set_selected`, `set_visible`, and
`set_tab_name` methods to prevent out-of-bounds access on the tab
data structures.
Removes unnecessary resizing logic as tab size is defined in constructor.
2026-02-14 14:32:19 +01:00
sani7 baaf33361e Renames signal for consistency
Renames the 'selected' signal to 'changed' for better
consistency with other signals and to accurately reflect the signal's purpose.
2026-02-14 14:32:19 +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 faac84821c tab widget
working prototype
2026-02-14 14:32:07 +01:00
sani7 819a08abc1 Lint 2026-02-14 14:32:06 +01:00
sani7 b98330ba76 tab widget
started working on implementation
2026-02-14 14:32:06 +01:00