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_style_item | cursor_normal |
struct nk_style_item | cursor_hover |
struct nk_color | text_normal |
struct nk_color | text_hover |
struct nk_color | text_active |
struct nk_color | text_background |
nk_flags | text_alignment |
struct nk_vec2 | padding |
struct nk_vec2 | touch_padding |
float | spacing |
float | border |
float | color_factor |
float | disabled_factor |
nk_handle | userdata |
void(* | draw_begin )(struct nk_command_buffer *, nk_handle) |
void(* | draw_end )(struct nk_command_buffer *, nk_handle) |