Sfoglia il codice sorgente

Fixed typo on return type

marco.bellan 9 anni fa
parent
commit
ee7c0beffe

+ 1 - 1
Source/SBansheeEditor/Include/BsScriptGUIFloatField.h

@@ -47,7 +47,7 @@ namespace BansheeEngine
 		static void internal_setTint(ScriptGUIFloatField* nativeInstance, Color* color);
 		static void internal_setRange(ScriptGUIFloatField* nativeInstance, float min, float max);
 		static void internal_setStep(ScriptGUIFloatField* nativeInstance, float step);
-		static INT32 internal_getStep(ScriptGUIFloatField* nativeInstance);
+		static float internal_getStep(ScriptGUIFloatField* nativeInstance);
 
 		typedef void(__stdcall *OnChangedThunkDef) (MonoObject*, float, MonoException**);
 		typedef void(__stdcall *OnConfirmedThunkDef) (MonoObject*, MonoException**);

+ 1 - 1
Source/SBansheeEditor/Source/BsScriptGUIFloatField.cpp

@@ -104,7 +104,7 @@ namespace BansheeEngine
 		floatField->setStep(step);
 	}
 
-	INT32 ScriptGUIFloatField::internal_getStep(ScriptGUIFloatField* nativeInstance)
+	float ScriptGUIFloatField::internal_getStep(ScriptGUIFloatField* nativeInstance)
 	{
 		GUIFloatField* floatField = (GUIFloatField*)nativeInstance->getGUIElement();
 		return floatField->getStep();