You.i Engine
YiRadioGroupView.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_RADIO_GROUP_VIEW_H_
3 #define _YI_RADIO_GROUP_VIEW_H_
4 
5 #include "view/YiSceneView.h"
6 
17 {
18 public:
19 
21  virtual ~CYIRadioGroupView();
22 
23  virtual bool Init() override;
24 
29  void RegisterChildren();
30 
31 
36 
41  void SelectButton(const CYIString &rButtonName);
42 
43 protected:
44  void OnButtonToggled(bool bOn, int32_t uID);
45 
47 };
48 
49 
52 #endif // _YI_RADIO_GROUP_VIEW_H_
virtual bool Init() override
virtual ~CYIRadioGroupView()
The base class for all view types. Views are containers of renderable elements that often define inte...
Definition: YiSceneView.h:47
void OnButtonToggled(bool bOn, int32_t uID)
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
void SelectButton(const CYIString &rButtonName)
CYISignal< const CYIString & > ButtonSelected
Definition: YiRadioGroupView.h:35
CYIRadioGroupView is a view that contains toggled button children, ensuring only one of them is ON at...
Definition: YiRadioGroupView.h:16