The only kind of row still supported by the menu class. More...
#include <menu.hpp>
Public Attributes | |
int | indent_level |
An amount of blank space at the start of the row, measured in tab-stops (so 1 is around 4 en-widths) More... | |
std::string | icon |
If non-empty, a picture to display before the text. More... | |
std::string | text |
The only kind of row still supported by the menu class.
If comparing to 1.17.24 or before, these three items were held as a single string, thus a single member of the "fields" and a single "column" of the multi-column support.
std::string gui::indented_menu_item::icon |
If non-empty, a picture to display before the text.
Definition at line 37 of file menu.hpp.
Referenced by gui::menu::style::item_size().
int gui::indented_menu_item::indent_level |
An amount of blank space at the start of the row, measured in tab-stops (so 1 is around 4 en-widths)
Definition at line 35 of file menu.hpp.
Referenced by gui::menu::style::item_size().
std::string gui::indented_menu_item::text |
Definition at line 38 of file menu.hpp.
Referenced by gui::menu::style::item_size().