Blender
V3.3
|
#include <DNA_userdef_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 |
char | _pad2 [4] |
This state defines appearance of text.
Definition at line 56 of file DNA_userdef_types.h.
char uiFontStyle::_pad0[2] |
Definition at line 68 of file DNA_userdef_types.h.
char uiFontStyle::_pad1[2] |
Definition at line 59 of file DNA_userdef_types.h.
char uiFontStyle::_pad2[4] |
Definition at line 73 of file DNA_userdef_types.h.
short uiFontStyle::bold |
Definition at line 63 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex().
short uiFontStyle::italic |
Style hint.
Definition at line 63 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex().
float uiFontStyle::points |
Actual size depends on 'global' DPI.
Definition at line 61 of file DNA_userdef_types.h.
Referenced by drw_text_cache_draw_ex(), ED_region_image_metadata_draw(), file_font_pointsize(), outliner_draw_iconrow_number(), radial_control_paint_cursor(), UI_block_draw(), UI_fontstyle_set(), UI_fontstyle_string_width_with_block_aspect(), UI_panel_category_draw_all(), ui_popover_panel_create(), UI_preview_tile_size_y(), ui_style_new(), ui_textedit_set_cursor_pos(), ui_tooltip_region_draw_cb(), uiItemsAlertBox(), uiStyleInit(), voxel_size_edit_draw(), wm_block_create_about(), and wm_block_create_splash().
short uiFontStyle::shadow |
Value is amount of pixels blur.
Definition at line 65 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().
float uiFontStyle::shadowalpha |
Total alpha.
Definition at line 70 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().
float uiFontStyle::shadowcolor |
1 value, typically white or black anyway.
Definition at line 72 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().
short uiFontStyle::shadx |
Shadow offset in pixels.
Definition at line 67 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_style_get_dpi(), and ui_style_new().
short uiFontStyle::shady |
Definition at line 67 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_style_get_dpi(), and ui_style_new().
short uiFontStyle::uifont_id |
Saved in file, 0 is default.
Definition at line 58 of file DNA_userdef_types.h.
Referenced by clip_draw_dopesheet_channels(), draw_marker_texts(), ED_region_cache_draw_curfra_label(), ED_region_info_draw_multiline(), file_draw_string_multiline(), file_font_pointsize(), file_string_width(), blender::ed::space_node::frame_node_draw_label(), get_column_width(), get_index_column_width(), radial_control_paint_cursor(), slider_draw(), ui_block_bounds_calc_text(), ui_draw_menu_item(), ui_draw_preview_item_stateless(), UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_fontstyle_draw_simple(), UI_fontstyle_draw_simple_backdrop(), UI_fontstyle_height_max(), UI_fontstyle_set(), UI_fontstyle_string_width(), UI_panel_category_draw_all(), ui_style_new(), ui_text_clip_cursor(), UI_text_clip_middle_ex(), ui_text_clip_right_ex(), ui_text_clip_right_label(), ui_textedit_set_cursor_pos(), ui_tooltip_region_draw_cb(), uiTemplateReportsBanner(), uiTemplateStatusInfo(), voxel_size_edit_draw(), widget_draw_text(), and widget_draw_text_icon().