diff --git a/nuklear.h b/nuklear.h index b3c9528..e58e3d6 100644 --- a/nuklear.h +++ b/nuklear.h @@ -2015,7 +2015,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show /// __color__ | Color of the horizontal line /// __rounding__ | Whether or not to make the line round */ -NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding) +NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding); /* ============================================================================= * * LAYOUT @@ -20700,9 +20700,8 @@ nk_window_set_focus(struct nk_context *ctx, const char *name) } ctx->active = win; } - NK_API void -nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding) +nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding) { struct nk_rect space; enum nk_widget_layout_states state = nk_widget(&space, ctx); diff --git a/src/nuklear.h b/src/nuklear.h index d9bd435..615feeb 100644 --- a/src/nuklear.h +++ b/src/nuklear.h @@ -1794,7 +1794,7 @@ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show /// __color__ | Color of the horizontal line /// __rounding__ | Whether or not to make the line round */ -NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding) +NK_API void nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding); /* ============================================================================= * * LAYOUT diff --git a/src/nuklear_window.c b/src/nuklear_window.c index e5e90b7..e69ad39 100644 --- a/src/nuklear_window.c +++ b/src/nuklear_window.c @@ -669,9 +669,8 @@ nk_window_set_focus(struct nk_context *ctx, const char *name) } ctx->active = win; } - NK_API void -nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, NK_BOOL rounding) +nk_rule_horizontal(struct nk_context *ctx, struct nk_color color, nk_bool rounding) { struct nk_rect space; enum nk_widget_layout_states state = nk_widget(&space, ctx);