Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CUI_RadioItem.h

00001 
00015 #ifndef CUI_RADIOITEM_H
00016 #define CUI_RADIOITEM_H
00017 
00018 #include "UI_Lib.h"
00019 #include "UI_types.h"
00020 
00021 // all this crap to use button
00022 #include "IUI_Font.h"
00023 #include "CUI_CoordSys.h"
00024 #include "CUI_Widget.h"
00025 #include "CUI_MultipleStateButton.h"
00026 #include "CUI_ListItem.h"
00027 
00029 #define UI_ITEM_INACTIVE        0x0001
00030 
00031 #define UI_ITEM_DISABLED        0x0002
00032 
00034 
00041 class GLGUI_ENTRY CUI_RadioItem : public CUI_ListItem
00042 {
00043 public:
00045         CUI_RadioItem( const char *text = NULL, unsigned int itemID = 0,
00046                                         IUI_Shader *icon = NULL, 
00047                                         unsigned short flags = UI_ITEM_BUTTON );
00048 
00050         virtual bool CreateElements( CUI_UI *ui, CUI_Frame *parent,
00051                                                                 IUI_Shader *itemShader, IUI_Shader *hoverShader,
00052                                                                 IUI_Border *itemBorder, IUI_Font *font );
00053 
00055 
00059         virtual CUI_Button *GetButton()
00060         { return m_button; }
00061 
00062 protected:
00063 
00065         CUI_MultipleStateButton *m_button;
00066 };
00067 
00068 #endif

Generated on Mon Sep 29 23:07:02 2003 for glGUI by doxygen 1.3.4