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_style_toggle Struct Reference
Collaboration diagram for nk_style_toggle:

Data Fields

struct nk_style_item normal
 
struct nk_style_item hover
 
struct nk_style_item active
 
struct nk_color border_color
 
struct nk_style_item cursor_normal
 
struct nk_style_item cursor_hover
 
struct nk_color text_normal
 
struct nk_color text_hover
 
struct nk_color text_active
 
struct nk_color text_background
 
nk_flags text_alignment
 
struct nk_vec2 padding
 
struct nk_vec2 touch_padding
 
float spacing
 
float border
 
float color_factor
 
float disabled_factor
 
nk_handle userdata
 
void(* draw_begin )(struct nk_command_buffer *, nk_handle)
 
void(* draw_end )(struct nk_command_buffer *, nk_handle)
 

Detailed Description

Definition at line 4932 of file nuklear.h.

Field Documentation

◆ active

struct nk_style_item nk_style_toggle::active

Definition at line 4936 of file nuklear.h.

◆ border

float nk_style_toggle::border

Definition at line 4954 of file nuklear.h.

◆ border_color

struct nk_color nk_style_toggle::border_color

Definition at line 4937 of file nuklear.h.

◆ color_factor

float nk_style_toggle::color_factor

Definition at line 4955 of file nuklear.h.

◆ cursor_hover

struct nk_style_item nk_style_toggle::cursor_hover

Definition at line 4941 of file nuklear.h.

◆ cursor_normal

struct nk_style_item nk_style_toggle::cursor_normal

Definition at line 4940 of file nuklear.h.

◆ disabled_factor

float nk_style_toggle::disabled_factor

Definition at line 4956 of file nuklear.h.

◆ draw_begin

void(* nk_style_toggle::draw_begin) (struct nk_command_buffer *, nk_handle)

Definition at line 4960 of file nuklear.h.

◆ draw_end

void(* nk_style_toggle::draw_end) (struct nk_command_buffer *, nk_handle)

Definition at line 4961 of file nuklear.h.

◆ hover

struct nk_style_item nk_style_toggle::hover

Definition at line 4935 of file nuklear.h.

◆ normal

struct nk_style_item nk_style_toggle::normal

Definition at line 4934 of file nuklear.h.

◆ padding

struct nk_vec2 nk_style_toggle::padding

Definition at line 4951 of file nuklear.h.

◆ spacing

float nk_style_toggle::spacing

Definition at line 4953 of file nuklear.h.

◆ text_active

struct nk_color nk_style_toggle::text_active

Definition at line 4946 of file nuklear.h.

◆ text_alignment

nk_flags nk_style_toggle::text_alignment

Definition at line 4948 of file nuklear.h.

◆ text_background

struct nk_color nk_style_toggle::text_background

Definition at line 4947 of file nuklear.h.

◆ text_hover

struct nk_color nk_style_toggle::text_hover

Definition at line 4945 of file nuklear.h.

◆ text_normal

struct nk_color nk_style_toggle::text_normal

Definition at line 4944 of file nuklear.h.

◆ touch_padding

struct nk_vec2 nk_style_toggle::touch_padding

Definition at line 4952 of file nuklear.h.

◆ userdata

nk_handle nk_style_toggle::userdata

Definition at line 4959 of file nuklear.h.


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