From 1a6c30693fc8e8f2c9fcfb44447faff3a618b6e5 Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Tue, 30 Oct 2018 16:51:45 -0700 Subject: [PATCH] Add NK_KEYSTATE_BASED_INPUT documentation comment --- nuklear.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nuklear.h b/nuklear.h index e9d1c6e..362a5b9 100644 --- a/nuklear.h +++ b/nuklear.h @@ -106,6 +106,7 @@ /// NK_BUTTON_TRIGGER_ON_RELEASE | Different platforms require button clicks occurring either on buttons being pressed (up to down) or released (down to up). By default this library will react on buttons being pressed, but if you define this it will only trigger if a button is released. /// NK_ZERO_COMMAND_MEMORY | Defining this will zero out memory for each drawing command added to a drawing queue (inside nk_command_buffer_push). Zeroing command memory is very useful for fast checking (using memcmp) if command buffers are equal and avoid drawing frames when nothing on screen has changed since previous frame. /// NK_UINT_DRAW_INDEX | Defining this will set the size of vertex index elements when using NK_VERTEX_BUFFER_OUTPUT to 32bit instead of the default of 16bit +/// NK_KEYSTATE_BASED_INPUT | Define this if your backend uses key state for each frame rather than key press/release events /// /// !!! WARNING /// The following flags will pull in the standard C library: