raygui: Revert property parameters back to i32s (#131)
This commit is contained in:
parent
a087398387
commit
855ab9cd70
3 changed files with 8 additions and 8 deletions
|
|
@ -513,13 +513,13 @@ pub fn guiGetFont() Font {
|
|||
}
|
||||
|
||||
/// Set one style property
|
||||
pub fn guiSetStyle(control: GuiState, property: GuiControlProperty, value: i32) void {
|
||||
cdef.GuiSetStyle(control, property, @as(c_int, value));
|
||||
pub fn guiSetStyle(control: GuiControl, property: i32, value: i32) void {
|
||||
cdef.GuiSetStyle(control, @as(c_int, property), @as(c_int, value));
|
||||
}
|
||||
|
||||
/// Get one style property
|
||||
pub fn guiGetStyle(control: GuiState, property: GuiControlProperty) i32 {
|
||||
return @as(i32, cdef.GuiGetStyle(control, property));
|
||||
pub fn guiGetStyle(control: GuiControl, property: i32) i32 {
|
||||
return @as(i32, cdef.GuiGetStyle(control, @as(c_int, property)));
|
||||
}
|
||||
|
||||
/// Load style file over global style variable (.rgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue