mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
raygui: change c.int to their correct enum types
This commit is contained in:
Vendored
+4
-4
@@ -236,8 +236,8 @@ foreign lib {
|
|||||||
|
|
||||||
// Style set/get functions
|
// Style set/get functions
|
||||||
|
|
||||||
GuiSetStyle :: proc(control: c.int, property: c.int, value: c.int) --- // Set one style property
|
GuiSetStyle :: proc(control: GuiControl, property: GuiStyleProp, value: c.int) --- // Set one style property
|
||||||
GuiGetStyle :: proc(control: c.int, property: c.int) -> c.int --- // Get one style property
|
GuiGetStyle :: proc(control: GuiControl, property: GuiStyleProp) -> c.int --- // Get one style property
|
||||||
|
|
||||||
// Styles loading functions
|
// Styles loading functions
|
||||||
|
|
||||||
@@ -252,11 +252,11 @@ foreign lib {
|
|||||||
|
|
||||||
// Icons functionality
|
// Icons functionality
|
||||||
|
|
||||||
GuiIconText :: proc(iconId: c.int, text: cstring) -> cstring --- // Get text with icon id prepended (if supported)
|
GuiIconText :: proc(iconId: GuiIconName, text: cstring) -> cstring --- // Get text with icon id prepended (if supported)
|
||||||
GuiSetIconScale :: proc(scale: c.int) --- // Set default icon drawing size
|
GuiSetIconScale :: proc(scale: c.int) --- // Set default icon drawing size
|
||||||
GuiGetIcons :: proc() -> [^]u32 --- // Get raygui icons data pointer
|
GuiGetIcons :: proc() -> [^]u32 --- // Get raygui icons data pointer
|
||||||
GuiLoadIcons :: proc(fileName: cstring, loadIconsName: bool) -> [^]cstring --- // Load raygui icons file (.rgi) into internal icons data
|
GuiLoadIcons :: proc(fileName: cstring, loadIconsName: bool) -> [^]cstring --- // Load raygui icons file (.rgi) into internal icons data
|
||||||
GuiDrawIcon :: proc(iconId: c.int, posX: c.int, posY: c.int, pixelSize: c.int, color: Color) --- // Draw icon using pixel size at specified position
|
GuiDrawIcon :: proc(iconId: GuiIconName, posX, posY: c.int, pixelSize: c.int, color: Color) --- // Draw icon using pixel size at specified position
|
||||||
|
|
||||||
|
|
||||||
// Controls
|
// Controls
|
||||||
|
|||||||
Reference in New Issue
Block a user