Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBGenericStringItem item for TBGenericStringItemSource. More...
#include <tb_select_item.h>
Public Member Functions | |
TBGenericStringItem (TBStr str) | |
id (id) | |
skin_image (img_id) | |
tag (val) | |
TBGenericStringItem (TBStr str, TBSelectItemSource *sub_source, TBID img_id=def_skin) | |
const TBGenericStringItem & | operator= (const TBGenericStringItem &other)=delete |
TBGenericStringItem (const TBGenericStringItem &other)=delete | |
void | SetSkinImage (const TBID &image) |
Public Attributes | |
__pad0__: str(str) | |
TBStr | str |
TBID | id |
TBID | skin_image = def_skin |
TBSelectItemSource * | sub_source = nullptr |
WIDGET_STATE | state = WIDGET_STATE_NONE |
TBValue | tag |
This value is free to use for anything. More... | |
TBGenericStringItem item for TBGenericStringItemSource.
It has a string and may have a skin image and sub item source.
TBValue tb::TBGenericStringItem::tag |
This value is free to use for anything.
It's not used internally.