Skip to content

Commit

Permalink
Applied toggleable alignment to example skinning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Ahnstedt committed Nov 26, 2023
1 parent 9614f5f commit aa99592
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/skinning.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,10 +754,10 @@ int main(int argc, char *argv[])
nk_layout_row_dynamic(&ctx, 20, 1);
nk_label(&ctx, "Label", NK_TEXT_LEFT);
nk_layout_row_dynamic(&ctx, 30, 2);
nk_check_label(&ctx, "inactive", 0);
nk_check_label(&ctx, "active", 1);
nk_option_label(&ctx, "active", 1);
nk_option_label(&ctx, "inactive", 0);
nk_check_label(&ctx, "inactive", 0, NK_WIDGET_LEFT, NK_TEXT_LEFT);
nk_check_label(&ctx, "active", 1, NK_WIDGET_LEFT, NK_TEXT_LEFT);
nk_option_label(&ctx, "active", 1, NK_WIDGET_LEFT, NK_TEXT_LEFT);
nk_option_label(&ctx, "inactive", 0, NK_WIDGET_LEFT, NK_TEXT_LEFT);

nk_layout_row_dynamic(&ctx, 30, 1);
nk_slider_int(&ctx, 0, &slider, 16, 1);
Expand Down

0 comments on commit aa99592

Please sign in to comment.