| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "BsScriptEnginePrerequisites.h"
- #include "BsScriptGUIElement.h"
- namespace BansheeEngine
- {
- /**
- * @brief Interop class between C++ & CLR for GUIFixedSpace.
- */
- class BS_SCR_BE_EXPORT ScriptGUIFixedSpace : public TScriptGUIElementBase<ScriptGUIFixedSpace>
- {
- public:
- SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "GUIFixedSpace")
- private:
- ScriptGUIFixedSpace(MonoObject* instance, GUIFixedSpace* fixedSpace);
- /**
- * @copydoc ScriptGUIElementBaseTBase::destroy
- */
- void destroy() override;
- GUIFixedSpace* mFixedSpace;
- bool mIsDestroyed;
- /************************************************************************/
- /* CLR HOOKS */
- /************************************************************************/
- static void internal_createInstance(MonoObject* instance, UINT32 size);
- static void internal_setSize(ScriptGUIFixedSpace* nativeInstance, UINT32 size);
- };
- }
|