Nuklear
Minimal-state, immediate-mode graphical user interface toolkit written in ANSI C.
 
Loading...
Searching...
No Matches
nk_context Struct Reference
Collaboration diagram for nk_context:

Data Fields

struct nk_input input
 
struct nk_style style
 
struct nk_buffer memory
 
struct nk_clipboard clip
 
nk_flags last_widget_state
 
enum nk_button_behavior button_behavior
 
struct nk_configuration_stacks stacks
 
float delta_time_seconds
 
struct nk_text_edit text_edit
 text editor objects are quite big because of an internal undo/redo stack.
 
struct nk_command_buffer overlay
 draw buffer used for overlay drawing operation like cursor
 
int build
 windows
 
int use_pool
 
struct nk_pool pool
 
struct nk_windowbegin
 
struct nk_windowend
 
struct nk_windowactive
 
struct nk_windowcurrent
 
struct nk_page_elementfreelist
 
unsigned int count
 
unsigned int seq
 

Detailed Description

Definition at line 5797 of file nuklear.h.

Field Documentation

◆ active

struct nk_window* nk_context::active

Definition at line 5831 of file nuklear.h.

◆ begin

struct nk_window* nk_context::begin

Definition at line 5829 of file nuklear.h.

◆ build

int nk_context::build

windows

Definition at line 5826 of file nuklear.h.

◆ button_behavior

enum nk_button_behavior nk_context::button_behavior

Definition at line 5804 of file nuklear.h.

◆ clip

struct nk_clipboard nk_context::clip

Definition at line 5802 of file nuklear.h.

◆ count

unsigned int nk_context::count

Definition at line 5834 of file nuklear.h.

◆ current

struct nk_window* nk_context::current

Definition at line 5832 of file nuklear.h.

◆ delta_time_seconds

float nk_context::delta_time_seconds

Definition at line 5806 of file nuklear.h.

◆ end

struct nk_window* nk_context::end

Definition at line 5830 of file nuklear.h.

◆ freelist

struct nk_page_element* nk_context::freelist

Definition at line 5833 of file nuklear.h.

◆ input

struct nk_input nk_context::input

Definition at line 5799 of file nuklear.h.

◆ last_widget_state

nk_flags nk_context::last_widget_state

Definition at line 5803 of file nuklear.h.

◆ memory

struct nk_buffer nk_context::memory

Definition at line 5801 of file nuklear.h.

◆ overlay

struct nk_command_buffer nk_context::overlay

draw buffer used for overlay drawing operation like cursor

Definition at line 5823 of file nuklear.h.

◆ pool

struct nk_pool nk_context::pool

Definition at line 5828 of file nuklear.h.

◆ seq

unsigned int nk_context::seq

Definition at line 5835 of file nuklear.h.

◆ stacks

struct nk_configuration_stacks nk_context::stacks

Definition at line 5805 of file nuklear.h.

◆ style

struct nk_style nk_context::style

Definition at line 5800 of file nuklear.h.

◆ text_edit

struct nk_text_edit nk_context::text_edit

text editor objects are quite big because of an internal undo/redo stack.

Therefore it does not make sense to have one for each window for temporary use cases, so I only provide one instance for all windows. This works because the content is cleared anyway

Definition at line 5821 of file nuklear.h.

◆ use_pool

int nk_context::use_pool

Definition at line 5827 of file nuklear.h.