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 5761 of file nuklear.h.

Field Documentation

◆ active

struct nk_window* nk_context::active

Definition at line 5795 of file nuklear.h.

◆ begin

struct nk_window* nk_context::begin

Definition at line 5793 of file nuklear.h.

◆ build

int nk_context::build

windows

Definition at line 5790 of file nuklear.h.

◆ button_behavior

enum nk_button_behavior nk_context::button_behavior

Definition at line 5768 of file nuklear.h.

◆ clip

struct nk_clipboard nk_context::clip

Definition at line 5766 of file nuklear.h.

◆ count

unsigned int nk_context::count

Definition at line 5798 of file nuklear.h.

◆ current

struct nk_window* nk_context::current

Definition at line 5796 of file nuklear.h.

◆ delta_time_seconds

float nk_context::delta_time_seconds

Definition at line 5770 of file nuklear.h.

◆ end

struct nk_window* nk_context::end

Definition at line 5794 of file nuklear.h.

◆ freelist

struct nk_page_element* nk_context::freelist

Definition at line 5797 of file nuklear.h.

◆ input

struct nk_input nk_context::input

Definition at line 5763 of file nuklear.h.

◆ last_widget_state

nk_flags nk_context::last_widget_state

Definition at line 5767 of file nuklear.h.

◆ memory

struct nk_buffer nk_context::memory

Definition at line 5765 of file nuklear.h.

◆ overlay

struct nk_command_buffer nk_context::overlay

draw buffer used for overlay drawing operation like cursor

Definition at line 5787 of file nuklear.h.

◆ pool

struct nk_pool nk_context::pool

Definition at line 5792 of file nuklear.h.

◆ seq

unsigned int nk_context::seq

Definition at line 5799 of file nuklear.h.

◆ stacks

struct nk_configuration_stacks nk_context::stacks

Definition at line 5769 of file nuklear.h.

◆ style

struct nk_style nk_context::style

Definition at line 5764 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 5785 of file nuklear.h.

◆ use_pool

int nk_context::use_pool

Definition at line 5791 of file nuklear.h.