|
Blender V5.3
|
Static Public Member Functions | |
Layout Items | |
| static void | init_from_parent (Layout *item, Layout *layout, int align) |
| static void | layout_estimate (Layout *layout) |
| static void | layout_resolve (Layout *layout) |
Layout | |
| static void | layout_add_but (Layout *layout, Button *but) |
| static void | layout_remove_but (Layout *layout, const Button *but) |
| static ButtonItem * | layout_find_button_item (const Layout *layout, const Button *but) |
Button Items | |
| static Layout * | item_prop_split_layout_hack (Layout *layout_parent, Layout *layout_split) |
Item | |
| static void | layout_offset_size_set (Layout *layout, int x, int y, int w, int h) |
| static void | layout_move (Layout *layout, int delta_xmin, int delta_xmax) |
| static void | layout_translate_y (Layout *layout, int delta) |
| static void | layout_space_set (Layout *layout, int space) |
| static int | layout_space_get (Layout *layout) |
Helper internal struct to provide Layout private/protected access.
Definition at line 178 of file interface_layout.cc.
|
static |
Definition at line 5110 of file interface_layout.cc.
References blender::ui::Layout::active_, blender::ui::Layout::align_, blender::ui::Layout::child_items_layout_, blender::ui::Layout::context_, blender::ui::Layout::emboss_, blender::ui::Layout::enabled_, blender::ui::Item::flag_, blender::ui::InsidePropSep, blender::ui::Layout::items_, blender::ui::LayoutGridFlow, blender::ui::Layout::parent_, blender::ui::PropDecorate, blender::ui::PropSep, blender::ui::Layout::redalert_, blender::ui::Layout::root_, blender::ui::Item::type(), blender::ui::Layout::variable_size_, and blender::ui::Layout::w_.
Referenced by blender::ui::Layout::absolute(), blender::ui::Layout::column(), blender::ui::Layout::column_flow(), blender::ui::Layout::grid_flow(), blender::ui::layout_box(), blender::ui::Layout::menu_pie(), blender::ui::Layout::overlap(), blender::ui::Layout::panel_prop(), blender::ui::Layout::row(), and blender::ui::Layout::split().
|
static |
Hack to add further items in a row into the second part of the split layout, so the label part keeps a fixed size.
Definition at line 1966 of file interface_layout.cc.
References blender::ui::Layout::child_items_layout_, blender::ui::ItemInternal::inside_property_split_set(), blender::ui::LayoutRow, blender::ui::Layout::row(), blender::ui::Item::type(), and blender::ui::Layout::use_property_split_set().
Referenced by blender::ui::Layout::prop(), and blender::ui::uiItemPropertySplitWrapperCreate().
Definition at line 6030 of file interface_layout.cc.
References blender::ui::Layout::block(), blender::ui::ButtonItem::but, blender::ui::button_group_add_but(), blender::ui::Layout::child_items_layout_, blender::ui::Button::context, blender::ui::Layout::context_, blender::ui::Button::emboss, blender::ui::Layout::emboss_, blender::ui::Item::fixed_size_set(), blender::ui::Layout::items_, blender::ui::Button::layout, blender::ui::Button::search_weight, blender::ui::Layout::search_weight_, blender::ui::Item::size(), blender::ui::Button::str, UI_UNIT_X, blender::ui::Undefined, and blender::bContextStore::used.
Referenced by blender::ui::layout_add_but().
|
static |
Definition at line 3903 of file interface_layout.cc.
References blender::ui::Layout::estimate().
Referenced by blender::ui::layout_end().
|
static |
Definition at line 6068 of file interface_layout.cc.
References blender::ui::ButtonItem::but, blender::ui::Button, blender::ui::Layout::child_items_layout_, blender::ui::Layout::items(), and layout_find_button_item().
Referenced by layout_find_button_item(), and blender::ui::layout_replace_but_ptr().
|
static |
Definition at line 575 of file interface_layout.cc.
References blender::ui::Layout::w_, and blender::ui::Layout::x_.
Referenced by blender::ui::item_move().
|
static |
Definition at line 527 of file interface_layout.cc.
References blender::ui::Layout::h_, w(), blender::ui::Layout::w_, blender::x, blender::ui::Layout::x_, y, and blender::ui::Layout::y_.
Referenced by blender::ui::block_layout(), and blender::ui::item_position().
Definition at line 6094 of file interface_layout.cc.
References blender::BLI_assert(), blender::ui::ButtonItem::but, blender::ui::Button, blender::ui::Layout::child_items_layout_, blender::ui::Layout::items_, blender::blender::Vector< T, InlineBufferCapacity, Allocator >::remove_if(), and UNUSED_VARS_NDEBUG.
Referenced by blender::ui::layout_remove_but().
|
static |
Definition at line 3908 of file interface_layout.cc.
References blender::ui::Layout::resolve(), blender::ui::Layout::resolve_dynamic_height(), blender::ui::Layout::root_, and blender::ui::LayoutRoot::use_dynamic_height.
Referenced by blender::ui::layout_end().
|
static |
Definition at line 590 of file interface_layout.cc.
References blender::ui::Layout::space_.
Referenced by blender::ui::LayoutItemPanelBody::resolve_dynamic_height(), and blender::ui::LayoutItemPanelBody::resolve_impl().
|
static |
Definition at line 585 of file interface_layout.cc.
References blender::ui::Layout::space_.
Referenced by blender::ui::block_layout(), blender::ui::item_local_sublayout(), blender::ui::item_with_label(), and blender::ui::layout_box().
|
static |
Definition at line 535 of file interface_layout.cc.
References blender::ui::Layout::y_.
Referenced by blender::ui::item_translate_y().