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.
 
Loading...
Searching...
No Matches
nk_text_edit Struct Reference
Collaboration diagram for nk_text_edit:

Data Fields

struct nk_clipboard clip
 
struct nk_str string
 
nk_plugin_filter filter
 
struct nk_vec2 scrollbar
 
int cursor
 
int select_start
 
int select_end
 
unsigned char mode
 
unsigned char cursor_at_end_of_line
 
unsigned char initialized
 
unsigned char has_preferred_x
 
unsigned char single_line
 
unsigned char active
 
unsigned char padding1
 
float preferred_x
 
struct nk_text_undo_state undo
 

Detailed Description

Definition at line 4345 of file nuklear.h.

Field Documentation

◆ active

unsigned char nk_text_edit::active

Definition at line 4359 of file nuklear.h.

◆ clip

struct nk_clipboard nk_text_edit::clip

Definition at line 4346 of file nuklear.h.

◆ cursor

int nk_text_edit::cursor

Definition at line 4351 of file nuklear.h.

◆ cursor_at_end_of_line

unsigned char nk_text_edit::cursor_at_end_of_line

Definition at line 4355 of file nuklear.h.

◆ filter

nk_plugin_filter nk_text_edit::filter

Definition at line 4348 of file nuklear.h.

◆ has_preferred_x

unsigned char nk_text_edit::has_preferred_x

Definition at line 4357 of file nuklear.h.

◆ initialized

unsigned char nk_text_edit::initialized

Definition at line 4356 of file nuklear.h.

◆ mode

unsigned char nk_text_edit::mode

Definition at line 4354 of file nuklear.h.

◆ padding1

unsigned char nk_text_edit::padding1

Definition at line 4360 of file nuklear.h.

◆ preferred_x

float nk_text_edit::preferred_x

Definition at line 4361 of file nuklear.h.

◆ scrollbar

struct nk_vec2 nk_text_edit::scrollbar

Definition at line 4349 of file nuklear.h.

◆ select_end

int nk_text_edit::select_end

Definition at line 4353 of file nuklear.h.

◆ select_start

int nk_text_edit::select_start

Definition at line 4352 of file nuklear.h.

◆ single_line

unsigned char nk_text_edit::single_line

Definition at line 4358 of file nuklear.h.

◆ string

struct nk_str nk_text_edit::string

Definition at line 4347 of file nuklear.h.

◆ undo

struct nk_text_undo_state nk_text_edit::undo

Definition at line 4362 of file nuklear.h.


The documentation for this struct was generated from the following file: