Browse Source

Adding whitespaces to detach procedure declaration from category comments

Guilherme Fernandes 2 years ago
parent
commit
d4cf103676
1 changed files with 9 additions and 0 deletions
  1. 9 0
      vendor/raylib/raygui.odin

+ 9 - 0
vendor/raylib/raygui.odin

@@ -210,6 +210,7 @@ SCROLLBAR_RIGHT_SIDE :: 1
 @(default_calling_convention="c")
 @(default_calling_convention="c")
 foreign lib {
 foreign lib {
     // Global gui state control functions
     // Global gui state control functions
+    
     GuiEnable   :: proc() ---                                                                                   // Enable gui controls (global state)
     GuiEnable   :: proc() ---                                                                                   // Enable gui controls (global state)
     GuiLock     :: proc() ---                                                                                   // Lock gui controls (global state)
     GuiLock     :: proc() ---                                                                                   // Lock gui controls (global state)
     GuiDisable  :: proc() ---                                                                                   // Disable gui controls (global state)
     GuiDisable  :: proc() ---                                                                                   // Disable gui controls (global state)
@@ -220,23 +221,28 @@ foreign lib {
     GuiGetState :: proc() -> c.int ---                                                                          // Get gui state (global state)
     GuiGetState :: proc() -> c.int ---                                                                          // Get gui state (global state)
 
 
     // Font set/get functions
     // Font set/get functions
+    
     GuiSetFont :: proc(font: Font) ---                                                                          // Set gui custom font (global state)
     GuiSetFont :: proc(font: Font) ---                                                                          // Set gui custom font (global state)
     GuiGetFont :: proc() -> Font ---                                                                            // Get gui custom font (global state)
     GuiGetFont :: proc() -> Font ---                                                                            // Get gui custom font (global state)
 
 
     // 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: c.int, property: c.int, value: c.int) ---                                      // Set one style property
     GuiGetStyle :: proc(control: c.int, property: c.int) -> c.int ---                                           // Get one style property
     GuiGetStyle :: proc(control: c.int, property: c.int) -> c.int ---                                           // Get one style property
 
 
     // Styles loading functions
     // Styles loading functions
+    
     GuiLoadStyle        :: proc(fileName: cstring) ---                                                          // Load style file over global style variable (.rgs)
     GuiLoadStyle        :: proc(fileName: cstring) ---                                                          // Load style file over global style variable (.rgs)
     GuiLoadStyleDefault :: proc() ---                                                                           // Load style default over global style
     GuiLoadStyleDefault :: proc() ---                                                                           // Load style default over global style
 
 
     // Tooltips management functions
     // Tooltips management functions
+    
     GuiEnableTooltip    :: proc() ---                                                                           // Enable gui tooltips (global state)
     GuiEnableTooltip    :: proc() ---                                                                           // Enable gui tooltips (global state)
     GuiDisableTooltip   :: proc() ---                                                                           // Disable gui tooltips (global state)
     GuiDisableTooltip   :: proc() ---                                                                           // Disable gui tooltips (global state)
     GuiSetTooltip       :: proc(tooltip: cstring) ---                                                           // Set tooltip string
     GuiSetTooltip       :: proc(tooltip: cstring) ---                                                           // Set tooltip string
 
 
     // Icons functionality
     // Icons functionality
+    
     GuiIconText :: proc(iconId: c.int, text: cstring) -> cstring ---                                            // Get text with icon id prepended (if supported)
     GuiIconText :: proc(iconId: c.int, text: cstring) -> cstring ---                                            // Get text with icon id prepended (if supported)
     // #if !defined(RAYGUI_NO_ICONS)
     // #if !defined(RAYGUI_NO_ICONS)
     GuiSetIconScale :: proc(scale: c.int) ---                                                                   // Set default icon drawing size
     GuiSetIconScale :: proc(scale: c.int) ---                                                                   // Set default icon drawing size
@@ -249,6 +255,7 @@ foreign lib {
     // Controls
     // Controls
     //----------------------------------------------------------------------------------------------------------
     //----------------------------------------------------------------------------------------------------------
     // Container/separator controls, useful for controls organization
     // Container/separator controls, useful for controls organization
+    
     GuiWindowBox    :: proc(bounds: Rectangle, title: cstring) -> c.int ---                               // Window Box control, shows a window that can be closed
     GuiWindowBox    :: proc(bounds: Rectangle, title: cstring) -> c.int ---                               // Window Box control, shows a window that can be closed
     GuiGroupBox     :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Group Box control with text name
     GuiGroupBox     :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Group Box control with text name
     GuiLine         :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Line separator control, could contain text
     GuiLine         :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Line separator control, could contain text
@@ -257,6 +264,7 @@ foreign lib {
     GuiScrollPanel  :: proc(bounds: Rectangle, text: cstring, content: Rectangle, scroll: ^Vector2, view: ^Rectangle) -> c.int --- // Scroll Panel control
     GuiScrollPanel  :: proc(bounds: Rectangle, text: cstring, content: Rectangle, scroll: ^Vector2, view: ^Rectangle) -> c.int --- // Scroll Panel control
 
 
     // Basic controls set
     // Basic controls set
+    
     GuiLabel        :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Label control, shows text
     GuiLabel        :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Label control, shows text
     GuiButton       :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Button control, returns true when clicked
     GuiButton       :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Button control, returns true when clicked
     GuiLabelButton  :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Label button control, show true when clicked
     GuiLabelButton  :: proc(bounds: Rectangle, text: cstring) -> c.int ---                                // Label button control, show true when clicked
@@ -278,6 +286,7 @@ foreign lib {
     GuiGrid         :: proc(bounds: Rectangle, text: cstring, spacing: f32, subdivs: c.int, mouseCell: ^Vector2) --- // Grid control, returns mouse cell position
     GuiGrid         :: proc(bounds: Rectangle, text: cstring, spacing: f32, subdivs: c.int, mouseCell: ^Vector2) --- // Grid control, returns mouse cell position
 
 
     // Advance controls set
     // Advance controls set
+    
     GuiListView         :: proc(bounds: Rectangle, text: cstring, scrollIndex: ^c.int, active: ^c.int) -> c.int --- // List View control, returns selected list item index
     GuiListView         :: proc(bounds: Rectangle, text: cstring, scrollIndex: ^c.int, active: ^c.int) -> c.int --- // List View control, returns selected list item index
     GuiListViewEx       :: proc(bounds: Rectangle, text:[^]cstring, count: c.int, scrollIndex: ^c.int, active: ^c.int, focus: ^c.int) -> c.int --- // List View with extended parameters
     GuiListViewEx       :: proc(bounds: Rectangle, text:[^]cstring, count: c.int, scrollIndex: ^c.int, active: ^c.int, focus: ^c.int) -> c.int --- // List View with extended parameters
     GuiMessageBox       :: proc(bounds: Rectangle, title: cstring, message: cstring, buttons: cstring) -> c.int --- // Message Box control, displays a message
     GuiMessageBox       :: proc(bounds: Rectangle, title: cstring, message: cstring, buttons: cstring) -> c.int --- // Message Box control, displays a message