[zr] change menu label

This commit is contained in:
radius 2016-03-02 02:51:03 -05:00
parent 8c86c6a47c
commit 780974ef32

View File

@ -359,7 +359,7 @@ static void zrmenu_wnd_demo(struct zr_context *ctx, int width, int height, struc
settings_t *settings = config_get_ptr();
struct zr_panel layout;
if (zr_begin(ctx, &layout, "Control", zr_rect(10, 90, 500, 400),
if (zr_begin(ctx, &layout, "Demo Window", zr_rect(10, 90, 500, 400),
ZR_WINDOW_CLOSABLE|ZR_WINDOW_MINIMIZABLE|ZR_WINDOW_MOVABLE|
ZR_WINDOW_SCALABLE|ZR_WINDOW_BORDER))
{
@ -448,7 +448,7 @@ static void zrmenu_wnd_main(struct zr_context *ctx, int width, int height, struc
{
zr_layout_row_dynamic(ctx, 25, 1);
if (zr_menu_item(ctx, ZR_TEXT_LEFT, "Demo Window"))
if (zr_menu_item(ctx, ZR_TEXT_LEFT, "Control"))
{
wnd_control = !wnd_control;
wnd_control_toggle = true;