updated Readme example
This commit is contained in:
parent
19e4080537
commit
3e6d7bb1ec
@ -53,9 +53,8 @@ zr_size option = EASY;
|
|||||||
zr_float value = 0.6f;
|
zr_float value = 0.6f;
|
||||||
|
|
||||||
struct zr_context context;
|
struct zr_context context;
|
||||||
zr_begin(&context, &window);
|
zr_begin(&context, &window, "Show");
|
||||||
{
|
{
|
||||||
zr_header(&context, "Show", ZR_CLOSEABLE, 0, ZR_HEADER_LEFT);
|
|
||||||
zr_layout_row_static(&context, 30, 80, 1);
|
zr_layout_row_static(&context, 30, 80, 1);
|
||||||
if (zr_button_text(&context, "button", ZR_BUTTON_DEFAULT)) {
|
if (zr_button_text(&context, "button", ZR_BUTTON_DEFAULT)) {
|
||||||
/* event handling */
|
/* event handling */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user