|
Blender V5.3
|
#include <interface_intern.hh>
Public Member Functions | |
| std::ranges::transform_view< std::ranges::ref_view< const Vector< std::unique_ptr< Button > > >, Button &(*)(const std::unique_ptr< Button > &)> | buttons () const |
Window Matrix | |
| void | remove_but (const Button *but) |
| Button * | first_but () const |
| Button * | last_but () const |
| int | but_index (const Button *but) const |
| Button * | next_but (const Button *but) const |
| Button * | prev_but (const Button *but) const |
Static Public Member Functions | |
| static Button & | button_ptr_dereference (const std::unique_ptr< Button > &button) |
Definition at line 703 of file interface_intern.hh.
| int blender::ui::Block::but_index | ( | const Button * | but | ) | const |
Definition at line 276 of file interface.cc.
References blender::BLI_assert(), and buttons_ptrs.
Referenced by blender::ui::but_anim_decorate_find_attached_button(), blender::ui::but_next_non_separator(), blender::ui::button_find_select_in_enum(), blender::ui::button_next(), blender::ui::button_prev(), next_but(), prev_but(), remove_but(), blender::ui::textedit_next_but(), and blender::ui::textedit_prev_but().
|
inlinestatic |
Definition at line 836 of file interface_intern.hh.
Referenced by buttons().
|
inline |
A view of #Block::buttons_ptrs which allows range-based for loops as #Buttons references.
Definition at line 844 of file interface_intern.hh.
References button_ptr_dereference().
Referenced by blender::ui::apply_but_ROW(), blender::ui::block_active_but_get(), blender::ui::block_active_default_button_find(), blender::ui::block_active_only_flagged_buttons(), blender::ui::block_align_calc(), blender::ui::block_bounds_calc(), blender::ui::block_draw(), blender::ui::block_end_ex(), blender::ui::block_find_rna_text_button(), blender::ui::block_free(), blender::ui::block_func_POPOVER(), blender::ui::block_func_POPUP(), blender::ui::block_interaction_begin(), blender::ui::block_message_subscribe(), blender::ui::block_pie_dir_activate(), blender::ui::block_translate(), blender::ui::block_update_from_old(), blender::ui::block_view_find_matching_view_item_but_in_old_block(), blender::ui::but_find(), blender::ui::but_find_old(), blender::ui::but_find_open_event(), blender::ui::but_next_non_separator(), blender::ui::button_activate_exit(), blender::ui::button_drag_multi_edit_get(), blender::ui::button_find_mouse_over_ex(), blender::ui::button_find_new(), blender::ui::button_find_rect_over(), blender::ui::button_first(), blender::ui::button_last(), blender::ui::button_next(), blender::ui::button_prev(), blender::ui::button_section_bounds_calc(), blender::ui::colorband_buttons_layout(), blender::ui::colorpicker_hide_reveal(), blender::ui::colorpicker_wheel_cb(), blender::ui::context_active_but_prop_get_filebrowser(), blender::ui::context_button_active(), blender::ui::context_update_anim_flag(), blender::ui::drag_toggle_set_xy_xy(), blender::ui::find_first_view_item_but(), blender::ui::foreach_semi_modal_but_as_active(), blender::ui::handle_menu_event(), blender::ui::handle_viewlist_items_hover(), blender::ui::invalidate_text_wrap_cache(), blender::ui::item_enum_expand_tabs(), blender::ui::label_markdown_create_link_buttons(), blender::ui::layer_but_cb(), blender::ui::listbox_find_mouse_over_ex(), blender::ui::menu_block_set_keyaccels(), blender::ui::menu_block_set_keymaps(), blender::ui::menu_items_from_ui_create(), blender::ui::menu_scroll_apply_offset_y(), blender::ui::multibut_restore(), blender::ui::multibut_states_apply(), blender::ui::multibut_states_create(), blender::ui::multibut_states_tag(), blender::ui::offset_panel_block(), blender::ui::panel_category_show_tab(), blender::ui::panel_category_tabs_draw_all(), blender::ui::panel_remove_invisible_layouts_recursive(), blender::ui::pie_handler(), blender::ui::popup_block_clip(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), blender::ui::popup_block_scrolltest(), blender::ui::popup_menu_memory__internal(), blender::ui::popup_needs_update_for_unreg_srna_recursive(), blender::ui::region_find_first_but_test_flag(), blender::ui::template_operator_property_buts_draw_single(), blender::ui::textbutton_activate_but(), blender::ui::textedit_next_but(), blender::ui::textedit_prev_but(), blender::ui::UI_region_free_active_but_all(), blender::ui::uiTemplateKeymapItemProperties(), blender::ui::update_color_picker_buts_rgba(), blender::ui::update_flexible_spacing(), blender::ui::ViewLink::views_bounds_calc(), blender::ui::wm_searchbox_tooltip_init(), and blender::wm_xr_viewfinder_ui_block_draw().
|
nodiscard |
Definition at line 306 of file interface.cc.
References buttons_ptrs.
Referenced by blender::ui::block_bounds_calc(), blender::ui::block_is_empty_ex(), and blender::ui::Layout::prop().
|
nodiscard |
Definition at line 311 of file interface.cc.
References buttons_ptrs.
Referenced by blender::ui::block_can_add_separator(), blender::ui::popup_block_template_confirm_op(), and blender::ui::Layout::prop().
Definition at line 288 of file interface.cc.
References but_index(), and buttons_ptrs.
Referenced by blender::ui::block_is_empty_ex(), blender::ui::do_but_TOG(), blender::ui::draw_emboss(), and blender::ui::Layout::prop().
Definition at line 294 of file interface.cc.
References but_index(), and buttons_ptrs.
Referenced by blender::ui::def_but_rna__menu(), and blender::ui::do_but_TOG().
| void blender::ui::Block::remove_but | ( | const Button * | but | ) |
Definition at line 300 of file interface.cc.
References but_index(), and buttons_ptrs.
Referenced by blender::ui::button_active_only_ex().
| bool blender::ui::Block::active = false |
To keep blocks while drawing and free them afterwards.
Definition at line 782 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_end_ex(), blender::ui::block_layout_resolve(), blender::ui::block_post_layout_callbacks_exec(), blender::ui::block_region_set(), blender::ui::button_section_bounds_calc(), blender::ui::panel_remove_invisible_layouts_recursive(), blender::ui::panels_do_after_block_layout_fns(), and blender::ui::panels_end().
| BlockAlertLevel blender::ui::Block::alert_level = BlockAlertLevel::None |
Definition at line 737 of file interface_intern.hh.
Referenced by blender::ui::draw_dialog_alert(), blender::ui::draw_menu_back(), and blender::ui::uiItemsAlertBox().
| short blender::ui::Block::alignnr = 0 |
Definition at line 764 of file interface_intern.hh.
Referenced by blender::ui::block_align_begin(), and blender::ui::def_but().
| float blender::ui::Block::aspect = 0.0f |
Definition at line 735 of file interface_intern.hh.
Referenced by blender::ui::block_draw(), blender::ui::button_text_padding(), blender::ui::create_link_buttons_for_label(), blender::ui::def_but_rna__menu(), blender::ui::do_but_COLORBAND(), blender::ui::do_but_TEXTBOX(), blender::ui::do_but_textedit_select(), blender::ui::do_button(), blender::ui::draw_aligned_panel(), blender::ui::draw_but_CURVE(), blender::ui::draw_but_CURVEPROFILE(), blender::ui::draw_but_HSVCIRCLE(), blender::ui::draw_but_HSVCUBE(), blender::ui::draw_button(), blender::ui::draw_clip_tri(), blender::ui::draw_layout_panels_backdrop(), blender::ui::draw_menu_back(), blender::ui::draw_popover_back(), blender::ui::label_multiline_wrap_lines(), blender::ui::markdown_apply_button_height(), blender::ui::markdown_layout_key_for_button(), blender::ui::menu_scroll_step(), blender::ui::menu_scroll_test(), blender::ui::menu_scroll_to_but(), blender::ui::menu_scroll_to_y(), blender::ui::panel_category_tabs_draw_all(), blender::ui::panel_draw_aligned_backdrop(), blender::ui::panel_draw_border(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), blender::ui::popup_block_scrolltest(), blender::ui::search_menu_create_tooltip(), blender::ui::searchbox_create_generic_ex(), blender::ui::text_clip_middle(), blender::ui::text_clip_middle_protect_right(), blender::ui::text_icon_width_ex(), blender::ui::textbox_jump_line(), blender::ui::textbox_textedit_set_cursor_pos(), blender::ui::textbox_wrap_lines(), blender::ui::textbox_wrap_placeholder(), blender::ui::textedit_set_cursor_pos(), blender::ui::update_window_matrix(), blender::ui::widget_draw_icon(), blender::ui::widget_draw_multiline_text(), blender::ui::widget_draw_node_link_socket(), blender::ui::widget_draw_submenu_tria(), blender::ui::widget_draw_text_icon(), blender::ui::widget_draw_textbox(), and blender::wm_xr_viewfinder_ui_block_begin().
| bool blender::ui::Block::auto_open = false |
Definition at line 775 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_update_from_old(), blender::ui::button_activate_init(), blender::ui::button_activate_state(), and blender::ui::region_auto_open_clear().
| double blender::ui::Block::auto_open_last = 0.0 |
Definition at line 776 of file interface_intern.hh.
Referenced by blender::ui::block_open_end(), blender::ui::block_update_from_old(), and blender::ui::button_activate_init().
Custom extra event handling.
Definition at line 758 of file interface_intern.hh.
Referenced by blender::ui::block_func_COLOR(), and blender::ui::handle_menu_event().
| int blender::ui::Block::bounds = 0 |
for doing delayed
Definition at line 796 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc(), blender::ui::block_bounds_calc_popup(), blender::ui::block_bounds_calc_text(), blender::ui::block_bounds_set_centered(), blender::ui::block_bounds_set_menu(), blender::ui::block_bounds_set_normal(), blender::ui::block_bounds_set_popup(), blender::ui::block_bounds_set_text(), blender::ui::block_func_PIE(), and blender::ui::popup_block_refresh().
| int blender::ui::Block::bounds_offset[2] = {} |
Offset to use when calculating bounds (in pixels).
Definition at line 794 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc_popup(), blender::ui::block_bounds_set_menu(), blender::ui::block_bounds_set_popup(), blender::ui::block_func_PIE(), blender::ui::block_func_POPOVER(), and blender::ui::draw_popover_back().
| BlockBoundsCalc blender::ui::Block::bounds_type = BLOCK_BOUNDS_NONE |
for doing delayed
Definition at line 792 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_set_centered(), blender::ui::block_bounds_set_explicit(), blender::ui::block_bounds_set_menu(), blender::ui::block_bounds_set_normal(), blender::ui::block_bounds_set_popup(), blender::ui::block_bounds_set_text(), blender::ui::block_end_ex(), blender::ui::block_func_PIE(), blender::ui::popup_block_create(), and blender::ui::popup_block_refresh().
Used for UI_butstore_* runtime function.
Definition at line 714 of file interface_intern.hh.
Referenced by blender::ui::block_update_from_old(), blender::ui::but_update_from_old_block(), blender::ui::butstore_clear(), blender::ui::butstore_create(), blender::ui::butstore_free(), blender::ui::butstore_is_registered(), blender::ui::butstore_register_update(), and blender::ui::butstore_update().
| Vector<ButtonGroup> blender::ui::Block::button_groups |
Definition at line 716 of file interface_intern.hh.
Referenced by blender::ui::block_new_button_group(), blender::ui::block_search_filter_tag_buttons(), blender::ui::button_group_add_but(), blender::ui::button_group_replace_but_ptr(), blender::ui::panel_header_buttons_end(), and blender::ui::panel_remove_invisible_layouts_recursive().
Definition at line 706 of file interface_intern.hh.
Referenced by blender::ui::block_align_calc(), blender::ui::block_begin(), blender::ui::block_bounds_calc(), blender::ui::block_bounds_calc_text(), blender::ui::block_free(), blender::ui::block_update_from_old(), blender::ui::but_anim_decorate_find_attached_button(), but_index(), blender::ui::but_update_from_old_block(), blender::ui::button_find_select_in_enum(), blender::ui::def_but(), first_but(), blender::ui::image_find_in_old_block(), blender::ui::item_enum_expand_tabs(), last_but(), blender::ui::menu_items_from_ui_create(), next_but(), blender::ui::Layout::op_enum_items(), blender::ui::Layout::popover(), blender::ui::popup_block_position(), blender::ui::popup_block_scrolltest(), blender::ui::popup_block_template_confirm_op(), blender::ui::popup_context_menu_for_panel(), prev_but(), blender::ui::Layout::prop(), blender::ui::Layout::prop_with_menu(), blender::ui::Layout::prop_with_popover(), blender::ui::Layout::props_enum(), remove_but(), blender::ui::template_asset_shelf_popover(), blender::ui::try_activate_rna_button(), blender::ui::uiTemplateKeymapItemProperties(), blender::ui::uiTemplateStatusInfo(), and blender::ui::update_flexible_spacing().
| ColorPickerData blender::ui::Block::color_pickers |
Definition at line 816 of file interface_intern.hh.
Referenced by blender::ui::block_colorpicker_create(), blender::ui::block_free(), and blender::ui::block_update_from_old().
| short blender::ui::Block::content_hints = 0 |
Hints about the buttons of this block. Used to avoid iterating over buttons to find out if some criteria is met by any. Instead, check this criteria when adding the button and set a flag here if it's met.
Definition at line 768 of file interface_intern.hh.
Referenced by blender::ui::but_submenu_enable(), blender::ui::popup_block_position(), and blender::ui::widget_draw_text_icon().
| Vector<std::unique_ptr<bContextStore> > blender::ui::Block::contexts |
Definition at line 721 of file interface_intern.hh.
Referenced by blender::ui::button_context_int_set(), blender::ui::button_context_ptr_set(), blender::ui::Layout::context_copy(), blender::ui::Layout::context_int_set(), blender::ui::Layout::context_ptr_set(), blender::ui::Layout::context_string_set(), and blender::ui::def_but_rna().
Definition at line 719 of file interface_intern.hh.
Referenced by blender::ui::block_layout(), blender::ui::block_layout_resolve(), blender::ui::block_layout_set_current(), blender::ui::def_but(), blender::ui::item_enum_expand_elem_exec(), blender::ui::item_enum_expand_exec(), blender::ui::layout_add_padding_button(), and blender::ui::Layout::textbox_with_state().
| BlockInteraction_CallbackData blender::ui::Block::custom_interaction_callbacks = {} |
Custom interaction data.
Definition at line 755 of file interface_intern.hh.
Referenced by blender::ui::apply_but(), blender::ui::apply_but_func(), blender::ui::block_interaction_begin(), blender::ui::block_interaction_begin_ensure(), blender::ui::block_interaction_set(), and blender::ui::button_activate_exit().
| char blender::ui::Block::direction = 0 |
Definition at line 770 of file interface_intern.hh.
Referenced by blender::ui::block_direction_set(), blender::ui::block_func_COLOR(), blender::ui::block_func_POPOVER(), blender::ui::block_func_POPUP(), blender::ui::draw_menu_back(), blender::ui::draw_popover_back(), blender::ui::handle_menu_event(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), and blender::ui::Layout::separator_spacer().
| char blender::ui::Block::display_device[64] = "" |
Display device name used to display this block, used by color widgets to transform colors from/to scene linear.
Definition at line 825 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), and blender::ui::block_cm_display_get().
Custom extra draw function for custom blocks.
Definition at line 761 of file interface_intern.hh.
Referenced by blender::ui::button_func_drawextra_set(), and blender::ui::widget_draw_extra_mask().
| ListBaseT<BlockDynamicListener> blender::ui::Block::dynamic_listeners = {nullptr, nullptr} |
Definition at line 728 of file interface_intern.hh.
Referenced by blender::ui::block_add_dynamic_listener(), blender::ui::block_free(), and blender::ui::block_listen().
| EmbossType blender::ui::Block::emboss = EmbossType::Emboss |
Copied to #Button.emboss
Definition at line 774 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_emboss_get(), blender::ui::block_emboss_set(), blender::ui::def_but(), blender::ui::Layout::emboss(), and blender::ui::item_array().
| bool blender::ui::Block::endblock = false |
True when block_end has been called.
Definition at line 786 of file interface_intern.hh.
Referenced by blender::ui::block_active_only_flagged_buttons(), blender::ui::block_draw(), blender::ui::block_end_ex(), and blender::ui::popup_block_refresh().
| void* blender::ui::Block::evil_C = nullptr |
XXX hack for dynamic operator enums
Definition at line 810 of file interface_intern.hh.
Referenced by blender::ui::AbstractViewItem::add_rename_button(), blender::ui::apply_but_undo(), blender::ui::block_begin(), blender::ui::but_get_fcurve(), blender::ui::but_update_ex(), blender::ui::button_anim_expression_create(), blender::ui::button_anim_expression_set(), blender::ui::button_func_menu_search(), blender::ui::button_menu_step(), blender::ui::button_search_refresh(), blender::ui::button_string_get_dynamic(), blender::ui::button_string_get_ex(), blender::ui::button_string_set(), blender::ui::def_but_icon(), blender::ui::def_but_rna(), blender::ui::def_but_rna__menu(), blender::ui::get_but_scale_unit(), blender::ui::item_enum_expand_exec(), blender::ui::item_rna_size(), blender::ui::item_with_label(), blender::ui::label_markdown_dev_config(), blender::ui::layout_introspect_button(), blender::ui::Layout::menu(), blender::ui::Layout::menu_contents(), blender::ui::menu_items_from_ui_create_item_from_button(), blender::ui::numedit_but_NUM(), blender::ui::numedit_but_SLI(), blender::ui::Layout::op_enum(), blender::ui::Layout::prop(), blender::ui::Layout::props_enum(), and blender::ui::template_icon_view().
| int blender::ui::Block::flag = 0 |
Definition at line 763 of file interface_intern.hh.
Referenced by blender::ui::block_align_begin(), blender::ui::block_align_end(), blender::ui::block_begin(), blender::ui::block_bounds_calc_popup(), blender::ui::block_draw(), blender::ui::block_end_ex(), blender::ui::block_find_mouse_over_ex(), blender::ui::block_flag_disable(), blender::ui::block_flag_enable(), blender::ui::block_func_COLOR(), blender::ui::block_func_POPUP(), blender::ui::block_is_menu(), blender::ui::block_is_pie_menu(), blender::ui::block_is_popover(), blender::ui::block_is_popup_any(), blender::ui::block_is_search_only(), blender::ui::block_pie_dir_activate(), blender::ui::block_set_search_only(), blender::ui::but_update_ex(), blender::ui::button_activate_exit(), blender::ui::button_activate_state(), blender::ui::button_find_mouse_over_ex(), blender::ui::button_find_rect_over(), blender::ui::button_func_search_set(), blender::ui::def_but(), blender::ui::draw_button(), blender::ui::draw_clip_tri(), blender::ui::draw_menu_back(), blender::ui::handle_button_event(), blender::ui::handle_menu_event(), blender::ui::handle_menu_mmb_event(), blender::ui::handle_menu_return_submenu(), blender::ui::handle_menus_recursive(), blender::ui::item_menu_hold(), blender::ui::menu_block_set_keymaps(), blender::ui::menu_scroll_step(), blender::ui::menu_scroll_test(), blender::ui::menu_scroll_to_but(), blender::ui::mouse_motion_towards_check(), blender::ui::pie_menu_begin(), blender::ui::popup_block_clip(), blender::ui::popup_block_free(), blender::ui::popup_block_refresh(), blender::ui::popup_block_scrolltest(), blender::ui::popup_block_template_confirm(), blender::ui::popup_block_template_confirm_is_supported(), blender::ui::popup_handler(), blender::ui::popup_menu_create_block(), blender::ui::Layout::prop(), blender::ui::region_winrct_get_no_margin(), blender::ui::searchbox_create_generic_ex(), blender::ui::searchbox_region_layout_fn(), blender::ui::template_operator_property_buts_draw_single(), blender::ui::textedit_begin(), blender::ui::tooltip_data_from_tool(), blender::ui::try_activate_rna_button(), blender::ui::uiItem_simple(), and blender::ui::widget_draw_text_icon().
| ButtonHandleFunc blender::ui::Block::func = nullptr |
Definition at line 742 of file interface_intern.hh.
Referenced by blender::ui::block_func_set(), blender::ui::def_but(), and blender::ui::item_enum_expand_elem_exec().
| void* blender::ui::Block::func_arg1 = nullptr |
Definition at line 743 of file interface_intern.hh.
Referenced by blender::ui::block_func_set(), and blender::ui::def_but().
| void* blender::ui::Block::func_arg2 = nullptr |
Definition at line 744 of file interface_intern.hh.
Referenced by blender::ui::block_func_set(), blender::ui::block_funcN_set(), and blender::ui::def_but().
| void* blender::ui::Block::func_argN = nullptr |
Definition at line 747 of file interface_intern.hh.
Referenced by blender::ui::block_free(), blender::ui::block_funcN_set(), and blender::ui::def_but().
| ButtonArgNCopy blender::ui::Block::func_argN_copy_fn = nullptr |
Definition at line 749 of file interface_intern.hh.
Referenced by blender::ui::block_funcN_set(), and blender::ui::def_but().
| ButtonArgNFree blender::ui::Block::func_argN_free_fn = nullptr |
Definition at line 748 of file interface_intern.hh.
Referenced by blender::ui::block_free(), blender::ui::block_funcN_set(), and blender::ui::def_but().
| ButtonHandleNFunc blender::ui::Block::funcN = nullptr |
Definition at line 746 of file interface_intern.hh.
Referenced by blender::ui::block_funcN_set(), and blender::ui::def_but().
| PopupBlockHandle* blender::ui::Block::handle = nullptr |
Definition at line 802 of file interface_intern.hh.
Referenced by blender::ui::afterfunc_check(), blender::ui::apply_but_func(), blender::ui::block_bounds_calc_post_centered(), blender::ui::block_end_ex(), blender::ui::block_func_POPOVER(), blender::ui::block_func_POPUP(), blender::ui::block_open_begin(), blender::ui::block_region_set(), blender::ui::but_event_property_operator_string(), blender::ui::button_activate_exit(), blender::ui::button_activate_state(), blender::ui::colorpicker_hex_rna_cb(), blender::ui::colorpicker_hsv_linear_slider_update_cb(), blender::ui::colorpicker_hsv_perceptual_slider_update_cb(), blender::ui::colorpicker_rgb_perceptual_slider_update_cb(), blender::ui::colorpicker_rgba_update_cb(), blender::ui::colorpicker_wheel_cb(), blender::ui::def_but_rna__menu(), blender::ui::do_but_BUT(), blender::ui::handle_afterfunc_add_operator_ex(), blender::ui::handle_button_event(), blender::ui::menu_scroll_apply_offset_y(), blender::ui::paneltype_draw_impl(), blender::ui::popover_begin(), blender::ui::popover_keymap_fn(), blender::ui::popover_panel_invoke(), blender::ui::popup_block_close(), blender::ui::popup_block_create(), blender::ui::popup_block_free(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), blender::ui::popup_block_scrolltest(), blender::ui::popup_block_template_close_cb(), blender::ui::popup_close_cb(), blender::ui::popup_context_menu_for_button(), blender::ui::popup_menu_begin_ex(), blender::ui::popup_menu_end_or_cancel(), blender::ui::popup_menu_retval_set(), blender::ui::popup_region_from_operator(), blender::ui::popup_translate(), and blender::ui::shortcut_get_operator_property().
| BlockHandleFunc blender::ui::Block::handle_func = nullptr |
Definition at line 751 of file interface_intern.hh.
Referenced by blender::ui::afterfunc_check(), blender::ui::apply_but_func(), blender::ui::block_func_handle_set(), and blender::ui::context_active_but_prop_handle().
| void* blender::ui::Block::handle_func_arg = nullptr |
Definition at line 752 of file interface_intern.hh.
Referenced by blender::ui::apply_but_func(), blender::ui::block_func_handle_set(), and blender::ui::context_active_but_prop_handle().
| bool blender::ui::Block::is_color_gamma_picker = false |
Block for color picker with gamma baked in.
Definition at line 819 of file interface_intern.hh.
Referenced by blender::ui::block_colorpicker(), blender::ui::block_func_COLOR(), blender::ui::button_is_color_gamma(), blender::ui::colorpicker_hide_reveal(), blender::ui::colorpicker_hsv_perceptual_slider_update_cb(), blender::ui::colorpicker_rgb_perceptual_slider_update_cb(), blender::ui::colorpicker_wheel_cb(), and blender::ui::update_color_picker_buts_rgba().
| ListBaseT<LayoutRoot> blender::ui::Block::layouts = {nullptr, nullptr} |
Definition at line 718 of file interface_intern.hh.
Referenced by blender::ui::block_end_ex(), blender::ui::block_layout(), blender::ui::block_layout_free(), blender::ui::block_layout_needs_resolving(), and blender::ui::block_layout_resolve().
| bool blender::ui::Block::lock = false |
Definition at line 780 of file interface_intern.hh.
Referenced by blender::ui::block_lock_clear(), blender::ui::block_lock_set(), and blender::ui::def_but().
| const char* blender::ui::Block::lockstr = nullptr |
Definition at line 778 of file interface_intern.hh.
Referenced by blender::ui::block_lock_clear(), blender::ui::block_lock_set(), and blender::ui::def_but().
| Vector<std::shared_ptr<MarkdownLayoutCache> > blender::ui::Block::markdown_layout_cache |
Definition at line 708 of file interface_intern.hh.
Referenced by blender::ui::invalidate_text_wrap_cache(), and blender::ui::label_markdown_resolve().
| int blender::ui::Block::minbounds = 0 |
Definition at line 796 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc(), blender::ui::block_bounds_calc_text(), blender::ui::block_func_PIE(), blender::ui::block_func_POPOVER(), and blender::ui::block_func_POPUP().
| std::string blender::ui::Block::name |
Definition at line 730 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_region_set(), blender::ui::menu_block_set_keymaps(), blender::ui::menu_items_from_ui_create(), blender::ui::popup_block_name_exists(), and blender::ui_imageuser_layer_menu().
Definition at line 704 of file interface_intern.hh.
Definition at line 711 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_region_set(), blender::ui::block_update_from_old(), blender::ui::block_view_find_matching_in_old_block_impl(), blender::ui::block_view_find_matching_view_item_but_in_old_block(), blender::ui::but_update_from_old_block(), blender::ui::butstore_update(), blender::ui::button_active_only_ex(), blender::ui::image_find_in_old_block(), blender::ui::label_markdown_resolve(), blender::ui::label_multiline_wrap_lines(), blender::ui::popup_block_refresh(), blender::ui::template_operator_property_buts_draw_single(), and blender::ui::AbstractView::update_from_old().
Definition at line 710 of file interface_intern.hh.
Referenced by blender::ui::block_apply_search_filter(), blender::ui::block_bounds_calc(), blender::ui::block_draw(), blender::ui::block_end_ex(), blender::ui::block_region_set(), blender::ui::block_search_panel_label_matches(), blender::ui::block_to_region_fl(), blender::ui::draw_aligned_panel(), blender::ui::draw_constraint_header(), blender::ui::handle_layout_panel_header(), blender::ui::handle_menus_recursive(), blender::ui::handle_panel_header(), blender::ui::handler_panel_region(), blender::ui::menu_scroll_apply_offset_y(), blender::ui::offset_panel_block(), blender::ui::panel_begin(), blender::ui::panel_drag_collapse(), blender::ui::panel_label_offset(), blender::ui::panels_do_after_block_layout_fns(), blender::ui::panels_end(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), blender::ui::popup_dummy_panel_set(), blender::ui::region_panel_custom_data_under_cursor(), blender::ui::Layout::root_panel(), blender::ui::searchbox_region_layout_fn(), blender::ui::template_collection_exporters(), blender::ui::template_operator_redo_properties(), and blender::ui::window_to_block_fl().
| std::unique_ptr<PieMenuData> blender::ui::Block::pie_data |
Definition at line 827 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc_centered_pie(), blender::ui::block_calc_pie_segment(), blender::ui::block_func_PIE(), blender::ui::block_layout(), blender::ui::but_isect_pie_seg(), blender::ui::draw_pie_center(), blender::ui::handle_menus_recursive(), blender::ui::pie_handler(), blender::ui::pie_menu_begin(), blender::ui::pie_menu_level_create(), blender::ui::popup_block_refresh(), blender::ui::popup_handler(), blender::ui::LayoutRadial::resolve_impl(), and blender::ui::widget_menu_pie_itembut().
| bool blender::ui::Block::post_block_layout_fns_pending = false |
True when block_end has been called with #postpone_callbacks set to true, block_post_layout_callbacks_exec must be called.
Definition at line 789 of file interface_intern.hh.
Referenced by blender::ui::block_end_ex(), blender::ui::block_free(), blender::ui::block_post_layout_callbacks_exec(), and blender::ui::panels_do_after_block_layout_fns().
Definition at line 704 of file interface_intern.hh.
| uint blender::ui::Block::puphash = 0 |
Unique hash used to implement popup menu memory.
Definition at line 740 of file interface_intern.hh.
Referenced by blender::ui::pie_menu_begin(), blender::ui::popup_menu_create_block(), and blender::ui::popup_menu_memory__internal().
| rctf blender::ui::Block::rect = {} |
Definition at line 734 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc(), blender::ui::block_bounds_calc_centered(), blender::ui::block_bounds_calc_popup(), blender::ui::block_bounds_calc_post_centered(), blender::ui::block_bounds_set_explicit(), blender::ui::block_end_ex(), blender::ui::block_find_mouse_over_ex(), blender::ui::block_translate(), blender::ui::blocklist_min_y_get(), blender::ui::button_find_mouse_over_ex(), blender::ui::button_find_rect_over(), blender::ui::button_to_pixelrect(), blender::ui::draw_emboss(), blender::ui::draw_layout_panels_backdrop(), blender::ui::handle_menu_event(), blender::ui::handle_menu_mmb_event(), blender::ui::handle_menus_recursive(), blender::ui::handle_panel_header(), blender::ui::layout_panel_header_under_mouse(), blender::ui::menu_block_set_keyaccels(), blender::ui::menu_block_set_keymaps(), blender::ui::menu_scroll_step(), blender::ui::menu_scroll_test(), blender::ui::menu_scroll_to_but(), blender::ui::menu_scroll_to_y(), blender::ui::mouse_motion_towards_check(), blender::ui::numedit_but_TRACKPREVIEW(), blender::ui::offset_panel_block(), blender::ui::panel_drag_collapse(), blender::ui::panel_mouse_state_get(), blender::ui::popup_block_clip(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), blender::ui::popup_block_scrolltest(), blender::ui::region_winrct_get_no_margin(), and blender::ui::searchbox_region_layout_fn().
| ListBaseT<SafetyRect> blender::ui::Block::saferct = {nullptr, nullptr} |
Definition at line 800 of file interface_intern.hh.
Referenced by blender::ui::block_free(), blender::ui::handle_menu_event(), blender::ui::popup_block_position(), blender::ui::popup_block_refresh(), and blender::ui::popup_translate().
| rctf blender::ui::Block::safety = {} |
Pull-downs, to detect outside, can differ per case how it is created.
Definition at line 799 of file interface_intern.hh.
Referenced by blender::ui::block_bounds_calc(), blender::ui::popup_block_position(), and blender::ui::popup_block_refresh().
| Vector<std::shared_ptr<TextWrapCache> > blender::ui::Block::text_wrap_cache |
Definition at line 707 of file interface_intern.hh.
Referenced by blender::ui::invalidate_text_wrap_cache(), and blender::ui::label_multiline_wrap_lines().
| char blender::ui::Block::theme_style = 0 |
BLOCK_THEME_STYLE_*
Definition at line 772 of file interface_intern.hh.
Referenced by blender::ui::block_theme_style_set(), and blender::ui::draw_button().
| bool blender::ui::Block::tooltipdisabled = false |
To avoid tool-tip after click.
Definition at line 784 of file interface_intern.hh.
Referenced by blender::ui::block_update_from_old(), blender::ui::blocks_set_tooltips(), blender::ui::button_activate_exit(), blender::ui::button_tooltip_timer_reset(), and blender::ui::popup_block_create().
| wmOperator* blender::ui::Block::ui_operator = nullptr |
use so presets can find the operator, across menus and from nested popups which fail for operator context.
Definition at line 806 of file interface_intern.hh.
Referenced by blender::ui::block_free_active_operator(), blender::ui::block_set_active_operator(), and blender::ui::context_active_operator_get().
| bool blender::ui::Block::ui_operator_free = false |
Definition at line 807 of file interface_intern.hh.
Referenced by blender::ui::block_free_active_operator(), and blender::ui::block_set_active_operator().
| const UnitSettings* blender::ui::Block::unit = nullptr |
unit system, used a lot for numeric buttons so include here rather than fetching through the scene every time.
Definition at line 814 of file interface_intern.hh.
Referenced by blender::ui::block_begin(), blender::ui::block_free(), blender::ui::but_is_unit_radians(), blender::ui::button_convert_to_unit_alt_name(), blender::ui::button_edit_string_include_unit_suffix(), blender::ui::button_is_unit(), blender::ui::format_unit_value(), blender::ui::get_but_scale_unit(), blender::ui::get_but_step_unit(), blender::ui::get_but_string_unit(), blender::ui::number_from_string_units_with_but(), and blender::ui::numedit_apply_snapf().
A block can store "views" on data-sets. Currently tree-views (AbstractTreeView) only. Others are imaginable, e.g. table-views, grid-views, etc. These are stored here to support state that is persistent over redraws (e.g. collapsed tree-view items).
Definition at line 726 of file interface_intern.hh.
Referenced by blender::ui::block_add_view_impl(), blender::ui::block_free_views(), blender::ui::block_view_find_idname(), blender::ui::block_view_find_matching_in_old_block_impl(), blender::ui::block_view_persistent_state_restore(), blender::ui::block_views_draw_overlays(), blender::ui::block_views_end(), blender::ui::block_views_listen(), blender::ui::handle_viewlist_items_hover(), blender::ui::region_view_find_at(), blender::ui::region_views_clear_search_highlight(), and blender::ui::ViewLink::views_bounds_calc().
| float blender::ui::Block::winmat[4][4] = {} |