#include <CUI_RadioItem.h>
Inheritance diagram for CUI_RadioItem:
Public Member Functions | |
CUI_RadioItem (const char *text=NULL, unsigned int itemID=0, IUI_Shader *icon=NULL, unsigned short flags=UI_ITEM_BUTTON) | |
constructor | |
virtual bool | CreateElements (CUI_UI *ui, CUI_Frame *parent, IUI_Shader *itemShader, IUI_Shader *hoverShader, IUI_Border *itemBorder, IUI_Font *font) |
Create the elements and add them to the ui and the parent. | |
virtual CUI_Button * | GetButton () |
get the button which represents this list item | |
Protected Attributes | |
CUI_MultipleStateButton * | m_button |
button is a multiple state button now |
The only difference is in the CreateElements member function.
This is a good example of how to extend CUI_ListItem for custom lists.
Recognized Flags:
UI_ITEM_INACTIVE
UI_ITEM_DISABLED
|
get the button which represents this list item
Need to have it use the local m_button, instead of the one in CUI_ListItem. Reimplemented from CUI_ListItem. |