Lines Matching refs:pressed
106 /// 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.
699 /// mouse motion, button and key pressed and released, text input and scrolling.
728 /// __nk_input_key__ | Mirrors key state with either pressed or released
729 /// __nk_input_button__ | Mirrors mouse button state with either pressed or released
4887 struct nk_style_item pressed;
14404 select->pressed = nk_style_item_color(table[NK_COLOR_SELECT]);
16927 /* close the popup if user pressed outside or in the header */
16928 int pressed, in_body, in_header;
16930 pressed = nk_input_is_mouse_released(&ctx->input, NK_BUTTON_LEFT);
16932 pressed = nk_input_is_mouse_pressed(&ctx->input, NK_BUTTON_LEFT);
16936 if (pressed && (!in_body || in_header))
17266 {int pressed = nk_input_is_mouse_pressed(&ctx->input, NK_BUTTON_LEFT);
17268 if (pressed && in_body)
20694 background = &style->pressed;
25678 /// - 2016/08/15 (1.09.4) - Editbox are now still active if enter was pressed with flag
25726 /// by hovering only if mouse is not pressed.