You.i Engine
YiRadioGroupView.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. 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:
20  virtual ~CYIRadioGroupView();
21 
22  virtual bool Init() override;
23 
28  void RegisterChildren();
29 
34 
39  void SelectButton(const CYIString &rButtonName);
40 
41 protected:
42  void OnButtonToggled(bool on, int32_t id);
43 
45 };
46 
49 #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
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
void SelectButton(const CYIString &rButtonName)
CYISignal< const CYIString & > ButtonSelected
Definition: YiRadioGroupView.h:33
CYIRadioGroupView is a view that contains toggled button children, ensuring only one of them is ON at...
Definition: YiRadioGroupView.h:16
void OnButtonToggled(bool on, int32_t id)
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257
Signals and slots are a thread-safe and flexible communication framework that will allow various obje...
Definition: YiSignal.h:168