nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

How to check when user changes value in nk_property_int?

Open KenthJohan opened this issue 6 years ago • 0 comments

It is easy to check if user press button:

if (nk_button_label(ctx, "button")) printf("button pressed!\n");

The nk_property_int

NK_API void
nk_property_int(struct nk_context *ctx, const char *name,
    int min, int *val, int max, int step, float inc_per_pixel)

There is two tiny arrow button, can I not check if user press on those? Capture

KenthJohan avatar Mar 22 '19 12:03 KenthJohan