|
Blender V4.3
|
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 17 of file interface_button_group.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), uiBlock::button_groups, flag, uiButtonGroup::flag, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), and UI_BUTTON_GROUP_LOCK.
Referenced by ui_button_group_add_but(), ui_item_menu(), UI_panel_header_buttons_begin(), UI_panel_header_buttons_end(), uiItemFullO_ptr_ex(), uiItemFullR(), uiItemL_(), and uiItemPointerR_prop().
Definition at line 31 of file interface_button_group.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), uiBlock::button_groups, uiButtonGroup::buttons, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), and ui_block_new_button_group().
Referenced by ui_layout_add_but().
| void ui_button_group_replace_but_ptr | ( | uiBlock * | block, |
| const uiBut * | old_but_ptr, | ||
| uiBut * | new_but ) |
Definition at line 41 of file interface_button_group.cc.
References uiBlock::button_groups, and ptr.
Referenced by ui_but_change_type(), and ui_but_update_from_old_block().