Blender V5.3
blender::ui::WidgetType Struct Reference

Public Attributes

const uiWidgetColors * wcol_theme
const uiWidgetStateColors * wcol_state
uiWidgetColors wcol
void(*) state (WidgetType *, const WidgetStateInfo *state, EmbossType emboss) ATTR_NONNULL()
void(*) draw (uiWidgetColors *, rcti *, const WidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()
void(*) custom (Button *, uiWidgetColors *, rcti *, const WidgetStateInfo *, 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 *, Button *, rcti *)

Detailed Description

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

Definition at line 265 of file interface_widgets.cc.

Member Data Documentation

◆ custom

void(*) blender::ui::WidgetType::custom(Button *, uiWidgetColors *, rcti *, const WidgetStateInfo *, int roundboxalign, const float zoom) ATTR_NONNULL()

Definition at line 280 of file interface_widgets.cc.

Referenced by blender::ui::draw_button(), and blender::ui::widget_type().

◆ draw

◆ draw_block

void(*) blender::ui::WidgetType::draw_block(uiWidgetColors *, const rcti *, int block_flag, int roundboxalign, const float zoom)

◆ state

◆ text

void(*) blender::ui::WidgetType::text(const uiFontStyle *, const uiWidgetColors *, Button *, rcti *)

Definition at line 288 of file interface_widgets.cc.

Referenced by blender::ui::draw_button(), and blender::ui::widget_type().

◆ wcol

◆ wcol_state

const uiWidgetStateColors* blender::ui::WidgetType::wcol_state

◆ wcol_theme


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