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_buffer_marker | marker [NK_BUFFER_MAX] |
struct nk_allocator | pool |
!< buffer marker to free a buffer to a certain offset | |
enum nk_allocation_type | type |
!< allocator callback for dynamic buffers | |
struct nk_memory | memory |
!< memory management type | |
float | grow_factor |
!< memory and size of the current memory block | |
nk_size | allocated |
!< growing factor for dynamic memory management | |
nk_size | needed |
!< total amount of memory allocated | |
nk_size | calls |
!< totally consumed memory given that enough memory is present | |
nk_size | size |
!< number of allocation calls | |