|
Blender V5.3
|
#include <bit>#include <functional>#include <optional>#include <string>#include <type_traits>#include "BLI_compiler_attrs.hh"#include "BLI_enum_flags.hh"#include "BLI_string_ref.hh"#include "BLI_string_utf8_symbols.hh"#include "BLI_sys_types.hh"#include "DNA_listBase.h"#include "DNA_userdef_types.h"#include "UI_interface_icons.hh"#include "UI_interface_types.hh"#include "WM_types.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Classes | |
| struct | blender::ui::ButtonTypeWithPointerType |
| struct | blender::ui::BlockInteraction_Params |
| struct | blender::ui::BlockInteraction_CallbackData |
| struct | blender::ui::TooltipImage |
| struct | blender::ui::DragColorHandle |
| struct | blender::ui::FontStyleDrawParams |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ed |
| namespace | blender::ed::asset |
| namespace | blender::ui |
| namespace | blender::ed::object |
| namespace | blender::ed::object::shapekey |
| namespace | blender::ui::theme |
Variables | |
| static constexpr int | blender::ui::PANEL_MIN_DRAW_WIDTH = 20 |
Custom Interaction | |
Sometimes it's useful to create data that remains available while the user interacts with a button. A common case is dragging a number button or slider however this could be used in other cases too. | |
| using | blender::ui::BlockInteractionBeginFn |
| using | blender::ui::BlockInteractionEndFn |
| using | blender::ui::BlockInteractionUpdateFn |
| void | blender::ui::block_interaction_set (Block *block, BlockInteraction_CallbackData *callbacks) |
| #define AUTOCOMPLETE_FULL_MATCH 1 |
Definition at line 2178 of file UI_interface_c.hh.
Referenced by blender::autocomplete_directory(), blender::ui::autocomplete_end(), and blender::ui::do_but_textedit().
| #define AUTOCOMPLETE_NO_MATCH 0 |
Definition at line 2177 of file UI_interface_c.hh.
Referenced by blender::autocomplete_directory(), blender::ui::autocomplete_end(), blender::autocomplete_file(), blender::ui::do_but_textedit(), and blender::ui::searchbox_autocomplete().
| #define AUTOCOMPLETE_PARTIAL_MATCH 2 |
Definition at line 2179 of file UI_interface_c.hh.
Referenced by blender::ui::autocomplete_end().
| #define BUT_POIN_TYPES (ButPointerType::Float | ButPointerType::Short | ButPointerType::Char) |
Definition at line 539 of file UI_interface_c.hh.
Referenced by blender::ui::but_update_ex(), blender::ui::button_range_set_soft(), and blender::ui::def_but().
| #define button_is_decorator | ( | but | ) |
Definition at line 875 of file UI_interface_c.hh.
Referenced by blender::ui::block_end_ex(), blender::ui::but_anim_decorate_find_attached_button(), blender::ui::context_update_anim_flag(), blender::ui::drag_toggle_but_is_supported(), and blender::ui::drag_toggle_but_pushed_state().
| #define INSTANCED_PANEL_UNIQUE_STR_SIZE 16 |
Definition at line 2339 of file UI_interface_c.hh.
Referenced by blender::ed_panel_draw(), blender::ED_region_panels_layout_ex(), and blender::ui::list_panel_unique_str().
| #define UI_ALPHA_CHECKER_DARK 100 |
Definition at line 2429 of file UI_interface_c.hh.
Referenced by blender::ui::draw_but_COLORBAND(), blender::ui::draw_widgetbase_batch(), blender::ED_image_draw_info(), blender::ed::space_node::node_draw_preview_background(), blender::ui::tooltip_region_draw_cb(), and blender::ui::widgetbase_draw_cache_flush().
| #define UI_ALPHA_CHECKER_LIGHT 160 |
Definition at line 2430 of file UI_interface_c.hh.
Referenced by blender::ui::draw_but_COLORBAND(), blender::ui::draw_widgetbase_batch(), blender::ED_image_draw_info(), blender::ed::space_node::node_draw_preview_background(), blender::ui::tooltip_region_draw_cb(), and blender::ui::widgetbase_draw_cache_flush().
| #define UI_AZONESPOTH (0.6f * U.widget_unit) |
Definition at line 2406 of file UI_interface_c.hh.
Referenced by blender::area_azone_init(), and blender::ui::view2d_masks().
| #define UI_AZONESPOTW_LEFT UI_HEADER_OFFSET |
Definition at line 2404 of file UI_interface_c.hh.
Referenced by blender::area_azone_init(), and blender::ui::view2d_masks().
| #define UI_AZONESPOTW_RIGHT (8.0f * UI_SCALE_FAC) |
Definition at line 2405 of file UI_interface_c.hh.
Referenced by blender::area_actionzone_refresh_xy(), blender::area_azone_init(), and blender::ui::view2d_masks().
| #define UI_BUTTON_SECTION_MERGE_DISTANCE (UI_UNIT_X * 3) |
Definition at line 1165 of file UI_interface_c.hh.
Referenced by blender::ui::button_section_bounds_calc().
| #define UI_BUTTON_SECTION_SEPERATOR_LINE_WITH (U.pixelsize * 2) |
Definition at line 1167 of file UI_interface_c.hh.
Referenced by blender::ui::draw_button_sections_alignment_separator(), blender::ui::draw_button_sections_background(), and blender::ed::asset::shelf::header_region_size().
| #define UI_COMPACT_PANEL_WIDTH 160 |
Definition at line 435 of file UI_interface_c.hh.
Referenced by blender::ED_spacetype_clip(), blender::ed::vse::ED_spacetype_sequencer(), and blender::ED_spacetype_text().
| #define UI_DEFAULT_TEXT_POINTS 11.0f |
Default font size for normal text.
Definition at line 426 of file UI_interface_c.hh.
Referenced by blender::ed::spreadsheet::ColumnValues::fit_column_values_width_px(), blender::ed::spreadsheet::ColumnValues::fit_column_width_px(), blender::ui::popover_panel_create(), blender::ui::style_new(), blender::view3d_draw_region_info(), blender::WM_operator_confirm_ex(), and blender::WM_operator_props_dialog_popup().
| #define UI_DEFAULT_TITLE_POINTS 11.0f |
Larger size used for title text.
Definition at line 429 of file UI_interface_c.hh.
Referenced by blender::ui::style_new().
| #define UI_DEFAULT_TOOLTIP_POINTS 11.0f |
Size of tooltip text.
Definition at line 432 of file UI_interface_c.hh.
Referenced by blender::screen_draw_area_drag_tip(), and blender::ui::style_new().
| #define UI_FLOAT_VALUE_DISPLAY_MAX 3.402820000e+38F |
Definition at line 3172 of file UI_interface_c.hh.
Referenced by blender::ui::but_build_drawstr_float().
| #define UI_FLOAT_VALUE_DISPLAY_MIN -3.402820000e+38F |
Definition at line 3173 of file UI_interface_c.hh.
Referenced by blender::ui::but_build_drawstr_float().
| #define UI_FSTYLE_TOOLTIP (const uiFontStyle *)&(ui::style_get()->tooltip) |
Definition at line 3180 of file UI_interface_c.hh.
Referenced by blender::screen_draw_area_drag_tip().
| #define UI_FSTYLE_WIDGET (const uiFontStyle *)&(ui::style_get()->widget) |
Definition at line 3179 of file UI_interface_c.hh.
Referenced by blender::ui::alert_create(), blender::ANIM_channel_draw(), blender::ui::do_but_TEXTBOX(), blender::draw_playhead_box(), blender::ED_markers_draw(), blender::ui::eyedropper_draw_cursor_text_region(), blender::get_playhead_dimensions(), blender::ui::icon_draw_size(), blender::ui::item_menu(), blender::ui::item_with_label(), blender::ui::Layout::label_multiline(), blender::ui::Layout::link(), blender::ed::outliner::outliner_draw_tree(), blender::ui::pie_menu_title_width(), blender::ui::resolve_label_multiline(), blender::ui::template_ID(), blender::ui::template_id_def_new_but(), blender::ui::template_ID_session_uid(), blender::ui::template_running_jobs(), blender::ui::template_search_textbut_width(), blender::ui::text_icon_width(), blender::ui::textbox_but_height(), blender::ui::textbox_vertical_padding(), blender::ui::uiItem_simple(), blender::view3d_draw_region_info(), blender::ui::widget_draw_multiline_text(), blender::wm_drag_draw_item_name(), blender::wm_drop_operator_draw(), and blender::wm_drop_redalert_draw().
| #define UI_HEADER_OFFSET ((void)0, ((U.uiflag & USER_AREA_CORNER_HANDLE) ? 16.0f : 8.0f) * UI_SCALE_FAC) |
Definition at line 2401 of file UI_interface_c.hh.
Referenced by blender::ED_region_header_layout(), blender::is_header_azone_location(), and blender::ed::spreadsheet::spreadsheet_footer_region_draw().
| #define UI_MENU_ARROW_SEP BLI_STR_UTF8_BLACK_RIGHT_POINTING_SMALL_TRIANGLE |
Separator for text in search menus (right pointing arrow). keep in sync with string_search.cc.
Definition at line 113 of file UI_interface_c.hh.
| #define UI_NARROW_NAVIGATION_REGION_WIDTH 100 |
Definition at line 438 of file UI_interface_c.hh.
Referenced by blender::userpref_create().
| #define UI_NAVIGATION_REGION_WIDTH UI_COMPACT_PANEL_WIDTH |
Definition at line 437 of file UI_interface_c.hh.
Referenced by blender::ED_spacetype_project(), blender::ED_spacetype_userpref(), and blender::userpref_create().
| #define UI_PANEL_CATEGORY_MARGIN_WIDTH (((U.uiflag2 & USER_UIFLAG2_PANEL_TABS_COMPACT) ? 1.4f : 1.0f) * U.widget_unit) |
Definition at line 447 of file UI_interface_c.hh.
Referenced by blender::ED_region_panel_category_gutter_calc_rect(), blender::ED_region_panels_draw(), blender::ED_region_panels_layout_ex(), blender::ui::panel_categories_tab_is_mouse_over(), blender::ui::panel_category_tabs_draw_all(), blender::ui::panel_region_offset_x_get(), and blender::side_panel_draw_search_block().
| #define UI_PANEL_CATEGORY_MIN_SNAP_WIDTH 90.0f |
Definition at line 454 of file UI_interface_c.hh.
Referenced by blender::region_rect_recursive().
| #define UI_PANEL_CATEGORY_MIN_WIDTH ((U.uiflag2 & USER_UIFLAG2_PANEL_TABS_COMPACT) ? 32.0f : 26.0f) |
Definition at line 452 of file UI_interface_c.hh.
Referenced by blender::ED_region_generic_panel_region_snap_size(), blender::ED_region_panels_draw(), blender::ui::expand_panel_region(), blender::ui::handler_panel_region(), blender::ui::panel_category_tabs_draw_all(), blender::ui::region_panels_fits_only_categories(), blender::region_rect_recursive(), and blender::region_scale_modal().
| #define UI_PANEL_MARGIN_X (U.widget_unit * 0.4f) |
Definition at line 460 of file UI_interface_c.hh.
Referenced by blender::ui::block_draw(), blender::ED_region_draw_overflow_indication(), blender::panel_draw_width_from_max_width_get(), and blender::ui::uiAlignPanelStep().
| #define UI_PANEL_MARGIN_Y (U.widget_unit * 0.1f) |
Definition at line 461 of file UI_interface_c.hh.
Referenced by blender::ui::panels_size(), and blender::ui::uiAlignPanelStep().
| #define UI_PANEL_SEARCH_BLOCK_MARGIN_HEIGHT (1.25f * UI_UNIT_Y) |
Definition at line 449 of file UI_interface_c.hh.
Referenced by blender::ED_region_draw_overflow_indication(), blender::side_panel_draw_search_block(), and blender::ui::uiAlignPanelStep().
| #define UI_PANEL_WIDTH 340 |
Definition at line 434 of file UI_interface_c.hh.
Referenced by blender::ui::panels_size().
| #define UI_PRECISION_FLOAT_MAX 6 |
Definition at line 3165 of file UI_interface_c.hh.
Referenced by blender::ui::but_calc_float_precision(), blender::ui::but_copy_numeric_value(), blender::ui::button_string_get_ex(), blender::ui::calc_float_precision(), blender::ui::do_but_text_value_cycle(), blender::ui::get_but_string_unit(), blender::ed::space_node::NODE_OT_link(), blender::RNA_def_property_ui_range(), and blender::ui::textedit_begin().
| #define UI_PRECISION_FLOAT_SCALE 0.01f |
Definition at line 3176 of file UI_interface_c.hh.
Referenced by blender::ui::but_hide_fraction(), blender::ui::do_but_NUM(), blender::ui::get_but_step_unit(), and blender::ui::numedit_begin().
| #define UI_REGION_OVERLAP_MARGIN (U.widget_unit / 3) |
For #ARegion.overlap regions, pass events though if they don't overlap the regions contents (the usable part of the #View2D and buttons).
The margin is needed so it's not possible to accidentally click in between buttons.
Definition at line 121 of file UI_interface_c.hh.
Referenced by blender::azone_clipped_rect_calc(), and blender::ED_region_contains_xy().
| #define UI_SCREEN_MARGIN 10 |
Use for clamping popups within the screen.
Definition at line 124 of file UI_interface_c.hh.
Referenced by blender::ui::block_bounds_calc_popup(), blender::ui::popup_block_clip(), blender::ui::popup_block_position(), and blender::ui::popup_block_refresh().
| #define UI_SEARCHBOX_BOUNDS (6.0f * UI_SCALE_FAC) |
Definition at line 1932 of file UI_interface_c.hh.
Referenced by blender::ed::outliner::merged_element_search_menu(), blender::ed::space_node::node_find_menu(), blender::ui::searchbox_region_layout_fn(), blender::ui::template_common_search_menu(), blender::wm_block_search_menu(), and blender::wm_enum_search_menu().
| #define UI_SEARCHBOX_TRIA_H (12.0f * UI_SCALE_FAC) |
Definition at line 1933 of file UI_interface_c.hh.
Referenced by blender::ui::searchbox_butrect(), blender::ui::searchbox_draw_clip_tri_down(), blender::ui::searchbox_draw_clip_tri_up(), blender::ui::searchbox_size_y(), and blender::ui::template_common_search_menu().
| #define UI_SEP_CHAR '|' |
Character used for splitting labels (right align text after this character). Users should never see this character. Only applied when #BUT_HAS_SEP_CHAR flag is enabled, see it's docstring for details.
Definition at line 101 of file UI_interface_c.hh.
Referenced by blender::ui::add_collection_search_item(), blender::ui::button_add_shortcut(), blender::ui::button_drawstr_len_without_sep_char(), blender::ui::button_string_get_label(), blender::ui::draw_menu_item(), blender::ui::id_search_add(), blender::ui::menu_items_from_ui_create(), blender::ui::menu_items_from_ui_create_item_from_button(), blender::ui::menu_items_to_ui_button(), blender::ui::operator_search_update_fn(), blender::ui::popup_string_hash(), blender::ui::rna_collection_search_update_fn(), blender::ui::searchbox_apply(), blender::ui::searchbox_update(), blender::ui::widget_draw_text(), and blender::ui::widget_draw_text_icon().
| #define UI_SEP_CHAR_S "|" |
Definition at line 102 of file UI_interface_c.hh.
Referenced by blender::ui::attribute_search_item_add(), blender::ui::button_add_shortcut(), blender::ed::space_node::grid_search_item_add(), and blender::ui::popup_context_menu_for_panel().
| #define UI_SIDEBAR_PANEL_WIDTH 280 |
Definition at line 436 of file UI_interface_c.hh.
Referenced by blender::ED_spacetype_action(), blender::ED_spacetype_clip(), blender::ED_spacetype_image(), blender::ED_spacetype_ipo(), blender::ED_spacetype_nla(), blender::ED_spacetype_node(), blender::ed::vse::ED_spacetype_sequencer(), blender::ED_spacetype_view3d(), blender::ui::expand_panel_region(), and blender::ed::spreadsheet::register_spacetype().
| #define UI_TOOLBAR_COLUMN (1.25f * ICON_DEFAULT_HEIGHT_TOOLBAR) |
The width of one icon column of the Toolbar.
Definition at line 441 of file UI_interface_c.hh.
Referenced by blender::ED_region_generic_tools_region_snap_size().
| #define UI_TOOLBAR_MARGIN (0.5f * ICON_DEFAULT_HEIGHT_TOOLBAR) |
The space between the Toolbar and the area's edge.
Definition at line 443 of file UI_interface_c.hh.
Referenced by blender::ED_region_generic_tools_region_snap_size().
| #define UI_TOOLBAR_WIDTH UI_TOOLBAR_MARGIN + UI_TOOLBAR_COLUMN |
Total width of Toolbar showing one icon column.
Definition at line 445 of file UI_interface_c.hh.
Referenced by blender::ED_spacetype_image(), blender::ED_spacetype_node(), blender::ed::vse::ED_spacetype_sequencer(), blender::ED_spacetype_view3d(), and blender::region_rect_recursive().
| #define UI_TOOLTIP_DELAY 0.5 |
Definition at line 3157 of file UI_interface_c.hh.
Referenced by blender::ui::but_tooltip_init(), blender::ui::button_tooltip_timer_reset(), and blender::WM_tooltip_timer_init().
| #define UI_TOOLTIP_DELAY_QUICK 0.2 |
Definition at line 3158 of file UI_interface_c.hh.
Referenced by blender::ui::but_tooltip_init(), and blender::ui::button_tooltip_timer_reset().
| #define UI_UL_DEFAULT_CLASS_NAME "UI_UL_list" |
Default UIList class name, keep in sync with its declaration in bl_ui/__init__.py.
Definition at line 2782 of file UI_interface_c.hh.
Referenced by blender::RNA_api_ui_layout(), and blender::ui::template_uilist_data_retrieve().
| #define UI_UNIT_X ((void)0, U.widget_unit) |
Definition at line 2398 of file UI_interface_c.hh.
Referenced by blender::nodes::add_attribute_search_button(), blender::nodes::add_layer_name_search_button(), blender::ui::AbstractViewItem::add_rename_button(), blender::ed::asset::shelf::add_tab_button(), blender::ui::alert_create(), blender::ANIM_channel_draw_widgets(), blender::ui::block_bounds_calc_popup(), blender::ui::block_colorpicker(), blender::ui::block_func_COLOR(), blender::ui::block_func_POPOVER(), blender::ui::block_func_POPUP(), blender::ui::block_layout(), blender::ui::TreeViewLayoutBuilder::build_from_tree(), blender::ui::GridViewLayoutBuilder::build_from_view(), blender::ed::asset::shelf::AssetViewItem::build_grid_tile(), blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ui::TreeViewLayoutBuilder::build_row(), blender::ui::but_ensure_in_view(), blender::ui::but_update_ex(), blender::channel_ui_data_init(), blender::clip_draw_dopesheet_channels(), blender::ui::colorband_buttons_layout(), blender::ui::colorband_tools_fn(), blender::ed::spreadsheet::SpreadsheetDrawer::column_width(), blender::ed::space_node::comment_node_prepare_for_draw(), blender::ui::component_menu(), blender::ui::curve_profile_presets_fn(), blender::ui::curve_profile_tools_fn(), blender::ui::curvemap_buttons_layout(), blender::ui::curvemap_clipping_func(), blender::ui::curvemap_tools_func(), blender::ui::CurveProfile_buttons_layout(), blender::ui::Layout::decorator(), blender::ui::def_but_rna__menu(), blender::ed::spreadsheet::draw_column_reorder_destination(), blender::ui::draw_effect_panel_header(), blender::draw_keylist_block_gpencil(), blender::ed::space_node::draw_link_errors(), blender::ui::draw_matrix_template(), blender::ui::draw_menu_item(), blender::draw_view_axis(), blender::ED_file_path_button(), blender::ED_fileselect_init_layout(), blender::ED_image_draw_info(), blender::ed_panel_draw(), blender::ED_region_panels_layout_ex(), blender::ED_spacetype_statusbar(), blender::ED_spacetype_topbar(), blender::envelope_panel_draw(), blender::ui::Layout::estimate(), blender::file_attribute_columns_widths(), blender::file_draw_asset_library_internet_access_required_hint(), blender::file_draw_asset_library_remote_loading_failed_hint(), blender::file_draw_invalid_asset_library_hint(), blender::file_draw_invalid_library_hint(), blender::file_draw_list(), blender::file_panel_execution_buttons_draw(), blender::ed::sculpt_paint::find_curves_brush_position(), blender::ed::space_node::find_visible_center_of_link(), blender::ed::spreadsheet::ColumnValues::fit_column_values_width_px(), blender::fmodifier_panel_header(), blender::ed::spreadsheet::get_index_column_width(), blender::graph_draw_driven_property_enabled_btn(), blender::graph_draw_driver_settings_panel(), blender::grease_pencil_cap_menu(), blender::ui::icon_draw_size(), blender::ui::icon_view_menu_cb(), blender::ui::Layout::image(), blender::info_textview_draw_rect_calc(), blender::ui::item_array(), blender::ui::item_rna_size(), blender::ui::item_with_label(), blender::knot_modes_menu(), blender::ui::label_markdown_dev_config(), blender::ui::label_markdown_dev_config_checkbox(), blender::ui::label_markdown_dev_config_headers_table(), blender::ui::LayoutInternal::layout_add_but(), blender::ed::asset::shelf::layout_width_units_clamped(), blender::ui::litem_min_width(), blender::ui::md_dev_config_detail_label_width(), blender::ui::md_dev_config_h_col_width(), blender::ui::md_dev_config_name_col_width(), blender::ui::md_dev_config_num_width(), blender::ed::outliner::merged_element_search_menu(), blender::metadata_draw_imbuf(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_modal(), blender::modifier_panel_header(), blender::seq::modifier_panel_header(), blender::ed::space_node::node_bundle_type_add_string_search_button(), blender::ed::space_node::node_draw_panels(), blender::ed::space_node::node_geometry_add_attribute_search_button(), blender::ed::space_node::node_geometry_add_layer_search_button(), blender::ed::space_node::node_geometry_add_volume_grid_search_button(), blender::ui::Layout::op_enum_items(), blender::ed::outliner::outliner_buttons(), blender::ed::outliner::outliner_draw_active_indicator(), blender::ed::outliner::outliner_draw_hierarchy_lines_recursive(), blender::ed::outliner::outliner_draw_highlights(), blender::ed::outliner::outliner_draw_iconrow_doit(), blender::ed::outliner::outliner_draw_mode_column_toggle(), blender::ed::outliner::outliner_draw_overrides_restrictbuts(), blender::ed::outliner::outliner_draw_restrictbuts(), blender::ed::outliner::outliner_draw_tree(), blender::ed::outliner::outliner_draw_tree_element(), blender::ed::outliner::outliner_draw_userbuts(), blender::ed::outliner::outliner_draw_warning_tree_element(), blender::ed::outliner::outliner_dropzone_element(), blender::ed::outliner::outliner_is_co_within_mode_column(), blender::ed::outliner::outliner_item_is_co_over_icon(), blender::ed::outliner::outliner_item_is_co_over_name(), blender::ed::outliner::outliner_item_is_co_over_name_icons(), blender::ed::outliner::outliner_item_is_co_within_close_toggle(), blender::ed::outliner::outliner_right_columns_width(), blender::ui::panel_draw_aligned_widgets(), blender::ui::panel_label_offset(), blender::ui::Layout::panel_prop(), blender::ui::pie_menu_level_create(), blender::ui::pie_menu_title_width(), blender::ui::Layout::popover(), blender::ui::popup_block_position(), blender::ui::popup_block_template_confirm_op(), blender::ui::preview_tile_size_x(), blender::ui::Layout::progress_indicator(), blender::ui::Layout::prop_search(), blender::region_rect_recursive(), blender::region_scale_apply_stack(), blender::region_scale_modal(), blender::ui::LayoutRadial::resolve_impl(), blender::ui::resolve_label_multiline(), blender::ui::rotation_mode_menu_callback(), blender::ui::searchbox_region_draw_fn(), blender::ui::searchbox_size_x(), blender::ui::Layout::separator_spacer(), blender::shaderfx_panel_header(), blender::ed::spreadsheet::SpreadsheetDrawer::SpreadsheetDrawer(), blender::ui::template_add_button_search_menu(), blender::ui::template_color_ramp(), blender::ui::template_component_menu(), blender::ui::template_crypto_picker(), blender::ui::template_filepath_split_button(), blender::ui::template_histogram(), blender::ui::template_icon(), blender::ui::template_icon_view(), blender::ui::template_ID(), blender::ui::template_id_def_new_but(), blender::ui::template_ID_session_uid(), blender::ui::template_ID_tabs(), blender::ui::template_keymap_item_properties(), blender::ui::template_layers(), blender::ui::template_node_socket(), blender::ui::template_operator_property_buts_draw_single(), blender::ui::template_palette(), blender::ui::template_preview(), blender::ui::template_project_splash(), blender::ui::template_running_jobs(), blender::ui::template_search_textbut_width(), blender::template_texture_user_menu(), blender::ui::template_uilist_layout_draw(), blender::ui::template_vectorscope(), blender::ui::template_waveform(), blender::ui::text_icon_width_ex(), blender::ed::outliner::tselem_draw_icon(), blender::ui_imageuser_layer_menu(), blender::ui_imageuser_pass_menu(), blender::ui_imageuser_slot_menu(), blender::ui_imageuser_view_menu_multiview(), blender::ui_imageuser_view_menu_rr(), blender::ed::space_node::ui_node_menu_column(), blender::ed::space_node::ui_template_node_link_menu(), blender::uiTemplateMarker(), blender::ui::uiTemplateMenuSearch(), blender::uiTemplateNodeLink(), blender::ui::uiTemplateOperatorSearch(), blender::ui::uiTemplateReportsBanner(), blender::ui::uiTemplateStatusInfo(), blender::uiTemplateTextureShow(), blender::uiTemplateTextureUser(), blender::uiTemplateTrack(), blender::ed::spreadsheet::update_view2d_tot_rect(), blender::view3d_panel_curve_data(), blender::view3d_panel_vgroup(), blender::ui::widget_progress_type_ring(), blender::WIDGETGROUP_navigate_draw_prepare(), blender::wm_block_create_redo(), blender::wm_block_dialog_create(), blender::wm_block_splash_create(), and blender::wm_xr_viewfinder_ui_mode_tabs_block().
| #define UI_UNIT_Y ((void)0, U.widget_unit) |
Definition at line 2399 of file UI_interface_c.hh.
Referenced by blender::nodes::add_attribute_search_button(), blender::ed::space_node::add_error_message_button(), blender::nodes::add_layer_name_search_button(), blender::ui::AbstractViewItem::add_rename_button(), blender::ed::asset::shelf::add_tab_button(), blender::ui::alert_create(), blender::ui::block_colorpicker(), blender::block_create__close_file_dialog(), blender::block_create_autorun_warning(), blender::block_create_save_modified_images_dialog(), blender::ui::block_func_POPOVER(), blender::ui::block_func_POPUP(), blender::ui::block_layout(), blender::ui::TreeViewLayoutBuilder::build_from_tree(), blender::ed::asset::shelf::AssetViewItem::build_grid_tile(), blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ui::but_drag_init(), blender::clip_draw_dopesheet_channels(), blender::ui::colorband_buttons_layout(), blender::ui::colorband_tools_fn(), blender::ui::colorspaces_menu_add_button(), blender::ed::space_node::comment_node_prepare_for_draw(), blender::ui::component_menu(), blender::ed::space_node::create_search_popup_block(), blender::ui::create_title_button(), blender::ui::curve_profile_presets_fn(), blender::ui::curve_profile_tools_fn(), blender::ui::curvemap_buttons_layout(), blender::ui::curvemap_clipping_func(), blender::ui::curvemap_tools_func(), blender::ui::CurveProfile_buttons_layout(), blender::ui::Layout::decorator(), blender::ui::def_but_rna__menu(), blender::ui::draw_matrix_template(), blender::ui::draw_preview_item_stateless(), blender::ed::space_node::draw_tree_path(), blender::draw_view_axis(), blender::nodes::draw_warnings(), blender::ui::draw_warnings(), blender::ED_file_path_button(), blender::ED_fileselect_init_layout(), blender::ED_image_draw_info(), blender::ed_panel_draw(), blender::ED_region_header_layout(), blender::ED_region_info_draw_multiline(), blender::ED_time_scrub_channel_search_draw(), blender::envelope_panel_draw(), blender::ui::Layout::estimate(), blender::file_draw_asset_library_internet_access_required_hint(), blender::file_draw_asset_library_remote_loading_failed_hint(), blender::file_draw_invalid_asset_library_hint(), blender::file_draw_invalid_library_hint(), blender::file_draw_list(), blender::file_panel_execution_buttons_draw(), blender::fmodifier_panel_header(), blender::graph_draw_driven_property_enabled_btn(), blender::graph_draw_driver_settings_panel(), blender::graph_panel_key_properties(), blender::grease_pencil_cap_menu(), blender::ui::handle_button_event(), blender::ui::handle_menu_event(), blender::ed::asset::shelf::header_region_size(), blender::ui::Layout::image(), blender::ui::item_array(), blender::ui::item_disabled(), blender::ui::item_menu(), blender::ui::item_rna_size(), blender::knot_modes_menu(), blender::ui::label_markdown_dev_config(), blender::ui::label_markdown_dev_config_checkbox(), blender::ui::label_markdown_dev_config_col_label(), blender::ui::label_markdown_dev_config_int(), blender::ui::label_markdown_dev_config_num(), blender::ui::Layout::label_multiline(), blender::ui::Layout::link(), blender::ui::menu_scroll_step(), blender::ui::menu_scroll_to_y(), blender::ed::outliner::merged_element_search_menu(), blender::modifier_panel_header(), blender::ed::space_node::node_bundle_type_add_string_search_button(), blender::ed::space_node::node_draw_basis(), blender::ed::space_node::node_draw_extra_info_row(), blender::ed::space_node::node_draw_space(), blender::ed::space_node::node_find_menu(), blender::ed::space_node::node_geometry_add_attribute_search_button(), blender::ed::space_node::node_geometry_add_layer_search_button(), blender::ed::space_node::node_geometry_add_volume_grid_search_button(), blender::ui::Layout::op_enum_items(), blender::ed::outliner::outliner_back(), blender::ed::outliner::outliner_box_select(), blender::ed::outliner::outliner_buttons(), blender::ed::outliner::outliner_draw_active_indicator(), blender::ed::outliner::outliner_draw_hierarchy_line(), blender::ed::outliner::outliner_draw_hierarchy_lines_recursive(), blender::ed::outliner::outliner_draw_highlights(), blender::ed::outliner::outliner_draw_iconrow_doit(), blender::ed::outliner::outliner_draw_mode_column_toggle(), blender::ed::outliner::outliner_draw_overrides_restrictbuts(), blender::ed::outliner::outliner_draw_overrides_rna_buts(), blender::ed::outliner::outliner_draw_restrictbuts(), blender::ed::outliner::outliner_draw_rnabuts(), blender::ed::outliner::outliner_draw_struct_marks(), blender::ed::outliner::outliner_draw_tree(), blender::ed::outliner::outliner_draw_tree_element(), blender::ed::outliner::outliner_draw_userbuts(), blender::ed::outliner::outliner_draw_warning_tree_element(), blender::ed::outliner::outliner_drop_insert_find(), blender::ed::outliner::outliner_dropzone_element(), blender::ed::outliner::outliner_find_first_desired_element_at_y(), blender::ed::outliner::outliner_find_item_at_y(), blender::ed::outliner::outliner_id_delete_tag(), blender::ed::outliner::outliner_id_remap_find_tree_element(), blender::ed::outliner::outliner_is_element_in_view(), blender::ed::outliner::outliner_item_rename_invoke(), blender::ed::outliner::outliner_lib_relocate_invoke_do(), blender::ed::outliner::outliner_scroll_view(), blender::ed::outliner::outliner_set_coordinates(), blender::ed::outliner::outliner_tree_dimensions_impl(), blender::ed::outliner::outliner_walk_scroll(), blender::ui::pan_to_scroll(), blender::ui::panel_label_offset(), blender::ui::Layout::panel_prop(), blender::ui::pie_menu_begin(), blender::ui::pie_menu_level_create(), blender::ui::popup_block_position(), blender::ui::popup_block_template_confirm_op(), blender::ui::popup_context_menu_for_button(), blender::ui::preview_tile_size_y(), blender::ui::preview_tile_size_y_no_label(), blender::ui::Layout::progress_indicator(), blender::ui::Layout::prop(), blender::ui::Layout::prop_tabs_enum(), blender::recent_files_menu_label(), blender::region_draw_status_text(), blender::region_rect_recursive(), blender::region_scale_apply_stack(), blender::region_scale_modal(), blender::region_scale_validate_size(), blender::ui::region_view_scroll_at_borders(), blender::ui::region_views_find_drop_target_at(), blender::ui::resolve_label_multiline(), blender::ui::rotation_mode_menu_callback(), blender::save_file_overwrite_cancel_button(), blender::save_file_overwrite_confirm_button(), blender::save_file_overwrite_saveas_button(), blender::ui::search_menu_create_tooltip(), blender::ui::searchbox_size_y(), blender::ui::Layout::separator(), blender::ui::Layout::separator_spacer(), blender::side_panel_draw_search_block(), blender::ed::spreadsheet::spreadsheet_footer_region_draw(), blender::ed::spreadsheet::SpreadsheetDrawer::SpreadsheetDrawer(), blender::ui::template_add_button_search_menu(), blender::ui::template_common_search_menu(), blender::ui::template_component_menu(), blender::ui::template_crypto_picker(), blender::ui::template_filepath_split_button(), blender::ui::template_filepath_split_name_buttons(), blender::ui::template_histogram(), blender::ui::template_icon(), blender::ui::template_icon_view(), blender::ui::template_ID(), blender::ui::template_ID_session_uid(), blender::ui::template_ID_tabs(), blender::ui::template_keymap_item_properties(), blender::ui::template_layers(), blender::ui::template_node_socket(), blender::ui::template_operator_property_buts_draw_single(), blender::ui::template_palette(), blender::ui::template_preview(), blender::ui::template_project_splash(), blender::ui::template_running_jobs(), blender::template_texture_user_menu(), blender::ui::template_uilist_layout_draw(), blender::ui::template_vectorscope(), blender::ui::template_waveform(), blender::ui::textbox_but_height(), blender::ui::textbox_grip_height(), blender::ui::textbox_vertical_padding(), blender::ui::tooltip_create_from_button_or_extra_icon(), blender::ui::tooltip_create_with_data(), blender::ed::outliner::tselem_draw_icon(), blender::ui_imageuser_layer_menu(), blender::ui_imageuser_pass_menu(), blender::ui_imageuser_slot_menu(), blender::ui_imageuser_view_menu_multiview(), blender::ui_imageuser_view_menu_rr(), blender::ed::space_node::ui_node_menu_column(), blender::ed::space_node::ui_template_node_link_menu(), blender::uiblock_layer_pass_buttons(), blender::ui::uiItem_simple(), blender::ui::uiItemFullO_ptr_ex(), blender::ui::uilist_resize_update(), blender::uiTemplateImage(), blender::uiTemplateMarker(), blender::ui::uiTemplateMenuSearch(), blender::uiTemplateNodeLink(), blender::ui::uiTemplateOperatorSearch(), blender::ui::uiTemplateReportsBanner(), blender::ui::uiTemplateStatusInfo(), blender::uiTemplateTextureShow(), blender::uiTemplateTextureUser(), blender::uiTemplateTrack(), blender::ui::unpadded_item_height(), blender::uvedit_vertex_buttons(), blender::view3d_panel_vgroup(), blender::ui::widget_draw_multiline_text(), blender::ui::widget_draw_text_icon(), blender::wm_block_create_redo(), blender::wm_block_dialog_create(), blender::wm_block_file_close_cancel_button(), blender::wm_block_file_close_discard_button(), blender::wm_block_file_close_save_button(), blender::wm_block_insert_unicode_create(), blender::wm_block_save_modified_images_cancel_button(), blender::wm_block_save_modified_images_save_button(), blender::wm_block_search_menu(), blender::wm_block_splash_add_label(), blender::wm_block_splash_create(), blender::wm_enum_search_menu(), and blender::wm_xr_viewfinder_ui_mode_tabs_block().
| #define UI_VALUE_INDETERMINATE_CHAR BLI_STR_UTF8_EM_DASH |
Character used when value is indeterminate (multiple, unknown, unset).
Definition at line 107 of file UI_interface_c.hh.
Referenced by blender::ui::widget_draw_text().
| #define USE_UI_POPOVER_ONCE |
Support click-drag motion which presses the button and closes a popover (like a menu).
Definition at line 3214 of file UI_interface_c.hh.
| #define USE_UI_TOOLBAR_HACK |
Special drawing for toolbar, mainly workarounds for inflexible icon sizing.
Definition at line 3211 of file UI_interface_c.hh.