@@ -114,7 +114,7 @@ module Control : sig
114114 | StatusBar of prop
115115end
116116
117- (* * {1 State modification functions } *)
117+ (* * {1 State modification functions} *)
118118
119119val enable : unit -> unit
120120(* * [enable ()] Enable gui controls (global state) *)
@@ -129,34 +129,36 @@ val unlock : unit -> unit
129129(* * [unlock ()] Unlock gui controls (global state) *)
130130
131131val fade : float -> unit
132- (* * [fade alpha] Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f *)
132+ (* * [fade alpha] Set gui controls alpha (global state), alpha goes from 0.0f to
133+ 1.0f *)
133134
134135val set_state : ControlState .t -> unit
135136(* * [set_state state] Set gui state (global state) *)
136137
137138val get_state : unit -> ControlState .t
138139(* * [get_state ()] Get gui state (global state) *)
139140
140- (* * {1 Font set/get functions } *)
141+ (* * {1 Font set/get functions} *)
141142
142143val set_font : Raylib.Font .t -> unit
143144(* * [set_font font] Set gui custom font (global state) *)
144145
145146val get_font : unit -> Raylib.Font .t
146147(* * [get_font ()] Get gui custom font (global state) *)
147148
148- (* * {1 Style set/get functions } *)
149+ (* * {1 Style set/get functions} *)
149150
150151val set_style : Control .t -> int -> unit
151152(* * [set_style control value] Set one style property *)
152153
153154val get_style : Control .t -> int
154155(* * [get_style control] Get one style property *)
155156
156- (* * {1 Container/separator controls, useful for controls organization } *)
157+ (* * {1 Container/separator controls, useful for controls organization} *)
157158
158159val window_box : Raylib.Rectangle .t -> string -> bool
159- (* * [window_box bounds title] Window Box control, shows a window that can be closed *)
160+ (* * [window_box bounds title] Window Box control, shows a window that can be
161+ closed *)
160162
161163val group_box : Raylib.Rectangle .t -> string -> unit
162164(* * [group_box bounds text] Group Box control with text name *)
@@ -174,7 +176,7 @@ val scroll_panel :
174176 Raylib.Rectangle .t
175177(* * [scroll_panel bounds content scroll] Scroll Panel control *)
176178
177- (* * {1 Basic controls set } *)
179+ (* * {1 Basic controls set} *)
178180
179181val label : Raylib.Rectangle .t -> string -> unit
180182(* * [label bounds text] Label control, shows text *)
@@ -186,19 +188,24 @@ val label_button : Raylib.Rectangle.t -> string -> bool
186188(* * [label_button bounds text] Label button control, show true when clicked *)
187189
188190val toggle : Raylib.Rectangle .t -> string -> bool -> bool
189- (* * [toggle bounds text active] Toggle Button control, returns true when active *)
191+ (* * [toggle bounds text active] Toggle Button control, returns true when active
192+ *)
190193
191194val toggle_group : Raylib.Rectangle .t -> string -> int -> int
192- (* * [toggle_group bounds text active] Toggle Group control, returns active toggle index *)
195+ (* * [toggle_group bounds text active] Toggle Group control, returns active
196+ toggle index *)
193197
194198val check_box : Raylib.Rectangle .t -> string -> bool -> bool
195- (* * [check_box bounds text checked] Check Box control, returns true when active *)
199+ (* * [check_box bounds text checked] Check Box control, returns true when active
200+ *)
196201
197202val combo_box : Raylib.Rectangle .t -> string -> int -> int
198- (* * [combo_box bounds text active] Combo Box control, returns selected item index *)
203+ (* * [combo_box bounds text active] Combo Box control, returns selected item
204+ index *)
199205
200206val dropdown_box : Raylib.Rectangle .t -> string -> int -> bool -> int * bool
201- (* * [dropdown_box bounds text active] Dropdown Box control, returns selected item, active *)
207+ (* * [dropdown_box bounds text active] Dropdown Box control, returns selected
208+ item, active *)
202209
203210val spinner :
204211 Raylib.Rectangle .t ->
@@ -208,7 +215,8 @@ val spinner :
208215 max :int ->
209216 bool ->
210217 int * bool
211- (* * [spinner bounds text valute ~min ~max edit_mode] Spinner control, returns selected value, edit_mode *)
218+ (* * [spinner bounds text valute ~min ~max edit_mode] Spinner control, returns
219+ selected value, edit_mode *)
212220
213221val value_box :
214222 Raylib.Rectangle .t ->
@@ -218,13 +226,16 @@ val value_box :
218226 max :int ->
219227 bool ->
220228 int * bool
221- (* * [value_box bounds text value ~min ~max edit_mode] Value Box control, updates input text with numbers, returns value, edit_mode *)
229+ (* * [value_box bounds text value ~min ~max edit_mode] Value Box control, updates
230+ input text with numbers, returns value, edit_mode *)
222231
223232val text_box : Raylib.Rectangle .t -> string -> bool -> string * bool
224- (* * [text_box bounds text edit_mode] Text Box control, returns text, edit_mode *)
233+ (* * [text_box bounds text edit_mode] Text Box control, returns text, edit_mode
234+ *)
225235
226236val text_box_multi : Raylib.Rectangle .t -> string -> bool -> string * bool
227- (* * [text_box_multi bounds text edit_mode] Text Box control with multiple lines,returns text, edit_mode *)
237+ (* * [text_box_multi bounds text edit_mode] Text Box control with multiple
238+ lines,returns text, edit_mode *)
228239
229240val slider :
230241 Raylib.Rectangle .t ->
@@ -234,7 +245,8 @@ val slider :
234245 min :float ->
235246 max :float ->
236247 float
237- (* * [slider bounds text_left text_right value ~min ~max] Slider control, returns selected value *)
248+ (* * [slider bounds text_left text_right value ~min ~max] Slider control, returns
249+ selected value *)
238250
239251val slider_bar :
240252 Raylib.Rectangle .t ->
@@ -244,7 +256,8 @@ val slider_bar :
244256 min :float ->
245257 max :float ->
246258 float
247- (* * [slider_bar bounds text_left text_right value ~min ~max] Slider Bar control, returns selected value *)
259+ (* * [slider_bar bounds text_left text_right value ~min ~max] Slider Bar control,
260+ returns selected value *)
248261
249262val progress_bar :
250263 Raylib.Rectangle .t ->
@@ -254,7 +267,8 @@ val progress_bar :
254267 min :float ->
255268 max :float ->
256269 float
257- (* * [progress_bar bounds text_left text_right value ~min ~max] Progress Bar control, shows current progress value *)
270+ (* * [progress_bar bounds text_left text_right value ~min ~max] Progress Bar
271+ control, shows current progress value *)
258272
259273val status_bar : Raylib.Rectangle .t -> string -> unit
260274(* * [status_bar bounds text] Status Bar control, shows info text *)
@@ -268,7 +282,7 @@ val scroll_bar : Raylib.Rectangle.t -> int -> min:int -> max:int -> int
268282val grid : Raylib.Rectangle .t -> float -> int -> Raylib.Vector2 .t
269283(* * [grid bounds spacing subdivs] Grid control *)
270284
271- (* * {1 Advance controls set } *)
285+ (* * {1 Advance controls set} *)
272286
273287val list_view : Raylib.Rectangle .t -> string -> int -> int -> int * int
274288(* * [list_view bounds text scroll_index active] List View control, returns
@@ -277,17 +291,21 @@ val list_view : Raylib.Rectangle.t -> string -> int -> int -> int * int
277291val list_view_ex :
278292 Raylib.Rectangle .t -> string list -> int -> int -> int -> int * int * int
279293(* * [list_view_ex bounds text_list focus scroll_index active] List View with
280- extended parameters, returns selected list item index, focus, scroll index *)
294+ extended parameters, returns selected list item index, focus, scroll index
295+ *)
281296
282297val message_box : Raylib.Rectangle .t -> string -> string -> string -> int
283- (* * [message_box bounds title message buttons] Message Box control, displays a message *)
298+ (* * [message_box bounds title message buttons] Message Box control, displays a
299+ message *)
284300
285301val text_input_box :
286302 Raylib.Rectangle .t -> string -> string -> string -> string -> string * int
287- (* * [text_input_box bounds title message buttons text] Text Input Box control, returns text, state *)
303+ (* * [text_input_box bounds title message buttons text] Text Input Box control,
304+ returns text, state *)
288305
289306val color_picker : Raylib.Rectangle .t -> Raylib.Color .t -> Raylib.Color .t
290- (* * [color_picker bounds color] Color Picker control (multiple color controls) *)
307+ (* * [color_picker bounds color] Color Picker control (multiple color controls)
308+ *)
291309
292310val color_panel : Raylib.Rectangle .t -> Raylib.Color .t -> Raylib.Color .t
293311(* * [color_panel bounds color] Color Panel control *)
0 commit comments