|
Blender V5.0
|
#include "interface_intern.hh"Go to the source code of this file.
Functions | |
Button Groups | |
| void | ui_block_new_button_group (uiBlock *block, uiButtonGroupFlag flag) |
| void | ui_button_group_add_but (uiBlock *block, uiBut *but) |
| void | ui_button_group_replace_but_ptr (uiBlock *block, const uiBut *old_but_ptr, uiBut *new_but) |
| void ui_block_new_button_group | ( | uiBlock * | block, |
| uiButtonGroupFlag | flag ) |
Every function that adds a set of buttons must create another group, then ui_def_but adds buttons to the current group (the last).
Definition at line 15 of file interface_button_group.cc.
References Vector< T, InlineBufferCapacity, Allocator >::append(), uiBlock::button_groups, flag, uiButtonGroup::flag, Vector< T, InlineBufferCapacity, Allocator >::is_empty(), Vector< T, InlineBufferCapacity, Allocator >::last(), and UI_BUTTON_GROUP_LOCK.
Referenced by uiLayout::prop(), uiLayout::prop_search(), ui_button_group_add_but(), ui_item_menu(), UI_panel_header_buttons_begin(), UI_panel_header_buttons_end(), uiItem_simple(), and uiItemFullO_ptr_ex().
Definition at line 29 of file interface_button_group.cc.
References Vector< T, InlineBufferCapacity, Allocator >::append(), uiBlock::button_groups, uiButtonGroup::buttons, Vector< T, InlineBufferCapacity, Allocator >::is_empty(), Vector< T, InlineBufferCapacity, Allocator >::last(), and ui_block_new_button_group().
Referenced by blender::ui::LayoutInternal::layout_add_but().
| void ui_button_group_replace_but_ptr | ( | uiBlock * | block, |
| const uiBut * | old_but_ptr, | ||
| uiBut * | new_but ) |
Definition at line 39 of file interface_button_group.cc.
References Vector< T, InlineBufferCapacity, Allocator >::begin(), uiBlock::button_groups, uiButtonGroup::buttons, Vector< T, InlineBufferCapacity, Allocator >::end(), and ptr.
Referenced by ui_but_change_type(), and ui_but_update_from_old_block().