2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Review bindings

- All raylib structs are now blittable.
- Fixing some incorrect functions(types, naming etc).
- Remove netfx.props.
This commit is contained in:
2021-03-25 20:32:31 +00:00
parent fb37faaeec
commit e49ca5b92c
6 changed files with 64 additions and 108 deletions

View File

@ -8,7 +8,7 @@ using Raylib_cs;
namespace Raygui_cs
{
// Style property
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
[StructLayout(LayoutKind.Sequential)]
struct GuiStyleProp
{
ushort controlId;
@ -412,11 +412,11 @@ namespace Raygui_cs
// Color Bar Alpha control
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern float GuiColorBarAlpha(Rectangle bounds, float alpha);
public static extern float GuiColorBarAlpha(Rectangle bounds, float alpha);
// Color Bar Hue control
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern float GuiColorBarHue(Rectangle bounds, float value);
public static extern float GuiColorBarHue(Rectangle bounds, float value);
// Styles loading functions