Lysa UI  0.0
Lysa UI —UI components for the Lysa Engine
TabBar::Tab Struct Reference

Detailed Description

A tab of the bar.

Public Attributes

std::shared_ptr< Widgetrow
 
std::shared_ptr< Widgetlabel
 Widget holding the content of the tab, gives the tab rectangle. More...
 
std::shared_ptr< Widgetleading
 Label of the tab. More...
 
std::shared_ptr< Widgettrailing
 Optional widget displayed at the left of the label, or nullptr. More...
 
std::shared_ptr< SelectionleadingHighlight
 Optional widget displayed at the right of the label, or nullptr. More...
 
std::shared_ptr< SelectiontrailingHighlight
 
float width
 

Member Data Documentation

std::shared_ptr<Widget> label

Widget holding the content of the tab, gives the tab rectangle.

std::shared_ptr<Widget> leading

Label of the tab.

std::shared_ptr<Selection> leadingHighlight

Optional widget displayed at the right of the label, or nullptr.

std::shared_ptr<Widget> row
std::shared_ptr<Widget> trailing

Optional widget displayed at the left of the label, or nullptr.

std::shared_ptr<Selection> trailingHighlight
float width