|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What a tab bar keeps across frames (element data store, by bar ID): its keyboard navigation, and the sizes it measured, in pixels, that decide which tabs fit. More...
#include <gui_controls/gui_docking_types.h>
Public Attributes | |
| int | tabCount = 0 |
| last frame's | |
| int | focusIndex = -1 |
| the tab that takes focus as it's built, after an arrow key | |
| TabBarLayout | layout = TabBarLayout::OneRow |
| for a bar whose caller doesn't keep one | |
| std::vector< int32_t > | widths |
| by tab index; a hidden tab keeps its last width | |
| int32_t | barWidth = 0 |
| the bar's inner width | |
| int32_t | overflowWidth = 0 |
| the overflow button's width | |
| int32_t | trailingWidth = 0 |
| what the caller adds after the tabs, always shown | |
What a tab bar keeps across frames (element data store, by bar ID): its keyboard navigation, and the sizes it measured, in pixels, that decide which tabs fit.
| int tachyon::TabBarMemory::tabCount = 0 |
last frame's
| int tachyon::TabBarMemory::focusIndex = -1 |
the tab that takes focus as it's built, after an arrow key
| TabBarLayout tachyon::TabBarMemory::layout = TabBarLayout::OneRow |
for a bar whose caller doesn't keep one
| std::vector<int32_t> tachyon::TabBarMemory::widths |
by tab index; a hidden tab keeps its last width
| int32_t tachyon::TabBarMemory::barWidth = 0 |
the bar's inner width
| int32_t tachyon::TabBarMemory::overflowWidth = 0 |
the overflow button's width
| int32_t tachyon::TabBarMemory::trailingWidth = 0 |
what the caller adds after the tabs, always shown