| 12345678910111213141516171819202122232425 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsGUIFieldBase.h"
- namespace BansheeEditor
- {
- class BS_ED_EXPORT GUIToggleField : public TGUIField<GUIToggleField>
- {
- public:
- static const CM::String& getGUITypeName();
- GUIToggleField(const PrivatelyConstruct& dummy, const BS::GUIContent& labelContent, CM::UINT32 labelWidth,
- const CM::String& labelStyle, const CM::String& toggleStyle, const BS::GUILayoutOptions& layoutOptions, bool withLabel);
- bool getValue() const;
- void setValue(bool value);
- protected:
- virtual ~GUIToggleField() { }
- protected:
- BS::GUIToggle* mToggle;
- };
- }
|