Review bindings
- All raylib structs are now blittable. - Fixing some incorrect functions(types, naming etc). - Remove netfx.props.
This commit is contained in:
parent
fb37faaeec
commit
e49ca5b92c
6 changed files with 64 additions and 108 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue