|
Blender V4.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 |
| int | character_weight |
This state defines appearance of text.
Definition at line 65 of file DNA_userdef_types.h.
| char uiFontStyle::_pad0[2] |
Definition at line 77 of file DNA_userdef_types.h.
| char uiFontStyle::_pad1[2] |
Definition at line 68 of file DNA_userdef_types.h.
| short uiFontStyle::bold |
Definition at line 72 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex().
| int uiFontStyle::character_weight |
Weight class 100-900, 400 is normal.
Definition at line 83 of file DNA_userdef_types.h.
Referenced by fontstyle_set_ex(), ui_style_new(), and UI_update_text_styles().
| short uiFontStyle::italic |
Style hint.
Definition at line 72 of file DNA_userdef_types.h.
Referenced by UI_fontstyle_draw_ex().
| float uiFontStyle::points |
Actual size depends on 'global' DPI.
Definition at line 70 of file DNA_userdef_types.h.
Referenced by draw_current_frame(), ED_region_image_metadata_draw(), ED_region_info_draw_multiline(), file_font_pointsize(), fontstyle_set_ex(), icon_draw_rect_input_text(), icon_draw_size(), radial_control_paint_cursor(), screen_draw_area_drag_tip(), UI_block_draw(), UI_panel_category_draw_all(), ui_popover_panel_create(), ui_style_new(), ui_textedit_set_cursor_pos(), ui_tooltip_data_from_button_or_extra_icon(), ui_tooltip_region_draw_cb(), uiItemsAlertBox(), uiStyleInit(), view3d_draw_region_info(), blender::ed::object::voxel_size_edit_draw(), wm_block_about_create(), and wm_block_splash_create().
| short uiFontStyle::shadow |
Value is amount of pixels blur.
Definition at line 74 of file DNA_userdef_types.h.
Referenced by icon_draw_size(), UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), ui_style_new(), and widget_draw_text().
| float uiFontStyle::shadowalpha |
Total alpha.
Definition at line 79 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 81 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 76 of file DNA_userdef_types.h.
Referenced by icon_draw_size(), UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_style_get_dpi(), and ui_style_new().
| short uiFontStyle::shady |
Definition at line 76 of file DNA_userdef_types.h.
Referenced by icon_draw_size(), 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 67 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(), fontstyle_set_ex(), blender::ed::space_node::frame_node_draw_label(), blender::ed::spreadsheet::get_column_width(), blender::ed::spreadsheet::get_index_column_width(), radial_control_paint_cursor(), screen_draw_area_drag_tip(), slider_draw(), ui_block_bounds_calc_text(), ui_draw_menu_item(), UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_fontstyle_draw_simple(), UI_fontstyle_draw_simple_backdrop(), UI_fontstyle_height_max(), UI_fontstyle_string_width(), UI_fontstyle_string_width_with_block_aspect(), 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(), blender::ed::outliner::unused_message_popup_width_compute(), blender::ed::object::voxel_size_edit_draw(), widget_draw_text(), widget_draw_text_icon(), and wm_block_dialog_create().