nuklear
nuklear copied to clipboard
How to check when user changes value in nk_property_int?
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?