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 | |
float | global_alpha |
enum nk_anti_aliasing | line_AA |
!< global alpha value | |
enum nk_anti_aliasing | shape_AA |
!< line anti-aliasing flag can be turned off if you are tight on memory | |
unsigned | circle_segment_count |
!< shape anti-aliasing flag can be turned off if you are tight on memory | |
unsigned | arc_segment_count |
!< number of segments used for circles: default to 22 | |
unsigned | curve_segment_count |
!< number of segments used for arcs: default to 22 | |
struct nk_draw_null_texture | tex_null |
!< number of segments used for curves: default to 22 | |
const struct nk_draw_vertex_layout_element * | vertex_layout |
!< handle to texture with a white pixel for shape drawing | |
nk_size | vertex_size |
!< describes the vertex output format and packing | |
nk_size | vertex_alignment |
!< sizeof one vertex for vertex packing | |