@@ -134,7 +134,7 @@ nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt,
134134 win -> layout -> row .item_width = (float )width ;
135135}
136136NK_API float
137- nk_layout_ratio_from_pixel (const struct nk_context * ctx , float pixel_width )
137+ nk_layout_ratio_from_pixel (struct nk_context * ctx , float pixel_width )
138138{
139139 struct nk_window * win ;
140140 NK_ASSERT (ctx );
@@ -463,7 +463,7 @@ nk_layout_space_push(struct nk_context *ctx, struct nk_rect rect)
463463 layout -> row .item = rect ;
464464}
465465NK_API struct nk_rect
466- nk_layout_space_bounds (const struct nk_context * ctx )
466+ nk_layout_space_bounds (struct nk_context * ctx )
467467{
468468 struct nk_rect ret ;
469469 struct nk_window * win ;
@@ -482,7 +482,7 @@ nk_layout_space_bounds(const struct nk_context *ctx)
482482 return ret ;
483483}
484484NK_API struct nk_rect
485- nk_layout_widget_bounds (const struct nk_context * ctx )
485+ nk_layout_widget_bounds (struct nk_context * ctx )
486486{
487487 struct nk_rect ret ;
488488 struct nk_window * win ;
@@ -501,7 +501,7 @@ nk_layout_widget_bounds(const struct nk_context *ctx)
501501 return ret ;
502502}
503503NK_API struct nk_vec2
504- nk_layout_space_to_screen (const struct nk_context * ctx , struct nk_vec2 ret )
504+ nk_layout_space_to_screen (struct nk_context * ctx , struct nk_vec2 ret )
505505{
506506 struct nk_window * win ;
507507 struct nk_panel * layout ;
@@ -517,7 +517,7 @@ nk_layout_space_to_screen(const struct nk_context *ctx, struct nk_vec2 ret)
517517 return ret ;
518518}
519519NK_API struct nk_vec2
520- nk_layout_space_to_local (const struct nk_context * ctx , struct nk_vec2 ret )
520+ nk_layout_space_to_local (struct nk_context * ctx , struct nk_vec2 ret )
521521{
522522 struct nk_window * win ;
523523 struct nk_panel * layout ;
@@ -533,7 +533,7 @@ nk_layout_space_to_local(const struct nk_context *ctx, struct nk_vec2 ret)
533533 return ret ;
534534}
535535NK_API struct nk_rect
536- nk_layout_space_rect_to_screen (const struct nk_context * ctx , struct nk_rect ret )
536+ nk_layout_space_rect_to_screen (struct nk_context * ctx , struct nk_rect ret )
537537{
538538 struct nk_window * win ;
539539 struct nk_panel * layout ;
@@ -549,7 +549,7 @@ nk_layout_space_rect_to_screen(const struct nk_context *ctx, struct nk_rect ret)
549549 return ret ;
550550}
551551NK_API struct nk_rect
552- nk_layout_space_rect_to_local (const struct nk_context * ctx , struct nk_rect ret )
552+ nk_layout_space_rect_to_local (struct nk_context * ctx , struct nk_rect ret )
553553{
554554 struct nk_window * win ;
555555 struct nk_panel * layout ;
@@ -730,7 +730,7 @@ nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx)
730730 layout -> row .index ++ ;
731731}
732732NK_LIB void
733- nk_layout_peek (struct nk_rect * bounds , const struct nk_context * ctx )
733+ nk_layout_peek (struct nk_rect * bounds , struct nk_context * ctx )
734734{
735735 float y ;
736736 int index ;
0 commit comments