Nuklear
This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default render backend or OS window/input handling but instead provides a highly modular, library-based approach, with simple input state for input and draw commands describing primitive shapes as output. So instead of providing a layered library that tries to abstract over a number of platform and render backends, it focuses only on the actual UI.
|
Data Fields | |
struct nk_style_item | normal |
struct nk_style_item | hover |
struct nk_style_item | active |
struct nk_color | border_color |
struct nk_color | bar_normal |
struct nk_color | bar_hover |
struct nk_color | bar_active |
struct nk_color | bar_filled |
struct nk_style_item | cursor_normal |
struct nk_style_item | cursor_hover |
struct nk_style_item | cursor_active |
float | border |
float | rounding |
float | bar_height |
struct nk_vec2 | padding |
struct nk_vec2 | spacing |
struct nk_vec2 | cursor_size |
float | color_factor |
float | disabled_factor |
int | show_buttons |
struct nk_style_button | inc_button |
struct nk_style_button | dec_button |
enum nk_symbol_type | inc_symbol |
enum nk_symbol_type | dec_symbol |
nk_handle | userdata |
void(* | draw_begin )(struct nk_command_buffer *, nk_handle) |
void(* | draw_end )(struct nk_command_buffer *, nk_handle) |