Blender  V3.3
Public Attributes | List of all members
uiWidgetType Struct Reference

Public Attributes

const uiWidgetColorswcol_theme
 
uiWidgetStateColorswcol_state
 
uiWidgetColors wcol
 
void(* state )(struct uiWidgetType *, const uiWidgetStateInfo *state, eUIEmbossType emboss) ATTR_NONNULL()
 
void(* draw )(uiWidgetColors *, rcti *, const uiWidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()
 
void(* custom )(uiBut *, uiWidgetColors *, rcti *, const uiWidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()
 
void(* draw_block )(uiWidgetColors *, rcti *, int block_flag, int roundboxalign, const float zoom)
 
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 250 of file interface_widgets.c.

Member Data Documentation

◆ custom

void(* uiWidgetType::custom) (uiBut *, uiWidgetColors *, rcti *, const uiWidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()

Definition at line 266 of file interface_widgets.c.

Referenced by ui_draw_but(), and widget_type().

◆ draw

void(* uiWidgetType::draw) (uiWidgetColors *, rcti *, const uiWidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()

◆ draw_block

void(* uiWidgetType::draw_block) (uiWidgetColors *, rcti *, int block_flag, int roundboxalign, const float zoom)

◆ state

void(* uiWidgetType::state) (struct uiWidgetType *, const uiWidgetStateInfo *state, eUIEmbossType emboss) ATTR_NONNULL()

◆ text

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

Definition at line 274 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 254 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: