Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBGenericStringItem Class Reference

TBGenericStringItem item for TBGenericStringItemSource. More...

#include <tb_select_item.h>

Inheritance diagram for tb::TBGenericStringItem:
tb::TBGenericSeparatorItem

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 TBGenericStringItemoperator= (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
 
TBSelectItemSourcesub_source = nullptr
 
WIDGET_STATE state = WIDGET_STATE_NONE
 
TBValue tag
 This value is free to use for anything. More...
 

Detailed Description

TBGenericStringItem item for TBGenericStringItemSource.

It has a string and may have a skin image and sub item source.

Member Data Documentation

TBValue tb::TBGenericStringItem::tag

This value is free to use for anything.

It's not used internally.


The documentation for this class was generated from the following file: