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_button Struct Reference
Collaboration diagram for nk_style_button:

Data Fields

struct nk_style_item normal
 
struct nk_style_item hover
 
struct nk_style_item active
 
struct nk_color border_color
 
float color_factor_background
 
struct nk_color text_background
 
struct nk_color text_normal
 
struct nk_color text_hover
 
struct nk_color text_active
 
nk_flags text_alignment
 
float color_factor_text
 
float border
 
float rounding
 
struct nk_vec2 padding
 
struct nk_vec2 image_padding
 
struct nk_vec2 touch_padding
 
float disabled_factor
 
nk_handle userdata
 
void(* draw_begin )(struct nk_command_buffer *, nk_handle userdata)
 
void(* draw_end )(struct nk_command_buffer *, nk_handle userdata)
 

Detailed Description

Definition at line 4902 of file nuklear.h.

Field Documentation

◆ active

struct nk_style_item nk_style_button::active

Definition at line 4906 of file nuklear.h.

◆ border

float nk_style_button::border

Definition at line 4919 of file nuklear.h.

◆ border_color

struct nk_color nk_style_button::border_color

Definition at line 4907 of file nuklear.h.

◆ color_factor_background

float nk_style_button::color_factor_background

Definition at line 4908 of file nuklear.h.

◆ color_factor_text

float nk_style_button::color_factor_text

Definition at line 4916 of file nuklear.h.

◆ disabled_factor

float nk_style_button::disabled_factor

Definition at line 4924 of file nuklear.h.

◆ draw_begin

void(* nk_style_button::draw_begin) (struct nk_command_buffer *, nk_handle userdata)

Definition at line 4928 of file nuklear.h.

◆ draw_end

void(* nk_style_button::draw_end) (struct nk_command_buffer *, nk_handle userdata)

Definition at line 4929 of file nuklear.h.

◆ hover

struct nk_style_item nk_style_button::hover

Definition at line 4905 of file nuklear.h.

◆ image_padding

struct nk_vec2 nk_style_button::image_padding

Definition at line 4922 of file nuklear.h.

◆ normal

struct nk_style_item nk_style_button::normal

Definition at line 4904 of file nuklear.h.

◆ padding

struct nk_vec2 nk_style_button::padding

Definition at line 4921 of file nuklear.h.

◆ rounding

float nk_style_button::rounding

Definition at line 4920 of file nuklear.h.

◆ text_active

struct nk_color nk_style_button::text_active

Definition at line 4914 of file nuklear.h.

◆ text_alignment

nk_flags nk_style_button::text_alignment

Definition at line 4915 of file nuklear.h.

◆ text_background

struct nk_color nk_style_button::text_background

Definition at line 4911 of file nuklear.h.

◆ text_hover

struct nk_color nk_style_button::text_hover

Definition at line 4913 of file nuklear.h.

◆ text_normal

struct nk_color nk_style_button::text_normal

Definition at line 4912 of file nuklear.h.

◆ touch_padding

struct nk_vec2 nk_style_button::touch_padding

Definition at line 4923 of file nuklear.h.

◆ userdata

nk_handle nk_style_button::userdata

Definition at line 4927 of file nuklear.h.


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