Browse Source

Merge pull request #4000 from lxmcf/master

[vendor:raylib] Remove GuiStyleProp
Laytan 1 year ago
parent
commit
8a9901aeab
1 changed files with 2 additions and 9 deletions
  1. 2 9
      vendor/raylib/raygui.odin

+ 2 - 9
vendor/raylib/raygui.odin

@@ -28,13 +28,6 @@ when ODIN_OS == .Windows {
 
 
 RAYGUI_VERSION :: "4.0"
 RAYGUI_VERSION :: "4.0"
 
 
-// Style property
-GuiStyleProp :: struct {
-	controlId:     u16,
-	propertyId:    u16,
-	propertyValue: c.int,
-}
-
 // Gui control state
 // Gui control state
 GuiState :: enum c.int {
 GuiState :: enum c.int {
 	STATE_NORMAL = 0,
 	STATE_NORMAL = 0,
@@ -236,8 +229,8 @@ foreign lib {
 	
 	
 	// Style set/get functions
 	// Style set/get functions
 	
 	
-	GuiSetStyle         :: proc(control: GuiControl, property: GuiStyleProp, value: c.int) ---                // Set one style property
-	GuiGetStyle         :: proc(control: GuiControl, property: GuiStyleProp) -> c.int ---                     // Get one style property
+	GuiSetStyle         :: proc(control: GuiControl, property: GuiControlProperty, value: c.int) ---          // Set one style property
+	GuiGetStyle         :: proc(control: GuiControl, property: GuiControlProperty) -> c.int ---               // Get one style property
 	
 	
 	// Styles loading functions
 	// Styles loading functions