| 123456789101112131415161718192021222324252627 |
- #pragma once
- #include "BsScriptEditorPrerequisites.h"
- #include "BsScriptGUIElement.h"
- namespace BansheeEngine
- {
- class BS_SCR_BED_EXPORT ScriptGUIComponentFoldout : public TScriptGUIElement<ScriptGUIComponentFoldout>
- {
- public:
- SCRIPT_OBJ(BansheeEditorAssemblyName, "BansheeEditor", "GUIComponentFoldout")
- private:
- static void internal_createInstance(MonoObject* instance, MonoObject* content, MonoString* style, MonoArray* guiOptions);
- static void internal_setContent(ScriptGUIComponentFoldout* nativeInstance, MonoObject* content);
- static void internal_setExpanded(ScriptGUIComponentFoldout* nativeInstance, bool expanded);
- static void internal_getIsExpanded(ScriptGUIComponentFoldout* nativeInstance, bool* isExpanded);
- static void onToggled(MonoObject* instance, bool expanded);
- ScriptGUIComponentFoldout(MonoObject* instance, GUIComponentFoldout* foldout);
- typedef void (__stdcall *OnToggledThunkDef) (MonoObject*, bool, MonoException**);
- static OnToggledThunkDef onToggledThunk;
- };
- }
|