|
Blender V5.3
|
#include <UI_interface_layout.hh>
Inherited by blender::ui::ButtonItem, and blender::ui::Layout.
Public Member Functions | |
| Item (const Item &)=default | |
| virtual | ~Item ()=default |
Structs and Defines | |
| Item (ItemType type) | |
| ItemType | type () const |
Layout | |
| bool | fixed_size () const |
| void | fixed_size_set (bool fixed_size) |
Item | |
| int2 | size () const |
| int2 | offset () const |
Protected Attributes | |
| ItemInternalFlag | flag_ = {} |
| ItemType | type_ = {} |
Friends | |
| struct | ItemInternal |
Definition at line 74 of file UI_interface_layout.hh.
| blender::ui::Item::Item | ( | ItemType | type | ) |
Definition at line 194 of file interface_layout.cc.
Referenced by blender::ui::ButtonItem::ButtonItem(), blender::ui::Layout::estimate(), Item(), blender::ui::Layout::Layout(), blender::ui::Layout::menu_pie(), blender::ui::Layout::resolve(), and blender::ui::Layout::resolve_dynamic_height().
|
default |
References Item().
|
virtualdefault |
References fixed_size(), fixed_size_set(), offset(), size(), and type().
|
nodiscard |
Definition at line 6132 of file interface_layout.cc.
References blender::ui::FixedSize, and flag_.
Referenced by blender::ui::LayoutColumn::estimate_impl(), fixed_size_set(), blender::ui::LayoutRow::resolve_impl(), and ~Item().
| void blender::ui::Item::fixed_size_set | ( | bool | fixed_size | ) |
Definition at line 6127 of file interface_layout.cc.
References fixed_size(), blender::ui::FixedSize, flag_, and SET_FLAG_FROM_TEST.
Referenced by blender::ui::LayoutColumn::estimate_impl(), blender::ui::LayoutItemSplit::estimate_impl(), blender::ui::LayoutRow::estimate_impl(), blender::file_panel_execution_cancel_button(), blender::file_panel_execution_execute_button(), blender::ui::LayoutInternal::layout_add_but(), blender::ed::asset::shelf::popover_panel_draw(), blender::ui::template_filepath_split_name_buttons(), blender::ui::text_icon_width_ex(), blender::ui::uiLayoutListItemAddPadding(), and ~Item().
|
nodiscard |
Definition at line 501 of file interface_layout.cc.
References blender::ui::ButtonItem::but, blender::ui::Button, blender::ui::Button::rect, type(), blender::rctf::xmin, and blender::rctf::ymin.
Referenced by ~Item().
|
nodiscard |
Definition at line 482 of file interface_layout.cc.
References blender::BLI_rctf_size_x(), blender::BLI_rctf_size_y(), blender::ui::ButtonItem::but, blender::ui::Button, blender::ui::Button::rect, size(), and type().
Referenced by blender::ui::LayoutColumn::estimate_impl(), blender::ui::LayoutItemPanelHeader::estimate_impl(), blender::ui::LayoutInternal::layout_add_but(), blender::ui::Layout::resolve_dynamic_height(), blender::ui::LayoutColumn::resolve_impl(), blender::ui::LayoutItemPanelHeader::resolve_impl(), blender::ui::LayoutRootPieMenu::resolve_impl(), size(), and ~Item().
|
nodiscard |
Definition at line 196 of file interface_layout.cc.
References type_.
Referenced by blender::ui::Layout::context_ptr_get(), blender::ui::LayoutColumn::estimate_impl(), blender::ui::LayoutItemBx::estimate_impl(), blender::ui::LayoutRow::estimate_impl(), blender::ui::LayoutInternal::init_from_parent(), Item(), blender::ui::item_enum_expand_exec(), blender::ui::item_is_radial_displayable(), blender::ui::item_move(), blender::ui::item_position(), blender::ui::LayoutInternal::item_prop_split_layout_hack(), blender::ui::item_translate_y(), blender::ui::Layout::Layout(), blender::ui::layout_is_radial(), blender::ui::LayoutColumn::LayoutColumn(), blender::ui::LayoutRow::LayoutRow(), blender::ui::Layout::link(), blender::ui::Layout::local_direction(), offset(), blender::ui::Layout::prop(), blender::ui::Layout::prop_search(), blender::ui::Layout::prop_with_menu(), blender::ui::Layout::resolve_dynamic_height(), blender::ui::LayoutColumn::resolve_impl(), blender::ui::LayoutItemBx::resolve_impl(), blender::ui::LayoutRootPieMenu::resolve_impl(), blender::ui::Layout::separator(), size(), blender::ui::spaces_after_column_item(), blender::ui::uiLayoutEndsWithPanelHeader(), and ~Item().
|
friend |
Definition at line 92 of file UI_interface_layout.hh.
References ItemInternal.
Referenced by ItemInternal.
|
protected |
Definition at line 89 of file UI_interface_layout.hh.
Referenced by blender::ui::ItemInternal::auto_fixed_size(), blender::ui::ItemInternal::auto_fixed_size_set(), blender::ui::ItemInternal::box_item(), blender::ui::ItemInternal::box_item_set(), fixed_size(), fixed_size_set(), blender::ui::LayoutInternal::init_from_parent(), blender::ui::ItemInternal::inside_property_split_set(), blender::ui::Layout::panel_prop_with_bool_header(), blender::ui::Layout::prop(), blender::ui::Layout::use_property_decorate(), blender::ui::ItemInternal::use_property_decorate_no_pad(), blender::ui::Layout::use_property_decorate_set(), blender::ui::Layout::use_property_split(), and blender::ui::Layout::use_property_split_set().
|
protected |
Definition at line 90 of file UI_interface_layout.hh.
Referenced by Item(), blender::ui::Layout::panel_prop(), and type().