| 12345678910111213141516171819202122232425262728293031323334353637 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsScriptEnginePrerequisites.h"
- #include "Wrappers/GUI/BsScriptGUIElement.h"
- namespace bs
- {
- /** @addtogroup ScriptInteropEngine
- * @{
- */
- /** 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);
- };
- /** @} */
- }
|