Blender V5.0
uiFontStyle Struct Reference

#include <DNA_theme_types.h>

Public Attributes

short uifont_id
char _pad1 [2]
float points
short italic
short bold
short shadow
short shadx
short shady
char _pad0 [2]
float shadowalpha
float shadowcolor
int character_weight

Detailed Description

This state defines appearance of text.

Definition at line 58 of file DNA_theme_types.h.

Member Data Documentation

◆ _pad0

char uiFontStyle::_pad0[2]

Definition at line 70 of file DNA_theme_types.h.

◆ _pad1

char uiFontStyle::_pad1[2]

Definition at line 61 of file DNA_theme_types.h.

◆ bold

short uiFontStyle::bold

◆ character_weight

int uiFontStyle::character_weight

Weight class 100-900, 400 is normal.

Definition at line 76 of file DNA_theme_types.h.

Referenced by fontstyle_set_ex(), ui_style_new(), and UI_update_text_styles().

◆ italic

short uiFontStyle::italic

Style hint.

Definition at line 65 of file DNA_theme_types.h.

Referenced by UI_fontstyle_draw_ex(), and UI_fontstyle_draw_multiline_clipped_ex().

◆ points

◆ shadow

◆ shadowalpha

◆ shadowcolor

float uiFontStyle::shadowcolor

1 value, typically white or black anyway.

Definition at line 74 of file DNA_theme_types.h.

Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_multiline_clipped_ex(), UI_fontstyle_draw_rotated(), UI_panel_category_draw_all(), and ui_style_new().

◆ shadx

◆ shady

◆ uifont_id


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