Blender  V2.93
Public Attributes | List of all members
uiWidgetType Struct Reference

Public Attributes

const uiWidgetColorswcol_theme
 
uiWidgetStateColorswcol_state
 
uiWidgetColors wcol
 
void(* state )(struct uiWidgetType *, int state, int drawflag, eUIEmbossType emboss)
 
void(* draw )(uiWidgetColors *, rcti *, int state, int roundboxalign)
 
void(* custom )(uiBut *, uiWidgetColors *, rcti *, int state, int roundboxalign)
 
void(* text )(const uiFontStyle *, const uiWidgetColors *, uiBut *, rcti *)
 

Detailed Description

For time being only for visual appearance, later, a handling callback can be added too.

Definition at line 258 of file interface_widgets.c.

Member Data Documentation

◆ custom

void(* uiWidgetType::custom) (uiBut *, uiWidgetColors *, rcti *, int state, int roundboxalign)

Definition at line 269 of file interface_widgets.c.

Referenced by ui_draw_box_opaque(), ui_draw_but(), and widget_type().

◆ draw

void(* uiWidgetType::draw) (uiWidgetColors *, rcti *, int state, int roundboxalign)

◆ state

void(* uiWidgetType::state) (struct uiWidgetType *, int state, int drawflag, eUIEmbossType emboss)

◆ text

void(* uiWidgetType::text) (const uiFontStyle *, const uiWidgetColors *, uiBut *, rcti *)

Definition at line 270 of file interface_widgets.c.

Referenced by ui_draw_but(), and widget_type().

◆ wcol

uiWidgetColors uiWidgetType::wcol

◆ wcol_state

uiWidgetStateColors* uiWidgetType::wcol_state

Definition at line 262 of file interface_widgets.c.

Referenced by widget_state(), widget_state_numslider(), and widget_type().

◆ wcol_theme

const uiWidgetColors* uiWidgetType::wcol_theme

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