Fix IsGestureDetected and formatting
This commit is contained in:
parent
71f57503f9
commit
dc5335038a
6 changed files with 24 additions and 25 deletions
|
|
@ -783,8 +783,7 @@ namespace Raylib_cs
|
||||||
|
|
||||||
/// <summary>Check if a gesture have been detected</summary>
|
/// <summary>Check if a gesture have been detected</summary>
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
[return: MarshalAs(UnmanagedType.I1)]
|
public static extern CBool IsGestureDetected(Gesture gesture);
|
||||||
public static extern bool IsGestureDetected(Gesture gesture);
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>Get latest detected gesture</summary>
|
/// <summary>Get latest detected gesture</summary>
|
||||||
|
|
@ -1323,7 +1322,7 @@ namespace Raylib_cs
|
||||||
{
|
{
|
||||||
fixed (byte* p = text)
|
fixed (byte* p = text)
|
||||||
{
|
{
|
||||||
ImageDrawText(ref dst, p, x,y,fontSize,color);
|
ImageDrawText(ref dst, p, x, y, fontSize, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1629,7 +1628,7 @@ namespace Raylib_cs
|
||||||
{
|
{
|
||||||
fixed (byte* p2 = append)
|
fixed (byte* p2 = append)
|
||||||
{
|
{
|
||||||
TextAppend(p1,p2, &position);
|
TextAppend(p1, p2, &position);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue