Blender V4.3
uiWidgetType Struct Reference

Public Attributes

const uiWidgetColorswcol_theme
 
uiWidgetStateColorswcol_state
 
uiWidgetColors wcol
 
void(* state )(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 *, const 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 244 of file interface_widgets.cc.

Member Data Documentation

◆ custom

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

Definition at line 260 of file interface_widgets.cc.

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 *, const rcti *, int block_flag, int roundboxalign, const float zoom)

◆ state

◆ text

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

Definition at line 268 of file interface_widgets.cc.

Referenced by ui_draw_but(), and widget_type().

◆ wcol

◆ wcol_state

uiWidgetStateColors* uiWidgetType::wcol_state

Definition at line 248 of file interface_widgets.cc.

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

◆ wcol_theme


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