|
Blender V5.3
|
#include <interface_intern.hh>
Inherits blender::ui::Button.
Additional Inherited Members | |
| Public Member Functions inherited from blender::ui::Button | |
| Button ()=default | |
| Button (const Button &other)=default | |
| Button & | operator= (const Button &other)=delete |
| virtual | ~Button ()=default |
| Public Member Functions inherited from blender::blender::NonMovable | |
| NonMovable (NonMovable &&other)=delete | |
| NonMovable & | operator= (NonMovable &&other)=delete |
| NonMovable ()=default | |
| NonMovable (const NonMovable &other)=default | |
| NonMovable & | operator= (const NonMovable &other)=default |
Derived struct for #ButtonType::Label.
Definition at line 509 of file interface_intern.hh.
| float blender::ui::ButtonLabel::alpha_factor = 1.0f |
Definition at line 510 of file interface_intern.hh.
Referenced by blender::ui::but_update_old_active_from_new(), blender::ui::button_label_alpha_factor_set(), and blender::ui::widget_draw_icon().
| bool blender::ui::ButtonLabel::draw_icon_border = false |
When the button draws an icon, also draw a mono-colored border for it.
Definition at line 512 of file interface_intern.hh.
Referenced by blender::ui::button_label_draw_icon_border_set().
| ButtonLabelType blender::ui::ButtonLabel::label_type = ButtonLabelType::Standard |
Definition at line 514 of file interface_intern.hh.
Referenced by blender::ui::but_equals_old(), blender::ui::Layout::label_markdown(), and blender::ui::Layout::label_multiline().
| std::shared_ptr<MarkdownLayoutCache> blender::ui::ButtonLabel::markdown_cache |
Layout cache for markdown labels.
Definition at line 523 of file interface_intern.hh.
Referenced by blender::ui::create_link_buttons_for_label(), blender::ui::label_markdown_draw(), blender::ui::label_markdown_resolve(), and blender::ui::markdown_apply_button_height().
| int blender::ui::ButtonLabel::max_lines = 0 |
Maximum lines to be drawn in multi-line labels, 0 means all.
Definition at line 525 of file interface_intern.hh.
Referenced by blender::ui::Layout::label_multiline(), blender::ui::resolve_label_multiline(), and blender::ui::widget_draw_multiline_text().
| FontStyleAlign blender::ui::ButtonLabel::text_align = UI_STYLE_TEXT_LEFT |
Definition at line 526 of file interface_intern.hh.
Referenced by blender::ui::Layout::label_multiline(), and blender::ui::widget_draw_multiline_text().
| std::shared_ptr<TextWrapCache> blender::ui::ButtonLabel::wrap_cache |
Wrap cache from last layout pass. This is also referenced in the button owning Block so it can be looked up and reused in following layout passes. Wrapped text references an allocated string, so it can't be just copied/moved around.
Definition at line 521 of file interface_intern.hh.
Referenced by blender::ui::invalidate_text_wrap_cache(), blender::ui::label_multiline_wrap_lines(), blender::ui::resolve_label_multiline(), and blender::ui::widget_draw_multiline_text().