comparison nuklear_ui/blastem_nuklear.c @ 1854:58b6f5d918f4

Minor improvements to keyboard navigation
author Michael Pavone <pavone@retrodev.com>
date Thu, 25 Apr 2019 21:54:47 -0700
parents 9b2acecf8124
children 92532eb6986d
comparison
equal deleted inserted replaced
1853:9b2acecf8124 1854:58b6f5d918f4
2074 context->style.checkbox.cursor_normal.type = NK_STYLE_ITEM_COLOR; 2074 context->style.checkbox.cursor_normal.type = NK_STYLE_ITEM_COLOR;
2075 context->style.checkbox.cursor_normal.data.color = (struct nk_color){ 2075 context->style.checkbox.cursor_normal.data.color = (struct nk_color){
2076 .r = 255, .g = 128, .b = 0, .a = 255 2076 .r = 255, .g = 128, .b = 0, .a = 255
2077 }; 2077 };
2078 context->style.checkbox.cursor_hover = context->style.checkbox.cursor_normal; 2078 context->style.checkbox.cursor_hover = context->style.checkbox.cursor_normal;
2079 context->style.property.inc_button.text_hover = (struct nk_color){
2080 .r = 255, .g = 128, .b = 0, .a = 255
2081 };
2082 context->style.property.dec_button.text_hover = context->style.property.inc_button.text_hover;
2079 } 2083 }
2080 2084
2081 static void context_created(void) 2085 static void context_created(void)
2082 { 2086 {
2083 context = nk_sdl_init(render_get_window()); 2087 context = nk_sdl_init(render_get_window());