@@ -913,8 +913,8 @@ void iui_segmented(iui_context *ctx,
913913 */
914914void iui_slider (iui_context * ctx ,
915915 const char * label ,
916- float min ,
917- float max ,
916+ float min_value ,
917+ float max_value ,
918918 float step ,
919919 float * value ,
920920 const char * fmt );
@@ -2031,7 +2031,7 @@ void iui_table_row_end(iui_context *ctx, iui_table_state *state);
20312031 * @ctx: current UI context
20322032 * @state: table state from iui_table_begin
20332033 */
2034- void iui_table_end (iui_context * ctx , iui_table_state * state );
2034+ void iui_table_end (iui_context * ctx , const iui_table_state * state );
20352035
20362036/* Scrollable Container
20372037 * Creates a scrollable viewport using the existing clip stack.
@@ -2189,7 +2189,7 @@ bool iui_nav_rail_item(iui_context *ctx,
21892189 int index );
21902190
21912191/* End navigation rail rendering */
2192- void iui_nav_rail_end (iui_context * ctx , iui_nav_rail_state * state );
2192+ void iui_nav_rail_end (iui_context * ctx , const iui_nav_rail_state * state );
21932193
21942194/* Toggle rail expanded/collapsed state */
21952195void iui_nav_rail_toggle (iui_nav_rail_state * state );
@@ -2227,7 +2227,7 @@ bool iui_nav_bar_item(iui_context *ctx,
22272227 int index );
22282228
22292229/* End navigation bar rendering */
2230- void iui_nav_bar_end (iui_context * ctx , iui_nav_bar_state * state );
2230+ void iui_nav_bar_end (iui_context * ctx , const iui_nav_bar_state * state );
22312231
22322232/* Navigation Drawer Component
22332233 * Side panel navigation for larger screens
@@ -2267,7 +2267,7 @@ bool iui_nav_drawer_item(iui_context *ctx,
22672267void iui_nav_drawer_divider (iui_context * ctx );
22682268
22692269/* End navigation drawer rendering */
2270- void iui_nav_drawer_end (iui_context * ctx , iui_nav_drawer_state * state );
2270+ void iui_nav_drawer_end (iui_context * ctx , const iui_nav_drawer_state * state );
22712271
22722272/* Open/close drawer */
22732273void iui_nav_drawer_open (iui_nav_drawer_state * state );
@@ -2339,7 +2339,8 @@ bool iui_bottom_sheet_begin(iui_context *ctx,
23392339 float screen_height );
23402340
23412341/* End bottom sheet rendering */
2342- void iui_bottom_sheet_end (iui_context * ctx , iui_bottom_sheet_state * state );
2342+ void iui_bottom_sheet_end (iui_context * ctx ,
2343+ const iui_bottom_sheet_state * state );
23432344
23442345/* Open/close bottom sheet */
23452346void iui_bottom_sheet_open (iui_bottom_sheet_state * state );
@@ -2387,12 +2388,13 @@ bool iui_bottom_app_bar_action(iui_context *ctx,
23872388
23882389/* Add FAB (right side). Returns true if clicked */
23892390bool iui_bottom_app_bar_fab (iui_context * ctx ,
2390- iui_bottom_app_bar_state * state ,
2391+ const iui_bottom_app_bar_state * state ,
23912392 const char * icon ,
23922393 iui_fab_size_t size );
23932394
23942395/* End bottom app bar rendering */
2395- void iui_bottom_app_bar_end (iui_context * ctx , iui_bottom_app_bar_state * state );
2396+ void iui_bottom_app_bar_end (iui_context * ctx ,
2397+ const iui_bottom_app_bar_state * state );
23962398
23972399/* Menu Component
23982400 * Vertical dropdown menu with support for icons, shortcuts, dividers, and
0 commit comments