|
Blender V5.0
|
#include <interface_intern.hh>
Inherited by uiButColor, uiButColorBand, uiButCurveMapping, uiButCurveProfile, uiButDecorator, uiButHSVCube, uiButHotkeyEvent, uiButLabel, uiButNumber, uiButNumberSlider, uiButProgress, uiButScrollBar, uiButSearch, uiButSeparatorLine, uiButTab, and uiButViewItem.
Public Member Functions | |
| uiBut ()=default | |
| uiBut (const uiBut &other)=default | |
| uiBut & | operator= (const uiBut &other)=default |
| virtual | ~uiBut ()=default |
Definition at line 172 of file interface_intern.hh.
|
default |
Referenced by operator=(), and uiBut().
|
default |
Performs a mostly shallow copy for now. Only contained C++ types are deep copied.
References uiBut().
|
virtualdefault |
Mostly shallow copy, just like copy constructor above.
References uiBut().
| uiHandleButtonData* uiBut::active = nullptr |
uiButExtraOpIcon Active button data, set when the user is hovering or interacting with a button (UI_HOVER and UI_SELECT state mostly).
Definition at line 317 of file interface_intern.hh.
Referenced by button_activate_exit(), button_activate_init(), button_activate_state(), button_tooltip_timer_reset(), ui_apply_but_func(), ui_but_active_free(), UI_but_active_only_ex(), ui_but_active_string_clear_and_exit(), ui_but_execute_begin(), ui_but_execute_end(), ui_but_extra_icons_update_from_old_but(), ui_but_extra_operator_icon_apply(), ui_but_free(), ui_but_is_editing(), ui_but_menu_direction(), ui_but_paste_text(), ui_but_pie_button_activate(), ui_but_pie_menu_apply(), ui_but_set_string_interactive(), ui_but_tooltip_init(), UI_but_tooltip_refresh(), UI_but_tooltip_timer_remove(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), ui_but_update_view_for_active(), ui_can_activate_other_menu(), ui_context_button_active(), UI_context_update_anim_flag(), ui_do_but_HOTKEYEVT(), ui_do_but_TOG(), ui_do_button(), ui_handle_button_activate(), ui_handle_button_event(), ui_handle_button_over(), ui_handle_button_return_submenu(), ui_handle_menu_button(), ui_handle_menu_event(), ui_handle_menu_return_submenu(), ui_handle_menus_recursive(), ui_handler_region_menu(), ui_numedit_set_active(), ui_pie_handler(), UI_region_searchbox_region_get(), UI_screen_free_active_but_highlight(), widget_roundbox_set(), and with_but_active_as_semi_modal().
| short uiBut::alignnr = 0 |
Definition at line 189 of file interface_intern.hh.
Referenced by ui_block_align_butal_cmp(), ui_block_align_calc(), ui_but_find_select_in_enum__cmp(), ui_but_is_row_alignment_group(), ui_but_update_old_active_from_new(), ui_def_but(), ui_def_but_rna__menu(), and ui_item_align().
| std::function<void(bContext &)> uiBut::apply_func |
C++ version of func above. Allows storing arbitrary data in a type safe way, no void pointer arguments.
Definition at line 220 of file interface_intern.hh.
Referenced by ui_afterfunc_check(), ui_apply_but_func(), ui_but_equals_old(), UI_but_func_set(), and ui_popup_context_menu_for_button().
| uiButCompleteFunc uiBut::autocomplete_func = nullptr |
Definition at line 229 of file interface_intern.hh.
Referenced by UI_but_func_complete_set(), ui_do_but_textedit(), ui_textedit_autocomplete(), and ui_textedit_begin().
| void* uiBut::autofunc_arg = nullptr |
Definition at line 230 of file interface_intern.hh.
Referenced by UI_but_func_complete_set(), and ui_textedit_autocomplete().
| bool uiBut::bit = 0 |
Definition at line 182 of file interface_intern.hh.
Referenced by ui_apply_but_TOG(), ui_but_is_pushed_ex(), and ui_def_but().
| char uiBut::bitnr = 0 |
Definition at line 184 of file interface_intern.hh.
Referenced by ui_apply_but_TOG(), ui_but_is_pushed_ex(), and ui_def_but().
Definition at line 341 of file interface_intern.hh.
Referenced by button_activate_exit(), button_activate_init(), button_activate_state(), button_tooltip_timer_reset(), draw_emboss(), blender::ui::find_item_from_rename_button(), blender::ui::AbstractTreeViewItem::get_win_rect(), menu_items_from_ui_create_item_from_button(), ui_apply_but_func(), ui_apply_but_TEX(), ui_apply_but_undo(), ui_block_func_POPOVER(), ui_block_func_POPUP(), ui_block_open_begin(), ui_block_open_end(), ui_but_activate_event(), ui_but_add_search(), ui_but_anim_decorate_find_attached_button(), ui_but_anim_expression_create(), ui_but_anim_expression_set(), ui_but_change_type(), UI_but_cm_display_get(), ui_but_contains_point_px(), ui_but_contains_point_px_icon(), ui_but_convert_to_unit_alt_name(), ui_but_drag_init(), ui_but_drag_multi_edit_get(), ui_but_event_property_operator_string(), ui_but_execute_begin(), ui_but_execute_end(), ui_but_extra_operator_icon_apply(), ui_but_extra_operator_icon_mouse_over_get(), ui_but_find_select_in_enum(), ui_but_free(), UI_but_func_menu_search(), UI_but_func_search_set(), ui_but_get_fcurve(), ui_but_is_color_gamma(), ui_but_is_drag_toggle(), ui_but_is_unit(), ui_but_is_unit_radians(), ui_but_menu_step(), ui_but_next(), ui_but_next_non_separator(), ui_but_prev(), ui_but_rect_to_view(), ui_but_search_refresh(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_view_for_active(), ui_colorpicker_hex_rna_cb(), ui_colorpicker_hsv_linear_slider_update_cb(), ui_colorpicker_hsv_perceptual_slider_update_cb(), ui_colorpicker_rgb_perceptual_slider_update_cb(), ui_colorpicker_rgba_update_cb(), ui_colorpicker_update_type_space_cb(), UI_context_active_but_prop_handle(), ui_def_but(), ui_def_but_icon(), ui_def_but_rna__menu(), ui_do_but_ANY_drag_toggle(), ui_do_but_BLOCK(), ui_do_but_BUT(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_do_but_SCROLL(), ui_do_but_TOG(), ui_do_but_VIEW_ITEM(), ui_draw_but(), ui_draw_but_COLORBAND(), ui_draw_but_CURVE(), ui_draw_but_CURVEPROFILE(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_get_but_scale_unit(), ui_get_but_step_unit(), ui_get_but_string_unit(), ui_handle_button_event(), ui_handle_button_over(), ui_handle_button_return_submenu(), ui_handle_list_event(), ui_handle_menu_button(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_multibut_states_create(), ui_multibut_states_tag(), ui_number_from_string_units_with_but(), ui_numedit_apply_snapf(), ui_numedit_but_NUM(), ui_numedit_but_SLI(), ui_numedit_but_TRACKPREVIEW(), ui_numedit_set_active(), ui_popup_block_position(), ui_popup_block_refresh(), ui_popup_close_cb(), ui_popup_context_menu_for_button(), UI_popup_menu_close_from_but(), ui_popup_menu_create_impl(), ui_search_menu_create_context_menu(), ui_search_menu_create_tooltip(), ui_searchbox_create_generic_ex(), ui_searchbox_region_layout_fn(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_textedit_begin(), ui_textedit_set_cursor_pos(), UI_tooltip_create_from_button_or_extra_icon(), ui_tooltip_data_from_button_or_extra_icon(), ui_tooltip_data_from_tool(), widget_draw_extra_mask(), widget_draw_icon(), widget_draw_node_link_socket(), widget_draw_submenu_tria(), widget_draw_text_icon(), widget_menu_pie_itembut(), and widget_swatch().
| uiBlockCreateFunc uiBut::block_create_func = nullptr |
ButType::Block data
Definition at line 282 of file interface_intern.hh.
Referenced by ui_block_open_begin(), ui_but_equals_old(), uiDefBlockBut(), uiDefBlockButN(), and uiDefIconBlockBut().
| bool uiBut::changed = false |
could be made into a single flag
Definition at line 267 of file interface_intern.hh.
Referenced by ui_but_set_string_interactive(), ui_but_update_view_for_active(), ui_do_but_textedit(), ui_searchbox_update(), ui_searchbox_update_fn(), and ui_textedit_begin().
| uchar uiBut::col[4] = {0} |
Optional color for monochrome icon. Also used as text color for labels without icons. Set with UI_but_color_set().
Definition at line 196 of file interface_intern.hh.
Referenced by UI_but_color_set(), UI_but_node_link_set(), ui_draw_but(), ui_draw_but_IMAGE(), uiDefButImage(), uiTemplateNodeSocket(), uiTemplateReportsBanner(), uiTemplateStatusInfo(), widget_box(), widget_draw_icon(), widget_draw_node_link_socket(), widget_draw_text_icon(), and widget_nodesocket().
| const bContextStore* uiBut::context = nullptr |
Definition at line 227 of file interface_intern.hh.
Referenced by force_activate_view_item_but(), blender::ui::LayoutInternal::layout_add_but(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), set_layout_context_from_button(), ui_apply_but_func(), UI_but_context_get(), UI_but_context_int_get(), UI_but_context_int_set(), ui_but_context_poll_operator_ex(), UI_but_context_ptr_get(), UI_but_context_ptr_set(), UI_but_context_string_get(), UI_but_string_get_rna_tooltip(), ui_but_update_old_active_from_new(), ui_def_but_rna(), ui_handle_afterfunc_add_operator_ex(), ui_popover_create_block(), ui_popup_context_menu_for_button(), ui_popup_menu_create_block(), and ui_template_list_layout_draw().
| void* uiBut::custom_data = nullptr |
Custom button data (borrowed, not owned).
Definition at line 332 of file interface_intern.hh.
Referenced by blender::ui::eyedropper_colorband_init(), uiLayout::list_box(), template_ID_tabs(), ui_block_colorpicker(), ui_but_hsv_set(), ui_but_is_pushed_ex(), UI_but_node_link_set(), ui_but_string_get_ex(), ui_but_string_set(), ui_colorpicker_circle(), ui_colorpicker_hex_rna_cb(), ui_colorpicker_hsv_linear_slider_update_cb(), ui_colorpicker_hsv_perceptual_slider_update_cb(), ui_colorpicker_rgb_perceptual_slider_update_cb(), ui_colorpicker_rgba_update_cb(), ui_colorpicker_square(), ui_colorpicker_update_type_space_cb(), UI_context_active_but_get_tab_ID(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_do_but_TAB(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_handle_list_event(), UI_list_find_mouse_over(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), ui_popup_close_cb(), uiTemplateColorPicker(), and widget_draw_node_link_socket().
| const char* uiBut::disabled_info = nullptr |
info on why button is disabled, displayed in tooltip
Definition at line 257 of file interface_intern.hh.
Referenced by UI_but_disable(), ui_def_but(), and ui_tooltip_data_from_button_or_extra_icon().
| BIFIconID uiBut::drag_preview_icon_id |
Definition at line 294 of file interface_intern.hh.
Referenced by UI_but_drag_set_asset(), and ui_but_drag_start().
| int8_t uiBut::dragflag = 0 |
Definition at line 299 of file interface_intern.hh.
Referenced by ui_but_contains_point_px_icon(), ui_but_drag_free(), UI_but_drag_set_asset(), UI_but_drag_set_id(), UI_but_drag_set_name(), UI_but_drag_set_path(), UI_but_drag_set_rna(), ui_but_drag_start(), UI_but_dragflag_disable(), UI_but_dragflag_enable(), and ui_def_but().
| void* uiBut::dragpoin = nullptr |
Definition at line 295 of file interface_intern.hh.
Referenced by ui_but_drag_free(), ui_but_drag_is_draggable(), UI_but_drag_set_asset(), UI_but_drag_set_id(), UI_but_drag_set_name(), UI_but_drag_set_path(), UI_but_drag_set_rna(), ui_but_drag_start(), and ui_but_update_old_active_from_new().
| eWM_DragDataType uiBut::dragtype = WM_DRAG_ID |
Definition at line 298 of file interface_intern.hh.
Referenced by ui_but_drag_free(), UI_but_drag_set_asset(), UI_but_drag_set_id(), UI_but_drag_set_name(), UI_but_drag_set_path(), UI_but_drag_set_rna(), ui_but_drag_start(), and ui_but_equals_old().
| int uiBut::drawflag = 0 |
Definition at line 177 of file interface_intern.hh.
Referenced by block_align_stitch_neighbors(), create_title_button(), curvemap_buttons_layout(), draw_emboss(), uiLayout::progress_indicator(), uiLayout::prop(), uiLayout::props_enum(), uiLayout::resolve(), LayoutRadial::resolve_impl(), template_texture_user_menu(), ui_block_align_but_to_region(), ui_block_align_calc(), ui_but_add_search(), ui_but_anim_flag(), ui_but_contains_point_px_icon(), UI_but_drawflag_disable(), UI_but_drawflag_enable(), UI_but_has_quick_tooltip(), ui_but_icon(), ui_but_is_pushed_ex(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_def_but(), ui_def_but_icon(), ui_def_but_icon_clear(), ui_do_but_NUM(), ui_draw_but(), ui_item_enum_expand_elem_exec(), ui_numedit_set_active(), UI_pie_menu_begin(), ui_popup_block_position(), blender::ed::space_node::ui_template_node_link_menu(), ui_textedit_set_cursor_pos(), UI_tooltip_create_from_button_or_extra_icon(), uiDefIconBlockBut(), uiDefIconMenuBut(), uiDefIconPreviewBut(), uiDefIconTextBut(), uiDefIconTextButO_ptr(), uiDefIconTextButR(), uiDefIconTextButR_prop(), uiDefIconTextMenuBut(), uiDefSearchBut(), uiItem_simple(), uiTemplateInputStatus(), widget_draw_extra_icons(), widget_draw_icon(), widget_draw_text(), widget_draw_text_icon(), widget_numslider(), widget_preview_tile(), widget_roundbox_set(), and widget_swatch().
| std::string uiBut::drawstr |
Definition at line 200 of file interface_intern.hh.
Referenced by menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), ui_apply_but_undo(), ui_block_func_POPUP(), ui_but_build_drawstr_float(), ui_but_build_drawstr_int(), ui_but_drawstr_len_without_sep_char(), ui_but_drawstr_without_sep_char(), UI_but_func_search_set(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_icon_extra_is_visible_text_clear(), ui_but_is_rna_valid(), ui_but_search_refresh(), ui_but_text_password_hide(), ui_but_update_ex(), ui_do_but_HOTKEYEVT(), ui_draw_but(), ui_item_menu_hold(), ui_item_with_label(), ui_layout_introspect_button(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_text_clip_right_label(), ui_text_position_from_hidden(), ui_text_position_to_hidden(), ui_tooltip_data_from_button_or_extra_icon(), ui_tooltip_data_from_tool(), widget_draw_text(), widget_draw_text_icon(), widget_preview_tile(), and widget_progress_type_ring().
| char* uiBut::editstr = nullptr |
Definition at line 334 of file interface_intern.hh.
Referenced by ui_apply_but(), ui_but_icon_extra_is_visible_bone_eyedropper(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_text_password_hide(), ui_but_update_ex(), ui_draw_but(), ui_searchbox_apply(), ui_searchbox_autocomplete(), ui_searchbox_update(), ui_searchbox_update_fn(), ui_text_clip_cursor(), ui_text_position_from_hidden(), ui_text_position_to_hidden(), ui_textedit_begin(), ui_textedit_end(), ui_textedit_set_cursor_pos(), ui_textedit_string_ensure_max_length(), widget_draw_text(), and widget_draw_text_icon().
| double* uiBut::editval = nullptr |
Definition at line 335 of file interface_intern.hh.
Referenced by ui_apply_but(), ui_block_open_end(), ui_but_value_get(), ui_but_value_set(), ui_numedit_begin(), and ui_numedit_end().
Definition at line 336 of file interface_intern.hh.
Referenced by ui_apply_but(), ui_block_func_COLOR(), ui_block_open_begin(), ui_block_open_end(), ui_but_v3_get(), ui_but_v3_set(), ui_but_v4_get(), ui_but_v4_set(), ui_numedit_begin(), and ui_numedit_end().
| blender::ui::EmbossType uiBut::emboss = blender::ui::EmbossType::Emboss |
Copied from the uiBlock.emboss
Definition at line 263 of file interface_intern.hh.
Referenced by blender::ui::LayoutInternal::layout_add_but(), uiLayout::prop(), LayoutRadial::resolve_impl(), ui_but_draw_menu_icon(), ui_but_is_interactive_ex(), ui_def_but(), ui_def_but_rna(), ui_do_but_TEX(), ui_draw_but(), widget_draw_icon(), widget_draw_text_icon(), widget_icon_has_anim(), and widget_preview_tile().
Definition at line 311 of file interface_intern.hh.
Referenced by ui_but_extra_icon_find_old(), ui_but_extra_icons_update_from_old_but(), ui_but_extra_operator_icon_add_ptr(), ui_but_extra_operator_icon_mouse_over_get(), ui_but_extra_operator_icons_free(), ui_but_predefined_extra_operator_icons_add(), ui_but_update_old_active_from_new(), ui_do_but_extra_operator_icons_mousemove(), and widget_draw_extra_icons().
| int uiBut::flag = 0 |
Definition at line 176 of file interface_intern.hh.
Referenced by block_search_filter_tag_buttons(), blender::ui::bonedropper_poll(), button_activate_exit(), button_activate_init(), button_activate_state(), curvemap_buttons_layout(), datadropper_poll(), uiLayout::decorator(), driverdropper_init(), drop_name_poll(), blender::ui::AbstractTreeViewItem::is_hovered(), uiLayout::list_box(), menu_items_from_ui_create_item_from_button(), uiLayout::op_enum_items(), panel_remove_invisible_layouts_recursive(), uiLayout::popover(), popover_widget_type(), template_common_search_menu(), template_ID(), ui_apply_but(), ui_apply_but_TEX(), ui_apply_but_undo(), ui_block_func_POPUP(), ui_but_add_search(), ui_but_add_shortcut(), ui_but_anim_decorate_cb(), ui_but_anim_decorate_update_from_flag(), ui_but_anim_flag(), ui_but_context_poll_operator_ex(), ui_but_drag_multi_edit_get(), ui_but_draw_menu_icon(), ui_but_drawstr_len_without_sep_char(), ui_but_execute_end(), UI_but_flag_disable(), UI_but_flag_enable(), UI_but_flag_is_set(), ui_but_icon(), ui_but_icon_extra_get(), ui_but_icon_extra_is_visible_bone_eyedropper(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_icon_extra_is_visible_text_clear(), ui_but_is_interactive_ex(), UI_but_is_utf8(), ui_but_list_row_text_activate(), UI_but_node_link_set(), UI_but_operator_set(), ui_but_override_flag(), ui_but_paste(), ui_but_set_string_interactive(), UI_but_string_get_label(), ui_but_submenu_enable(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), ui_but_update_select_flag(), ui_button_press_invoke(), ui_can_activate_other_menu(), UI_context_active_but_prop_get_filebrowser(), ui_def_but(), ui_def_but_icon(), ui_def_but_icon_clear(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_BUT(), ui_do_but_textedit(), ui_do_button(), ui_drag_toggle_but_is_supported(), ui_drag_toggle_set(), ui_draw_but(), ui_draw_but_CURVE(), ui_draw_but_HSV_v(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_handle_button_event(), ui_handle_viewlist_items_hover(), ui_item_enum_expand_elem_exec(), ui_item_enum_expand_tabs(), ui_item_flag(), ui_layout_has_panel_label(), ui_layout_list_set_labels_active(), ui_multibut_add(), ui_numedit_set_active(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), ui_popup_menu_memory__internal(), ui_searchbox_select(), ui_selectcontext_begin(), ui_selectcontext_end(), ui_textedit_begin(), ui_textedit_end(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), ui_tooltip_data_from_button_or_extra_icon(), uiItem_simple(), uiItemFullO_ptr_ex(), uiTemplateNodeLink(), uiTemplateTextureUser(), widget_draw_icon(), widget_draw_text(), and widget_draw_text_icon().
| char uiBut::flag2 = 0 |
Definition at line 178 of file interface_intern.hh.
Referenced by UI_but_flag2_enable(), and ui_textedit_begin().
| uiButHandleFunc uiBut::func = nullptr |
Definition at line 213 of file interface_intern.hh.
Referenced by ui_afterfunc_check(), ui_apply_but_func(), ui_but_equals_old(), UI_but_func_search_set(), UI_but_func_set(), UI_context_active_but_prop_handle(), ui_def_but(), ui_item_enum_expand_elem_exec(), and ui_selectcontext_apply().
| void* uiBut::func_arg1 = nullptr |
Definition at line 214 of file interface_intern.hh.
Referenced by ui_apply_but_func(), ui_but_equals_old(), UI_but_func_set(), UI_context_active_but_prop_handle(), and ui_def_but().
| void* uiBut::func_arg2 = nullptr |
Definition at line 215 of file interface_intern.hh.
Referenced by ui_apply_but_func(), ui_apply_but_TEX(), ui_but_equals_old(), UI_but_func_set(), UI_but_funcN_set(), UI_context_active_but_prop_handle(), and ui_def_but().
| void* uiBut::func_argN = nullptr |
Definition at line 223 of file interface_intern.hh.
Referenced by menu_item_enum_opname_menu(), ui_apply_but_func(), ui_block_open_begin(), ui_but_free(), UI_but_funcN_set(), UI_but_operatortype_get_from_enum_menu(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), ui_but_update_old_active_from_new(), UI_context_active_but_prop_get_templateID(), ui_def_but(), ui_def_but_rna__menu_type(), ui_do_but_TEX(), ui_item_menu(), blender::ed::space_node::ui_template_node_link_menu(), uiDefBlockButN(), and uiTemplateNodeLink().
| uiButArgNCopy uiBut::func_argN_copy_fn |
Definition at line 225 of file interface_intern.hh.
Referenced by ui_apply_but_func(), UI_but_funcN_set(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), ui_def_but(), ui_item_menu(), uiDefBlockButN(), and uiTemplateNodeLink().
| uiButArgNFree uiBut::func_argN_free_fn |
Definition at line 224 of file interface_intern.hh.
Referenced by ui_apply_but_func(), ui_but_free(), UI_but_funcN_set(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), ui_def_but(), ui_item_menu(), uiDefBlockButN(), and uiTemplateNodeLink().
| uiButHandleNFunc uiBut::funcN = nullptr |
Definition at line 222 of file interface_intern.hh.
Referenced by ui_afterfunc_check(), ui_apply_but_func(), ui_but_equals_old(), UI_but_funcN_set(), UI_context_active_but_prop_get_templateID(), and ui_def_but().
| float uiBut::hardmax = 0 |
Definition at line 208 of file interface_intern.hh.
Referenced by menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), ui_apply_but_ROW(), ui_apply_but_TAB(), ui_block_colorpicker(), ui_but_add_search(), ui_but_calc_float_precision(), ui_but_is_listrow_at_index(), ui_but_is_pushed_ex(), ui_but_range_set_hard(), ui_but_range_set_soft(), UI_but_rna_enum_item_get(), ui_but_search_refresh(), ui_but_string_get_maxncpy(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_def_but(), ui_searchbox_apply(), and ui_searchbox_create_generic_ex().
| float uiBut::hardmin = 0 |
Definition at line 208 of file interface_intern.hh.
Referenced by ui_apply_but_BUTM(), ui_but_event_property_operator_string(), ui_but_is_pushed_ex(), ui_but_range_set_hard(), ui_but_range_set_soft(), ui_but_string_set(), ui_but_update_ex(), ui_def_but(), and ui_def_but_rna__menu().
| void* uiBut::hold_argN = nullptr |
Definition at line 245 of file interface_intern.hh.
Referenced by ui_but_free(), UI_but_func_hold_set(), and ui_item_menu_hold().
| uiButHandleHoldFunc uiBut::hold_func = nullptr |
Run an action when holding the button down.
Definition at line 244 of file interface_intern.hh.
Referenced by button_activate_state(), UI_but_func_hold_set(), ui_draw_but(), and ui_handle_button_event().
| BIFIconID uiBut::icon = ICON_NONE |
Definition at line 269 of file interface_intern.hh.
Referenced by depthdropper_poll(), menu_items_to_ui_button(), popover_widget_type(), uiLayout::prop(), ui_but_anim_decorate_update_from_flag(), ui_but_drag_start(), ui_but_icon(), ui_but_placeholder_get(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_can_activate_other_menu(), ui_def_but_icon(), ui_def_but_icon_clear(), ui_drag_toggle_but_pushed_state(), ui_draw_but(), widget_draw_extra_icons(), widget_draw_icon(), and widget_draw_text_icon().
| IconTextOverlay uiBut::icon_overlay_text = {} |
Little indicator (e.g., counter) displayed on top of some icons.
Definition at line 260 of file interface_intern.hh.
Referenced by UI_but_icon_indicator_color_set(), UI_but_icon_indicator_number_set(), UI_but_icon_indicator_set(), uiTemplateStatusInfo(), and widget_draw_icon().
| short uiBut::iconadd = 0 |
Definition at line 274 of file interface_intern.hh.
Referenced by ui_but_icon(), ui_but_update_ex(), ui_but_update_old_active_from_new(), and ui_drag_toggle_but_pushed_state().
| uiButIdentityCompareFunc uiBut::identity_cmp_func = nullptr |
See UI_but_func_identity_compare_set().
Definition at line 211 of file interface_intern.hh.
Referenced by ui_but_equals_old(), and UI_but_func_identity_compare_set().
Definition at line 296 of file interface_intern.hh.
Referenced by UI_but_drag_attach_image(), ui_but_drag_start(), and ui_but_update_old_active_from_new().
| float uiBut::imb_scale = 0 |
Definition at line 297 of file interface_intern.hh.
Referenced by UI_but_drag_attach_image(), and ui_but_drag_start().
Pointer back to the layout item holding this button.
Definition at line 175 of file interface_intern.hh.
Referenced by blender::ui::LayoutInternal::layout_add_but(), UI_but_active_only_ex(), ui_but_change_type(), and ui_layout_free().
| uiMenuCreateFunc uiBut::menu_create_func = nullptr |
ButType::Pulldown / ButType::Menu data
Definition at line 285 of file interface_intern.hh.
Referenced by ui_block_open_begin(), ui_but_event_property_operator_string(), ui_but_menu_draw_as_popover(), UI_but_menutype_get(), UI_but_operatortype_get_from_enum_menu(), UI_but_paneltype_get(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), ui_def_but_rna(), ui_popup_context_menu_for_button(), uiDefIconMenuBut(), uiDefIconTextMenuBut(), and uiDefMenuBut().
| uchar uiBut::menu_key = 0 |
When non-zero, this is the key used to activate a menu items (a-z always lower case).
Definition at line 187 of file interface_intern.hh.
Referenced by widget_draw_text().
| bool uiBut::menu_no_hover_open = false |
See UI_but_menu_disable_hover_open().
Definition at line 279 of file interface_intern.hh.
Referenced by UI_but_menu_disable_hover_open(), and ui_can_activate_other_menu().
| uiMenuStepFunc uiBut::menu_step_func = nullptr |
Definition at line 287 of file interface_intern.hh.
Referenced by UI_but_func_menu_step_set(), ui_but_menu_step(), ui_but_menu_step_poll(), and ui_but_supports_cycling().
| short uiBut::ofs = 0 |
Definition at line 190 of file interface_intern.hh.
Referenced by ui_text_clip_cursor(), ui_text_clip_give_next_off(), ui_text_clip_give_prev_off(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_text_clip_right_label(), ui_textedit_delete_selection(), ui_textedit_set_cursor_pos(), widget_draw_text(), and widget_draw_text_icon().
| blender::wm::OpCallContext uiBut::opcontext = blender::wm::OpCallContext::InvokeDefault |
Definition at line 307 of file interface_intern.hh.
Referenced by but_shortcut_name_func(), menu_add_shortcut_cancel(), menu_change_shortcut(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), remove_shortcut_func(), ui_apply_but_func(), ui_but_context_poll_operator(), ui_but_event_operator_string(), UI_but_operator_set(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_popup_context_menu_for_button(), ui_tooltip_data_from_button_or_extra_icon(), and uiDefSearchButO_ptr().
| bool uiBut::operator_never_call = false |
Keep an operator attached but never actually call it through the button. See UI_but_operator_set_never_call().
Definition at line 305 of file interface_intern.hh.
Referenced by ui_apply_but_func(), and UI_but_operator_set_never_call().
| PointerRNA* uiBut::opptr = nullptr |
Definition at line 309 of file interface_intern.hh.
Referenced by uiLayout::context_set_from_but(), menu_item_enum_opname_menu(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), uiLayout::op_menu_enum(), shortcut_get_operator_property(), template_ID(), ui_apply_but_func(), ui_but_event_operator_string(), ui_but_free(), UI_but_operator_ptr_ensure(), UI_but_operator_set(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_layout_introspect_button(), ui_popup_context_menu_for_button(), ui_tooltip_data_from_tool(), and uiTemplatePalette().
| wmOperatorType* uiBut::optype = nullptr |
Definition at line 308 of file interface_intern.hh.
Referenced by blender::ed::asset::shelf::AssetViewItem::build_grid_tile(), button_matches_search_filter(), copy_python_command_button_exec(), copy_python_command_button_poll(), depthdropper_poll(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), shortcut_get_operator_property(), ui_afterfunc_check(), ui_apply_but_func(), ui_but_copy(), ui_but_copy_operator(), ui_but_equals_old(), ui_but_event_operator_string(), ui_but_is_pushed_ex(), UI_but_is_tool(), ui_but_is_user_menu_compatible(), UI_but_online_manual_id(), UI_but_operator_ptr_ensure(), UI_but_operator_set(), UI_but_rna_enum_item_get(), UI_but_string_get_rna_label(), UI_but_string_get_rna_label_context(), UI_but_string_get_rna_struct_identifier(), UI_but_string_get_rna_tooltip(), ui_but_tip_from_enum_item(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_button_press_invoke(), ui_layout_introspect_button(), ui_popup_context_menu_for_button(), ui_searchbox_create_generic_ex(), ui_tooltip_data_from_button_or_extra_icon(), ui_tooltip_data_from_tool(), UI_tooltip_uibut_python_add(), uiDefSearchButO_ptr(), and uiItemFullO_ptr_ex().
| RadialDirection uiBut::pie_dir = UI_RADIAL_NONE |
direction in a pie menu, used for collision detection.
Definition at line 265 of file interface_intern.hh.
Referenced by LayoutRadial::resolve_impl(), ui_but_contains_point_px(), ui_but_find_mouse_over_ex(), ui_but_find_rect_over(), ui_but_isect_pie_seg(), and ui_but_pie_direction_string().
| char* uiBut::placeholder = nullptr |
Definition at line 202 of file interface_intern.hh.
Referenced by ui_but_free(), ui_but_placeholder_get(), and UI_but_placeholder_set().
| char* uiBut::poin = nullptr |
Definition at line 207 of file interface_intern.hh.
Referenced by blender::ui::eyedropper_colorband_init(), blender::ui::find_item_from_rename_button(), ui_apply_but_ROW(), ui_block_open_begin(), ui_but_change_type(), ui_but_copy(), ui_but_copy_colorband(), ui_but_copy_curvemapping(), ui_but_copy_CurveProfile(), ui_but_drag_init(), ui_but_equals_old(), ui_but_find_select_in_enum__cmp(), ui_but_free(), ui_but_is_float(), ui_but_menu_step(), UI_but_menutype_get(), UI_but_paneltype_get(), ui_but_paste(), ui_but_paste_colorband(), ui_but_paste_curvemapping(), ui_but_paste_CurveProfile(), ui_but_range_set_soft(), ui_but_rna_menu_convert_to_menu_type(), ui_but_string_get_ex(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_but_v3_get(), ui_but_v3_set(), ui_but_v4_get(), ui_but_v4_set(), ui_but_value_get(), ui_but_value_set(), ui_def_but(), ui_def_but_rna(), ui_do_but_COLORBAND(), ui_do_but_CURVE(), ui_do_but_CURVEPROFILE(), ui_do_but_HISTOGRAM(), ui_do_but_WAVEFORM(), ui_do_button(), ui_drag_toggle_but_pushed_state(), ui_draw_but_COLORBAND(), ui_draw_but_CURVE(), ui_draw_but_CURVEPROFILE(), ui_draw_but_HISTOGRAM(), ui_draw_but_IMAGE(), ui_draw_but_TRACKPREVIEW(), ui_draw_but_VECTORSCOPE(), ui_draw_but_WAVEFORM(), ui_item_menu(), ui_numedit_begin(), ui_numedit_but_CURVE(), ui_numedit_but_CURVEPROFILE(), ui_numedit_but_HISTOGRAM(), ui_numedit_but_TRACKPREVIEW(), ui_numedit_but_WAVEFORM(), and uiTemplateNodeLink().
| ButPointerType uiBut::pointype = ButPointerType::None |
Definition at line 181 of file interface_intern.hh.
Referenced by ui_but_drag_init(), ui_but_equals_old(), ui_but_is_compatible(), ui_but_is_float(), ui_but_range_set_soft(), ui_but_update_ex(), ui_but_v3_get(), ui_but_v3_set(), ui_but_v4_get(), ui_but_v4_set(), ui_but_validate(), ui_but_value_get(), ui_but_value_set(), ui_def_but(), and ui_do_button().
| short uiBut::pos = 0 |
Definition at line 190 of file interface_intern.hh.
Referenced by ui_but_text_password_hide(), ui_def_but(), ui_do_but_textedit(), ui_text_clip_cursor(), ui_textedit_autocomplete(), ui_textedit_begin(), ui_textedit_delete(), ui_textedit_delete_selection(), ui_textedit_end(), ui_textedit_insert_buf(), ui_textedit_move(), ui_textedit_set_cursor_pos(), ui_textedit_set_cursor_select(), widget_draw_text(), and widget_draw_text_icon().
| std::function<bool(const uiBut &)> uiBut::pushed_state_func |
Definition at line 338 of file interface_intern.hh.
Referenced by UI_but_func_pushed_state_set(), ui_but_is_pushed_ex(), and ui_but_update_old_active_from_new().
| rctf uiBut::rect = {} |
Block relative coordinates.
Definition at line 205 of file interface_intern.hh.
Referenced by button_activate_init(), button_activate_state(), blender::ui::AbstractTreeViewItem::get_win_rect(), uiLayout::popover(), LayoutRadial::resolve_impl(), uiLayoutItemBx::resolve_impl(), ui_block_align_but_to_region(), ui_block_func_POPOVER(), ui_block_func_POPUP(), ui_but_can_align(), ui_but_contains_point_px_icon(), ui_but_contains_pt(), ui_but_contains_rect(), ui_but_drag_init(), ui_but_extra_operator_icon_mouse_over_get(), ui_but_is_row_alignment_group(), ui_but_rect_to_view(), ui_but_to_pixelrect(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_can_activate_other_menu(), ui_def_but(), ui_do_but_COLORBAND(), ui_do_but_CURVE(), ui_do_but_CURVEPROFILE(), ui_do_but_GRIP(), ui_do_but_NUM(), ui_do_but_SCROLL(), ui_do_but_SLI(), ui_drag_toggle_set(), ui_handler_region_menu(), ui_item_move(), ui_item_offset(), ui_item_position(), ui_item_size(), ui_menu_scroll_to_but(), ui_numedit_but_COLORBAND(), ui_numedit_but_CURVE(), ui_numedit_but_CURVEPROFILE(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), ui_numedit_but_SLI(), ui_numedit_but_UNITVEC(), ui_numedit_set_active(), ui_popup_block_position(), ui_search_menu_create_tooltip(), ui_searchbox_region_layout_fn(), ui_textedit_set_cursor_pos(), UI_tooltip_create_from_button_or_extra_icon(), and ViewLink::views_bounds_calc().
| void* uiBut::rename_arg1 = nullptr |
Definition at line 233 of file interface_intern.hh.
Referenced by ui_apply_but_func(), and UI_but_func_rename_set().
| std::function<void(std::string &new_name)> uiBut::rename_full_func = nullptr |
When defined, and the button edits a string RNA property, the new name is not set at all, instead this function is called with the new name.
Definition at line 240 of file interface_intern.hh.
Referenced by ui_afterfunc_check(), ui_apply_but_func(), UI_but_func_rename_full_set(), ui_but_string_set(), and ui_but_update_old_active_from_new().
| std::string uiBut::rename_full_new |
Definition at line 241 of file interface_intern.hh.
Referenced by ui_apply_but_func(), and ui_but_string_set().
| uiButHandleRenameFunc uiBut::rename_func = nullptr |
Definition at line 232 of file interface_intern.hh.
Referenced by ui_afterfunc_check(), ui_apply_but_func(), and UI_but_func_rename_set().
| void* uiBut::rename_orig = nullptr |
Definition at line 234 of file interface_intern.hh.
Referenced by ui_apply_but_func(), and ui_apply_but_TEX().
| short uiBut::retval = 0 |
Definition at line 189 of file interface_intern.hh.
Referenced by ui_apply_but_BLOCK(), ui_apply_but_BUT(), ui_apply_but_BUTM(), ui_apply_but_COLORBAND(), ui_apply_but_CURVE(), ui_apply_but_CURVEPROFILE(), ui_apply_but_func(), ui_apply_but_HISTOGRAM(), ui_apply_but_IMAGE(), ui_apply_but_NUM(), ui_apply_but_ROW(), ui_apply_but_TAB(), ui_apply_but_TEX(), ui_apply_but_TOG(), ui_apply_but_TRACKPREVIEW(), ui_apply_but_VEC(), ui_apply_but_WAVEFORM(), ui_but_equals_old(), UI_but_return_value_get(), UI_context_active_but_prop_handle(), and ui_def_but().
| int uiBut::rnaindex = 0 |
Definition at line 292 of file interface_intern.hh.
Referenced by driverdropper_sample(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), uiLayout::prop(), shortcut_property_from_rna(), ui_apply_but_autokey(), ui_but_anim_autokey(), ui_but_anim_decorate_cb(), ui_but_anim_expression_create(), ui_but_event_property_operator_string(), ui_but_get_fcurve(), ui_but_override_flag(), ui_but_range_set_soft(), ui_but_rna_equals_ex(), ui_but_set_float_array(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_def_but_rna(), ui_layout_introspect_button(), ui_popup_context_menu_for_button(), UI_region_active_but_prop_get(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), UI_tooltip_uibut_python_add(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), and widget_swatch().
| PointerRNA uiBut::rnapoin = {} |
Definition at line 290 of file interface_intern.hh.
Referenced by button_activate_exit(), button_matches_search_filter(), colorband_buttons_layout(), colorband_update_cb(), uiLayout::context_set_from_but(), driverdropper_sample(), drop_color_invoke(), blender::ui::eyedropper_colorband_init(), eyedropper_get_property_button_under_mouse(), get_but_property_array_length(), handle_layer_buttons(), uiLayout::list_box(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), uiLayout::prop(), shortcut_property_from_rna(), template_keymap_item_properties(), ui_apply_but_autokey(), ui_apply_but_func(), ui_apply_but_undo(), ui_block_colorpicker(), ui_block_message_subscribe(), ui_but_anim_autokey(), ui_but_anim_expression_create(), ui_but_anim_flag(), ui_but_color_has_alpha(), ui_but_copy(), ui_but_copy_color(), ui_but_copy_numeric_array(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_get_fcurve(), ui_but_has_array_value(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_is_compatible(), ui_but_is_pushed_ex(), ui_but_is_rna_undo(), ui_but_is_rna_valid(), ui_but_is_user_menu_compatible(), UI_but_is_userdef(), ui_but_menu_step(), UI_but_online_manual_id(), ui_but_override_flag(), ui_but_paste(), ui_but_placeholder_get(), ui_but_range_set_hard(), ui_but_range_set_soft(), UI_but_rna_enum_item_get(), ui_but_rna_equals_ex(), ui_but_set_float_array(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_get_rna_struct_identifier(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_preferences_dirty(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_but_v3_get(), ui_but_v3_set(), ui_but_v4_get(), ui_but_v4_set(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_colorpicker_hex_rna_cb(), ui_colorpicker_hsv_linear_slider_update_cb(), ui_colorpicker_hsv_perceptual_slider_update_cb(), ui_colorpicker_rgb_perceptual_slider_update_cb(), ui_colorpicker_rgba_update_cb(), ui_colorpicker_update_type_space_cb(), UI_context_active_but_prop_get_filebrowser(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_drag_toggle_but_pushed_state(), ui_handle_list_event(), ui_item_enum_expand_handle(), ui_keymap_but_cb(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_palette_set_active(), ui_popup_context_menu_for_button(), UI_region_active_but_prop_get(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), UI_tooltip_uibut_python_add(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), and widget_swatch().
| PropertyRNA* uiBut::rnaprop = nullptr |
Definition at line 291 of file interface_intern.hh.
Referenced by button_matches_search_filter(), colorband_buttons_layout(), uiLayout::context_set_from_but(), driverdropper_sample(), drop_color_invoke(), blender::ui::eyedropper_colorband_init(), eyedropper_get_property_button_under_mouse(), get_but_property_array_length(), handle_layer_buttons(), uiLayout::list_box(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), uiLayout::prop(), uiLayout::prop_with_menu(), uiLayout::prop_with_popover(), shortcut_get_operator_property(), shortcut_property_from_rna(), template_keymap_item_properties(), ui_afterfunc_check(), ui_apply_but_autokey(), ui_apply_but_func(), ui_apply_but_undo(), ui_block_colorpicker(), ui_block_message_subscribe(), ui_but_anim_autokey(), ui_but_anim_expression_create(), ui_but_anim_flag(), ui_but_build_drawstr_float(), ui_but_build_drawstr_int(), ui_but_color_has_alpha(), ui_but_contains_password(), ui_but_copy_color(), ui_but_copy_numeric_array(), ui_but_drag_init(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_get_fcurve(), ui_but_has_array_value(), ui_but_icon_extra_is_visible_bone_eyedropper(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_is_bool(), ui_but_is_color_gamma(), ui_but_is_compatible(), ui_but_is_float(), ui_but_is_pushed_ex(), ui_but_is_rna_undo(), ui_but_is_rna_valid(), ui_but_is_user_menu_compatible(), UI_but_is_userdef(), UI_but_is_utf8(), ui_but_menu_step(), ui_but_menu_step_poll(), UI_but_online_manual_id(), ui_but_override_flag(), ui_but_paste_color(), ui_but_placeholder_get(), ui_but_range_set_hard(), ui_but_range_set_soft(), UI_but_rna_enum_item_get(), ui_but_rna_equals_ex(), ui_but_scale_type(), ui_but_search_refresh(), ui_but_set_float_array(), ui_but_string_eval_number(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_get_rna_label(), UI_but_string_get_rna_label_context(), UI_but_string_get_rna_property_identifier(), UI_but_string_get_rna_struct_identifier(), UI_but_string_get_rna_tooltip(), ui_but_string_set(), ui_but_text_password_hide(), UI_but_unit_type_get(), ui_but_update_ex(), ui_but_update_preferences_dirty(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_but_v3_get(), ui_but_v3_set(), ui_but_v4_get(), ui_but_v4_set(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_colorpicker_hex_rna_cb(), ui_colorpicker_hsv_linear_slider_update_cb(), ui_colorpicker_hsv_perceptual_slider_update_cb(), ui_colorpicker_rgb_perceptual_slider_update_cb(), ui_colorpicker_rgba_update_cb(), ui_colorpicker_update_type_space_cb(), UI_context_active_but_prop_get_filebrowser(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_do_but_TAB(), ui_handle_button_event(), ui_handle_list_event(), ui_item_enum_expand_handle(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_multibut_states_create(), ui_popup_context_menu_for_button(), UI_region_active_but_prop_get(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), UI_tooltip_uibut_python_add(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), uiTemplateKeymapItemProperties(), widget_numslider(), and widget_swatch().
| float uiBut::search_weight = 0.0f |
Affects the order if this uiBut is used in menu-search.
Definition at line 272 of file interface_intern.hh.
Referenced by blender::ui::LayoutInternal::layout_add_but(), and menu_items_from_ui_create_item_from_button().
| short uiBut::selend = 0 |
Definition at line 190 of file interface_intern.hh.
Referenced by ui_but_text_password_hide(), ui_do_but_textedit(), ui_textedit_autocomplete(), ui_textedit_begin(), ui_textedit_copypaste(), ui_textedit_delete(), ui_textedit_delete_selection(), ui_textedit_insert_buf(), ui_textedit_move(), ui_textedit_set_cursor_select(), and widget_draw_text().
| short uiBut::selsta = 0 |
Definition at line 190 of file interface_intern.hh.
Referenced by ui_but_text_password_hide(), ui_do_but_textedit(), ui_textedit_autocomplete(), ui_textedit_begin(), ui_textedit_copypaste(), ui_textedit_delete(), ui_textedit_delete_selection(), ui_textedit_insert_buf(), ui_textedit_move(), ui_textedit_set_cursor_select(), and widget_draw_text().
| uiHandleButtonData* uiBut::semi_modal_state = nullptr |
Event handling only supports one active button at a time, but there are cases where that's not enough. A common one is to keep some filter button active to receive text input, while other buttons remain active for interaction.
Buttons that have semi_modal_state set will be temporarily activated for event handling. If they don't consume the event (for example text input events) the event will be forwarded to other buttons.
Currently only text buttons support this well.
Definition at line 329 of file interface_intern.hh.
Referenced by button_activate_exit(), button_activate_init(), ui_but_extra_icons_update_from_old_but(), ui_but_free(), ui_but_semi_modal_state_free(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), and with_but_active_as_semi_modal().
| float uiBut::softmax = 0 |
Definition at line 208 of file interface_intern.hh.
Referenced by ui_block_colorpicker(), ui_but_range_set_soft(), ui_but_update_ex(), ui_def_but(), ui_do_but_NUM(), ui_do_but_SLI(), ui_draw_but_HSV_v(), ui_hsvcube_pos_from_vals(), ui_numedit_begin(), ui_numedit_but_HSVCUBE(), ui_numedit_but_NUM(), ui_numedit_but_SLI(), widget_numslider(), and widget_scroll().
| float uiBut::softmin = 0 |
Definition at line 208 of file interface_intern.hh.
Referenced by ui_block_colorpicker(), ui_but_range_set_soft(), ui_but_update_ex(), ui_def_but(), ui_do_but_NUM(), ui_do_but_SLI(), ui_draw_but_HSV_v(), ui_hsvcube_pos_from_vals(), ui_numedit_begin(), ui_numedit_but_HSVCUBE(), ui_numedit_but_NUM(), ui_numedit_but_SLI(), widget_numslider(), and widget_scroll().
| std::string uiBut::str |
Definition at line 198 of file interface_intern.hh.
Referenced by button_matches_search_filter(), menu_item_enum_opname_menu_active(), popover_widget_type(), uiLayout::prop(), ui_block_bounds_calc(), ui_but_add_search(), ui_but_add_shortcut(), ui_but_build_drawstr_float(), ui_but_build_drawstr_int(), ui_but_menu_step(), UI_but_string_get_label(), ui_but_update_ex(), ui_but_update_old_active_from_new(), ui_can_activate_other_menu(), ui_def_but(), ui_def_but_icon(), ui_def_but_rna__menu(), ui_layout_has_panel_label(), UI_pie_menu_begin(), ui_popup_menu_memory__internal(), and widget_draw_icon().
| short uiBut::strwidth = 0 |
Definition at line 189 of file interface_intern.hh.
Referenced by ui_text_clip_cursor(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_text_clip_right_label(), and widget_draw_text_icon().
| blender::StringRef uiBut::tip |
Definition at line 247 of file interface_intern.hh.
Referenced by uiLayout::list_box(), ui_apply_but_undo(), ui_but_is_interactive_ex(), UI_but_string_get_tooltip(), ui_but_tip_from_enum_item(), ui_but_tip_len_only_first_line(), ui_def_but(), and ui_layout_introspect_button().
| void* uiBut::tip_arg = nullptr |
Definition at line 249 of file interface_intern.hh.
Referenced by ui_but_free(), UI_but_func_tooltip_custom_set(), UI_but_func_tooltip_set(), UI_but_string_get_tooltip(), ui_but_update_old_active_from_new(), and ui_tooltip_data_from_custom_func().
| uiFreeArgFunc uiBut::tip_arg_free = nullptr |
Definition at line 250 of file interface_intern.hh.
Referenced by ui_but_free(), UI_but_func_tooltip_custom_set(), UI_but_func_tooltip_set(), and ui_but_update_old_active_from_new().
| uiButToolTipCustomFunc uiBut::tip_custom_func = nullptr |
Definition at line 254 of file interface_intern.hh.
Referenced by UI_but_func_tooltip_custom_set(), ui_but_is_interactive_ex(), ui_but_update_old_active_from_new(), UI_tooltip_create_from_button_or_extra_icon(), and ui_tooltip_data_from_custom_func().
| uiButToolTipFunc uiBut::tip_func = nullptr |
Definition at line 248 of file interface_intern.hh.
Referenced by UI_but_func_tooltip_set(), ui_but_is_interactive_ex(), UI_but_string_get_tooltip(), ui_but_update_old_active_from_new(), and ui_tooltip_data_from_button_or_extra_icon().
| std::function<std::string(const uiBut *)> uiBut::tip_quick_func |
Function to override the label to be displayed in the tooltip.
Definition at line 252 of file interface_intern.hh.
Referenced by UI_but_func_quick_tooltip_set(), ui_but_is_interactive_ex(), UI_but_string_get_tooltip_label(), ui_but_update_old_active_from_new(), and ui_but_user_menu_add().
Definition at line 180 of file interface_intern.hh.
Referenced by blender::ui::bonedropper_init(), blender::ui::bonedropper_poll(), button_activate_exit(), button_activate_init(), button_activate_state(), button_matches_search_filter(), datadropper_poll(), depthdropper_poll(), depthdropper_test(), draw_emboss(), drop_color_invoke(), blender::ui::eyedropper_colorband_init(), blender::ui::eyedropper_colorband_poll(), blender::ui::find_item_from_rename_button(), jump_to_target_button(), uiLayout::popover(), uiLayout::prop(), uiLayout::prop_with_menu(), uiLayout::prop_with_popover(), LayoutRadial::resolve_impl(), ui_apply_but(), ui_apply_but_BLOCK(), ui_apply_but_func(), ui_apply_but_TEX(), ui_apply_but_TOG(), ui_apply_but_undo(), UI_block_can_add_separator(), UI_block_is_empty_ex(), ui_block_open_begin(), UI_but_active_drop_color(), UI_but_active_drop_name_button(), ui_but_add_search(), ui_but_can_align(), ui_but_change_type(), UI_but_context_menu_title_from_button(), ui_but_copy(), ui_but_drag_init(), ui_but_equals_old(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_free(), ui_but_free_type_specific(), UI_but_func_search_set(), UI_but_func_search_set_context_menu(), UI_but_func_search_set_listen(), UI_but_func_search_set_results_are_suggestions(), UI_but_func_search_set_sep_string(), UI_but_func_search_set_tooltip(), ui_but_get_float_precision(), ui_but_get_float_step_size(), ui_but_icon_extra_get(), ui_but_icon_extra_is_visible_bone_eyedropper(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_icon_extra_is_visible_text_clear(), ui_but_is_active_view_item(), ui_but_is_bool(), ui_but_is_compatible(), ui_but_is_cursor_warp(), ui_but_is_editable(), ui_but_is_editable_as_text(), ui_but_is_interactive_ex(), ui_but_is_listrow(), ui_but_is_popover_once_compat(), ui_but_is_pushed_ex(), ui_but_is_toggle(), ui_but_is_view_item_fn(), UI_but_label_alpha_factor_set(), ui_but_list_row_text_activate(), ui_but_menu_step_poll(), ui_but_next_non_separator(), UI_but_number_precision_set(), UI_but_number_slider_precision_set(), UI_but_number_slider_step_size_set(), UI_but_number_step_size_set(), ui_but_paste(), ui_but_pie_menu_apply(), ui_but_pie_menu_supported_apply(), ui_but_placeholder_get(), UI_but_rna_enum_item_get(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), UI_but_search_preview_grid_size_set(), ui_but_set_float_array(), ui_but_set_string_interactive(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), ui_but_string_get_maxncpy(), UI_but_string_get_rna_label(), UI_but_string_get_rna_label_context(), UI_but_string_get_rna_struct_identifier(), UI_but_string_get_rna_tooltip(), ui_but_string_set(), ui_but_supports_cycling(), UI_but_type_set_menu_from_pulldown(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), ui_but_v3_get(), ui_but_validate(), UI_but_view_item_draw_size_set(), ui_can_activate_other_menu(), UI_context_active_but_get_tab_ID(), ui_def_but(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_COLOR(), ui_do_but_HOTKEYEVT(), ui_do_but_NUM(), ui_do_but_SLI(), ui_do_but_TEX(), ui_do_but_textedit(), ui_do_but_TOG(), ui_do_but_VIEW_ITEM(), ui_do_button(), ui_draw_but(), ui_handle_button_activate_by_type(), ui_handle_button_event(), ui_handle_button_return_submenu(), ui_handle_menu_button(), ui_handle_menu_event(), ui_handle_menus_recursive(), ui_handle_view_item_event(), ui_handler_panel_region(), ui_item_array(), ui_item_is_radial_drawable(), ui_item_with_label(), ui_keymap_but_cb(), ui_layout_introspect_button(), ui_list_contains_row(), ui_list_find_mouse_over_ex(), ui_list_row_find_index(), ui_numedit_begin(), ui_numedit_but_SLI(), ui_numedit_end(), ui_popup_block_position(), ui_popup_context_menu_for_button(), ui_popup_menu_create_impl(), ui_searchbox_apply(), ui_searchbox_autocomplete(), ui_searchbox_event(), ui_searchbox_update(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_textedit_begin(), ui_textedit_end(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), UI_tooltip_create_from_button_or_extra_icon(), ui_tooltip_data_from_button_or_extra_icon(), ui_view_item_find_search_highlight(), uiLayoutSetTooltipCustomFunc(), uiLayoutSetTooltipFunc(), uiTemplateLayers(), widget_draw_icon(), widget_draw_text(), widget_draw_text_icon(), widget_icon_has_anim(), widget_list_itembut(), widget_roundbox_set(), and widget_swatch().
| uchar uiBut::unit_type = 0 |
so buttons can support unit systems which are not RNA
Definition at line 276 of file interface_intern.hh.
Referenced by UI_but_unit_type_get(), UI_but_unit_type_set(), and ui_multibut_states_create().