BsScriptGUIVector3Field.generated.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //************** Copyright (c) 2016-2019 Marko Pintera ([email protected]). All rights reserved. *******************//
  3. #pragma once
  4. #include "BsScriptEditorPrerequisites.h"
  5. #include "Wrappers/GUI/BsScriptGUIElement.h"
  6. #include "Math/BsVector3.h"
  7. #include "../../bsf/Source/Foundation/bsfCore/Utility/BsCommonTypes.h"
  8. #include "../../bsf/Source/Foundation/bsfCore/Localization/BsHString.h"
  9. namespace bs
  10. {
  11. struct __GUIContentInterop;
  12. class GUIVector3Field;
  13. class BS_SCR_BED_EXPORT ScriptGUIVector3Field : public TScriptGUIElement<ScriptGUIVector3Field>
  14. {
  15. public:
  16. SCRIPT_OBJ(EDITOR_ASSEMBLY, EDITOR_NS, "GUIVector3Field")
  17. ScriptGUIVector3Field(MonoObject* managedInstance, GUIVector3Field* value);
  18. private:
  19. void onValueChanged(const Vector3& p0);
  20. void onComponentChanged(float p0, VectorComponent p1);
  21. void onComponentFocusChanged(bool p0, VectorComponent p1);
  22. void onConfirm(VectorComponent p0);
  23. typedef void(BS_THUNKCALL *onValueChangedThunkDef) (MonoObject*, MonoObject* p0, MonoException**);
  24. static onValueChangedThunkDef onValueChangedThunk;
  25. typedef void(BS_THUNKCALL *onComponentChangedThunkDef) (MonoObject*, float p0, VectorComponent p1, MonoException**);
  26. static onComponentChangedThunkDef onComponentChangedThunk;
  27. typedef void(BS_THUNKCALL *onComponentFocusChangedThunkDef) (MonoObject*, bool p0, VectorComponent p1, MonoException**);
  28. static onComponentFocusChangedThunkDef onComponentFocusChangedThunk;
  29. typedef void(BS_THUNKCALL *onConfirmThunkDef) (MonoObject*, VectorComponent p0, MonoException**);
  30. static onConfirmThunkDef onConfirmThunk;
  31. static void Internal_getValue(ScriptGUIVector3Field* thisPtr, Vector3* __output);
  32. static void Internal_setValue(ScriptGUIVector3Field* thisPtr, Vector3* value);
  33. static bool Internal_hasInputFocus(ScriptGUIVector3Field* thisPtr);
  34. static void Internal_setInputFocus(ScriptGUIVector3Field* thisPtr, VectorComponent component, bool focus);
  35. static void Internal_create(MonoObject* managedInstance, __GUIContentInterop* labelContent, uint32_t labelWidth, MonoString* style);
  36. static void Internal_create0(MonoObject* managedInstance, __GUIContentInterop* labelContent, MonoString* style);
  37. static void Internal_create1(MonoObject* managedInstance, MonoObject* labelText, uint32_t labelWidth, MonoString* style);
  38. static void Internal_create2(MonoObject* managedInstance, MonoObject* labelText, MonoString* style);
  39. static void Internal_create3(MonoObject* managedInstance, MonoString* style);
  40. };
  41. }