|
Blender V4.5
|
#include <optional>#include "BLI_string_ref.hh"#include "BLI_vector.hh"#include "UI_interface_icons.hh"#include "UI_interface_types.hh"#include "WM_types.hh"Go to the source code of this file.
Classes | |
| struct | PanelLayout |
| struct | uiItem |
| struct | uiLayout |
| struct | uiPropertySplitWrapper |
Namespaces | |
| namespace | blender |
| namespace | blender::ui |
Macros | |
| #define | UI_ITEM_NONE eUI_Item_Flag(0) |
| #define UI_ITEM_NONE eUI_Item_Flag(0) |
Definition at line 404 of file UI_interface_layout.hh.
Referenced by blender::nodes::add_attribute_search_button(), blender::nodes::add_attribute_search_or_value_buttons(), blender::nodes::add_layer_name_search_button(), advanced_panel_draw(), advanced_panel_draw(), apply_armature_pose2bones_ui(), blender::ed::asset::shelf::asset_shelf_header_draw(), axis_mapping_panel_draw(), block_create_autorun_warning(), blur_panel_draw(), blur_panel_draw(), blender::ed::asset_browser::AssetCatalogTreeViewItem::build_context_menu(), caps_panel_draw(), blender::ed::geometry::catalog_assets_draw(), blender::ed::object::catalog_assets_draw(), blender::ed::geometry::catalog_assets_draw_unassigned(), blender::chaining_panel_draw(), clamp_panel_draw(), blender::nodes::node_composite_planetrackdeform_cc::cmp_node_planetrackdeform_declare(), blender::nodes::node_composite_value_cc::cmp_node_value_declare(), colorband_buttons_layout(), blender::composition_panel_draw(), constant_offset_draw(), constant_offset_header_draw(), constraint_ops_extra_draw(), CurveProfile_buttons_layout(), cycles_panel_draw(), data_panel_draw(), blender::nodes::draw_bake_button_row(), blender::nodes::draw_bake_data_block_list_item(), blender::nodes::node_geo_bake_cc::draw_bake_items(), blender::nodes::draw_bake_panel(), blender::nodes::draw_common_bake_settings(), draw_constraint_header(), blender::ed::spreadsheet::draw_context_panel_content(), blender::modifier::greasepencil::draw_custom_curve_settings(), draw_export_properties(), draw_exporter_item(), draw_fill_tile(), blender::nodes::draw_geometry_nodes_modifier_ui(), blender::ed::space_node::draw_gizmo_pin_icon(), blender::nodes::socket_items::ui::draw_item_in_list(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::ed::space_node::draw_node_socket_name_editable(), blender::nodes::draw_property_for_socket(), blender::nodes::node_geo_simulation_cc::draw_simulation_state(), blender::modifier::greasepencil::draw_vertex_group_settings(), blender::ed::sculpt_paint::dyntopo::dyntopo_warning_popup(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ed_screens_statusbar_menu_create(), ED_time_scrub_channel_search_draw(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_decimate_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), edge_data_panel_draw(), edge_panel_draw(), edge_panel_draw_header(), blender::edge_types_panel_draw(), envelope_panel_draw(), face_corner_panel_draw(), face_corner_panel_draw_header(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), blender::face_mark_panel_draw(), blender::face_mark_panel_draw_header(), face_panel_draw(), face_panel_draw_header(), falloff_panel_draw(), falloff_panel_draw(), falloff_panel_draw(), falloff_panel_draw(), file_os_operations_menu_item(), file_panel_asset_catalog_buttons_draw(), fmodifier_frame_range_draw(), fmodifier_frame_range_header_draw(), fmodifier_influence_draw(), fmodifier_panel_header(), fn_generator_panel_draw(), generate_panel_draw(), generator_panel_draw(), blender::ed::geometry::geometry_attribute_convert_ui(), blender::ed::geometry::geometry_color_attribute_add_ui(), geometry_panel_draw(), gpencil_shaderfx_ops_extra_draw(), graph_draw_driver_settings_panel(), graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driverVar__contextProp(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__transChan(), graph_panel_driverVar_fallback(), graph_panel_key_properties(), graph_panel_properties(), blender::ed::greasepencil::grease_pencil_convert_curve_type_ui(), blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_ui(), blender::ed::greasepencil::grease_pencil_reproject_ui(), blender::ed::greasepencil::grease_pencil_simplify_ui(), image_new_draw(), image_save_as_draw(), blender::intersection_panel_draw(), blender::ed::asset::shelf::library_selector_draw(), limits_panel_draw(), blender::ed::sculpt_paint::mask::mask_from_boundary_ui(), blender::ed::sculpt_paint::mask::mask_from_cavity_ui(), blender::material_mask_panel_draw(), blender::material_mask_panel_draw_header(), materials_panel_draw(), menu_item_enum_opname_menu(), blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), mix_mode_panel_draw(), modifier_grease_pencil_curve_header_draw(), modifier_ops_extra_draw(), modifier_panel_header(), modifier_vgroup_ui(), blender::ed::object::move_to_collection_menu_create(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_properties(), nla_panel_stripname(), blender::ed::space_node::node_add_catalog_assets_draw(), blender::ed::space_node::node_add_unassigned_assets_draw(), blender::ed::space_node::node_composit_buts_cryptomatte(), blender::nodes::node_composite_file_output_cc::node_composit_buts_file_output_ex(), blender::nodes::node_composite_kuwahara_cc::node_composit_buts_kuwahara(), blender::nodes::node_composite_render_layer_cc::node_composit_buts_viewlayers(), blender::nodes::node_fn_input_bool_cc::node_declare(), blender::nodes::node_fn_input_int_cc::node_declare(), blender::nodes::node_fn_input_rotation_cc::node_declare(), blender::nodes::node_fn_input_vector_cc::node_declare(), blender::nodes::node_composite_relative_to_pixel_cc::node_layout(), blender::nodes::node_fn_align_euler_to_vector_cc::node_layout(), blender::nodes::node_fn_align_rotation_to_vector_cc::node_layout(), blender::nodes::node_fn_bit_math_cc::node_layout(), blender::nodes::node_fn_boolean_math_cc::node_layout(), blender::nodes::node_fn_combine_color_cc::node_layout(), blender::nodes::node_fn_compare_cc::node_layout(), blender::nodes::node_fn_float_to_int_cc::node_layout(), blender::nodes::node_fn_hash_value_cc::node_layout(), blender::nodes::node_fn_integer_math_cc::node_layout(), blender::nodes::node_fn_match_string_cc::node_layout(), blender::nodes::node_fn_random_value_cc::node_layout(), blender::nodes::node_fn_separate_color_cc::node_layout(), blender::nodes::node_fn_value_to_string_cc::node_layout(), blender::nodes::node_geo_accumulate_field_cc::node_layout(), blender::nodes::node_geo_attribute_capture_cc::node_layout(), blender::nodes::node_geo_attribute_domain_size_cc::node_layout(), blender::nodes::node_geo_attribute_statistic_cc::node_layout(), blender::nodes::node_geo_blur_attribute_cc::node_layout(), blender::nodes::node_geo_boolean_cc::node_layout(), blender::nodes::node_geo_curve_handle_type_selection_cc::node_layout(), blender::nodes::node_geo_curve_primitive_quadrilateral_cc::node_layout(), blender::nodes::node_geo_curve_resample_cc::node_layout(), blender::nodes::node_geo_curve_sample_cc::node_layout(), blender::nodes::node_geo_curve_set_handle_type_cc::node_layout(), blender::nodes::node_geo_curve_spline_type_cc::node_layout(), blender::nodes::node_geo_curve_to_points_cc::node_layout(), blender::nodes::node_geo_delete_geometry_cc::node_layout(), blender::nodes::node_geo_distribute_points_in_grid_cc::node_layout(), blender::nodes::node_geo_distribute_points_in_volume_cc::node_layout(), blender::nodes::node_geo_distribute_points_on_faces_cc::node_layout(), blender::nodes::node_geo_duplicate_elements_cc::node_layout(), blender::nodes::node_geo_evaluate_at_index_cc::node_layout(), blender::nodes::node_geo_evaluate_on_domain_cc::node_layout(), blender::nodes::node_geo_extrude_mesh_cc::node_layout(), blender::nodes::node_geo_field_average_cc::node_layout(), blender::nodes::node_geo_field_min_and_max_cc::node_layout(), blender::nodes::node_geo_field_variance_cc::node_layout(), blender::nodes::node_geo_foreach_geometry_element_cc::input_node::node_layout(), blender::nodes::node_geo_get_named_grid_cc::node_layout(), blender::nodes::node_geo_gizmo_dial_cc::node_layout(), blender::nodes::node_geo_gizmo_linear_cc::node_layout(), blender::nodes::node_geo_grease_pencil_set_depth_mode::node_layout(), blender::nodes::node_geo_grid_info_cc::node_layout(), blender::nodes::node_geo_index_switch_cc::node_layout(), blender::nodes::node_geo_input_named_attribute_cc::node_layout(), blender::nodes::node_geo_menu_switch_cc::node_layout(), blender::nodes::node_geo_merge_by_distance_cc::node_layout(), blender::nodes::node_geo_merge_layers_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_circle_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_line_cc::node_layout(), blender::nodes::node_geo_mesh_to_points_cc::node_layout(), blender::nodes::node_geo_mesh_to_volume_cc::node_layout(), blender::nodes::node_geo_points_to_volume_cc::node_layout(), blender::nodes::node_geo_proximity_cc::node_layout(), blender::nodes::node_geo_raycast_cc::node_layout(), blender::nodes::node_geo_remove_attribute_cc::node_layout(), blender::nodes::node_geo_sample_grid_cc::node_layout(), blender::nodes::node_geo_sample_grid_index_cc::node_layout(), blender::nodes::node_geo_sample_index_cc::node_layout(), blender::nodes::node_geo_sample_nearest_cc::node_layout(), blender::nodes::node_geo_sample_nearest_surface_cc::node_layout(), blender::nodes::node_geo_sample_uv_surface_cc::node_layout(), blender::nodes::node_geo_scale_elements_cc::node_layout(), blender::nodes::node_geo_sdf_grid_boolean_cc::node_layout(), blender::nodes::node_geo_separate_geometry_cc::node_layout(), blender::nodes::node_geo_set_curve_normal_cc::node_layout(), blender::nodes::node_geo_set_grease_pencil_color_cc::node_layout(), blender::nodes::node_geo_set_mesh_normal_cc::node_layout(), blender::nodes::node_geo_sort_elements_cc::node_layout(), blender::nodes::node_geo_split_to_instances_cc::node_layout(), blender::nodes::node_geo_store_named_attribute_cc::node_layout(), blender::nodes::node_geo_store_named_grid_cc::node_layout(), blender::nodes::node_geo_string_to_curves_cc::node_layout(), blender::nodes::node_geo_subdivision_surface_cc::node_layout(), blender::nodes::node_geo_switch_cc::node_layout(), blender::nodes::node_geo_tool_active_element_cc::node_layout(), blender::nodes::node_geo_tool_set_selection_cc::node_layout(), blender::nodes::node_geo_transform_geometry_cc::node_layout(), blender::nodes::node_geo_triangulate_cc::node_layout(), blender::nodes::node_geo_uv_unwrap_cc::node_layout(), blender::nodes::node_geo_viewer_cc::node_layout(), blender::nodes::node_geo_volume_to_mesh_cc::node_layout(), blender::nodes::node_geo_warning_cc::node_layout(), blender::nodes::node_fn_format_string_cc::node_layout_ex(), blender::nodes::node_geo_attribute_capture_cc::node_layout_ex(), blender::nodes::node_geo_closure_cc::node_layout_ex(), blender::nodes::node_geo_combine_bundle_cc::node_layout_ex(), blender::nodes::node_geo_curve_resample_cc::node_layout_ex(), blender::nodes::node_geo_distribute_points_on_faces_cc::node_layout_ex(), blender::nodes::node_geo_evaluate_closure_cc::node_layout_ex(), blender::nodes::node_geo_foreach_geometry_element_cc::node_layout_ex(), blender::nodes::node_geo_gizmo_transform_cc::node_layout_ex(), blender::nodes::node_geo_input_normal_cc::node_layout_ex(), blender::nodes::node_geo_menu_switch_cc::node_layout_ex(), blender::nodes::node_geo_repeat_cc::node_layout_ex(), blender::nodes::node_geo_separate_bundle_cc::node_layout_ex(), blender::nodes::node_geo_viewer_cc::node_layout_ex(), blender::nodes::node_shader_attribute_cc::node_shader_buts_attribute(), noise_panel_draw(), normals_panel_draw(), normals_panel_draw(), blender::ed::object::object_convert_ui(), object_offset_draw(), object_offset_header_draw(), blender::occlusion_panel_draw(), offset_panel_draw(), uiLayout::op(), uiLayout::op(), blender::options_light_reference_draw(), blender::options_panel_draw(), blender::ed::outliner::outliner_orphans_purge_ui(), blender::panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), uiLayout::panel_prop_with_bool_header(), blender::ed::object::parent_set_invoke_menu(), path_panel_draw(), path_panel_draw_header(), position_panel_draw(), preferences_extension_repo_add_ui(), random_panel_draw(), random_panel_header_draw(), relative_offset_draw(), relative_offset_header_draw(), screen_area_menu_items(), screen_area_options_invoke(), screen_user_menu_draw(), blender::ed::sculpt_paint::color::sculpt_color_filter_ui(), blender::ed::sculpt_paint::filter::sculpt_mesh_ui_exec(), blender::ed::curves::select_ends_ui(), blender::ed::curves::select_random_ui(), blender::ed::pointcloud::select_random_ui(), blender::ed::sculpt_paint::select_random::select_random_ui(), blender::ed::vse::sequencer_split_ui(), blender::ed::curves::set_attribute_ui(), blender::ed::pointcloud::set_attribute_ui(), blender::nodes::node_sh_mix_cc::sh_node_mix_layout(), blender::nodes::node_shader_value_cc::sh_node_value_declare(), blender::ed::object::shade_auto_smooth_ui(), shaderfx_panel_header(), shading_panel_draw(), solver_options_panel_draw(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw(), blender::ed::space_node::std_node_socket_draw(), stepped_panel_draw(), subdivisions_panel_draw(), symmetry_panel_draw(), symmetry_panel_header_draw(), template_keymap_item_properties(), template_operator_property_buts_draw_single(), texture_paint_add_texture_paint_slot_ui(), texture_panel_draw(), texture_panel_draw(), tile_add_draw(), time_panel_draw(), time_remapping_panel_draw(), transform_panel_draw(), ui_but_menu_add_path_operators(), blender::ed::space_node::ui_node_draw_input(), blender::ed::space_node::ui_node_draw_recursive(), UI_popup_block_template_confirm_op(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), uiDefAutoButsRNA(), uiItemDecoratorR_prop(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR_prop(), uiItemEnumR_string_prop(), uiItemsEnumO(), uilist_draw_filter_default(), uiTemplateAnyID(), uiTemplateAssetView(), uiTemplateCacheFile(), uiTemplateCacheFileProcedural(), uiTemplateCacheFileTimeSettings(), uiTemplateCacheFileVelocity(), uiTemplateColormanagedViewSettings(), uiTemplateColorspaceSettings(), uiTemplateEditModeSelection(), uiTemplateImage(), uiTemplateImageFormatViews(), uiTemplateImageSettings(), uiTemplateImageStereo3d(), uiTemplateMovieClip(), uiTemplatePathBuilder(), uiTemplatePreview(), uiTemplateRecentFiles(), blender::ed::object::unassigned_assets_draw(), unpack_item_invoke(), unpack_menu(), blender::ed::object::bake_simulation::unpack_single_bake_invoke(), unwrap_draw(), uv_pack_islands_ui(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_transform_butsR(), velocity_panel_draw(), vert_vcol_panel_draw(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_panel_draw_header(), vertex_vgroup_panel_draw(), blender::vgroup_panel_draw(), view3d_panel_vgroup(), wave_header_draw(), wave_panel_draw(), weight_sample_group_invoke(), weightvg_ui_common(), wm_block_splash_create(), wm_drop_import_file_invoke(), WM_menu_invoke_ex(), wm_open_mainfile_ui(), wm_stereo3d_set_draw(), and workspace_append_button().
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_HORIZONTAL | |
| UI_LAYOUT_VERTICAL | |
Definition at line 346 of file UI_interface_layout.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_ALIGN_EXPAND | |
| UI_LAYOUT_ALIGN_LEFT | |
| UI_LAYOUT_ALIGN_CENTER | |
| UI_LAYOUT_ALIGN_RIGHT | |
Definition at line 360 of file UI_interface_layout.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| UI_LAYOUT_PANEL | |
| UI_LAYOUT_HEADER | |
| UI_LAYOUT_MENU | |
| UI_LAYOUT_TOOLBAR | |
| UI_LAYOUT_PIEMENU | |
| UI_LAYOUT_VERT_BAR | |
Definition at line 351 of file UI_interface_layout.hh.
| enum eButProgressType |
| Enumerator | |
|---|---|
| UI_BUT_PROGRESS_TYPE_BAR | |
| UI_BUT_PROGRESS_TYPE_RING | |
Definition at line 698 of file UI_interface_layout.hh.
| enum eUI_Item_Flag : uint16_t |
| Enumerator | |
|---|---|
| UI_ITEM_R_EXPAND | |
| UI_ITEM_R_SLIDER | |
| UI_ITEM_R_TOGGLE | Use for booleans, causes the button to draw with an outline (emboss), instead of text with a checkbox. This is implied when toggle buttons have an icon unless UI_ITEM_R_ICON_NEVER flag is set. |
| UI_ITEM_R_ICON_NEVER | Don't attempt to use an icon when the icon is set to #ICON_NONE. Use for booleans, causes the buttons to always show as a checkbox even when there is an icon (which would normally show the button as a toggle). |
| UI_ITEM_R_ICON_ONLY | |
| UI_ITEM_R_EVENT | |
| UI_ITEM_R_FULL_EVENT | |
| UI_ITEM_R_NO_BG | |
| UI_ITEM_R_IMMEDIATE | |
| UI_ITEM_O_DEPRESS | |
| UI_ITEM_R_COMPACT | |
| UI_ITEM_R_CHECKBOX_INVERT | |
| UI_ITEM_R_FORCE_BLANK_DECORATE | Don't add a real decorator item, just blank space. |
| UI_ITEM_R_SPLIT_EMPTY_NAME | |
| UI_ITEM_R_TEXT_BUT_FORCE_SEMI_MODAL_ACTIVE | Only for text buttons (for now): Force the button as active in a semi-modal state (capturing text input while leaving the remaining UI interactive). |
Definition at line 367 of file UI_interface_layout.hh.
|
strong |
| Enumerator | |
|---|---|
| Auto | |
| Space | |
| Line | |
Definition at line 64 of file UI_interface_layout.hh.
| bool UI_block_apply_search_filter | ( | uiBlock * | block, |
| const char * | search_filter ) |
Apply property search behavior, setting panel flags and deactivating buttons that don't match.
Definition at line 5406 of file interface_layout.cc.
References block_search_filter_tag_buttons(), block_search_panel_label_matches(), PanelType::flag, uiBlock::panel, PANEL_TYPE_NO_SEARCH, Panel::type, and ui_panel_tag_search_filter_match().
Referenced by ed_panel_draw(), and panel_property_search().
| uiLayout * UI_block_layout | ( | uiBlock * | block, |
| int | dir, | ||
| int | type, | ||
| int | x, | ||
| int | y, | ||
| int | size, | ||
| int | em, | ||
| int | padding, | ||
| const uiStyle * | style ) |
Definition at line 5712 of file interface_layout.cc.
References uiLayout::active_, BLI_addtail(), uiLayoutRoot::block, uiLayout::context_, uiBlock::curlayout, ELEM, uiLayout::emboss_, uiLayoutRoot::emh, uiLayoutRoot::emw, uiLayout::enabled_, uiItem::flag_, uiLayout::h_, uiLayoutRoot::layout, uiBlock::layouts, MEM_callocN(), uiLayoutRoot::opcontext, padding(), uiLayoutRoot::padding, uiLayout::root_, size(), uiLayout::space_, uiLayoutRoot::style, uiStyle::templatespace, uiLayoutRoot::type, uiItem::type_, ui_layout_add_padding_button(), UI_LAYOUT_HORIZONTAL, UI_LAYOUT_MENU, UI_LAYOUT_PIEMENU, UI_LAYOUT_VERT_BAR, UI_UNIT_X, UI_UNIT_Y, blender::ui::Undefined, uiLayout::w_, WM_OP_INVOKE_REGION_WIN, x, uiLayout::x_, y, and uiLayout::y_.
Referenced by colorband_tools_fn(), component_menu(), blender::ed::space_node::draw_tree_path(), ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), menu_add_shortcut(), menu_change_shortcut(), menu_items_from_ui_create(), blender::ed::space_node::node_update_basis_buttons(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::space_node::node_update_basis_socket(), panel_property_search(), blender::ed::asset::shelf::region_layout(), blender::ed::spreadsheet::spreadsheet_footer_region_draw(), UI_pie_menu_begin(), ui_popover_create_block(), ui_popup_menu_create_block(), uiItemsAlertBox(), wm_block_about_create(), wm_block_create_redo(), wm_block_dialog_create(), wm_block_insert_unicode_create(), wm_block_splash_create(), and wm_operator_ui_create().
| void UI_block_layout_free | ( | uiBlock * | block | ) |
Used for property search when the layout process needs to be cancelled in order to avoid computing the locations for buttons, but the layout items created while adding the buttons must still be freed.
Definition at line 5896 of file interface_layout.cc.
References uiBlock::layouts, LISTBASE_FOREACH_MUTABLE, MEM_freeN(), and ui_layout_free().
Referenced by panel_property_search().
| bool UI_block_layout_needs_resolving | ( | const uiBlock * | block | ) |
Definition at line 5929 of file interface_layout.cc.
References BLI_listbase_is_empty(), and uiBlock::layouts.
Referenced by ui_textedit_begin().
| void UI_block_layout_resolve | ( | uiBlock * | block, |
| int * | r_x, | ||
| int * | r_y ) |
Definition at line 5904 of file interface_layout.cc.
References uiBlock::active, BLI_assert, BLI_listbase_clear(), uiBlock::curlayout, uiBlock::layouts, LISTBASE_FOREACH_MUTABLE, MEM_freeN(), ui_layout_add_padding_button(), ui_layout_end(), and ui_layout_free().
Referenced by blender::ed::space_node::draw_tree_path(), ed_panel_draw(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), blender::ed::space_node::node_update_basis_buttons(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::space_node::node_update_basis_socket(), blender::ed::asset::shelf::region_layout(), blender::ed::spreadsheet::spreadsheet_footer_region_draw(), UI_block_end_ex(), ui_block_func_PIE(), ui_block_func_POPOVER(), ui_block_func_POPUP(), and UI_popup_menu_end_or_cancel().
Definition at line 5776 of file interface_layout.cc.
References uiBlock::curlayout.
Referenced by uiLayout::absolute(), blender::ui::TreeViewLayoutBuilder::build_from_tree(), blender::ui::GridViewLayoutBuilder::build_from_view(), blender::ui::GridViewBuilder::build_grid_view(), blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ui::TreeViewLayoutBuilder::build_row(), blender::ui::TreeViewBuilder::build_tree_view(), colorband_tools_fn(), uiLayout::column(), uiLayout::column_flow(), ED_time_scrub_channel_search_draw(), blender::ed::asset_browser::file_create_asset_catalog_tree_view_in_layout(), uiLayout::grid_flow(), uiLayout::menu_pie(), uiLayout::overlap(), uiLayout::panel_prop(), uiLayout::prop(), uiLayout::row(), uiLayout::separator(), uiLayout::split(), blender::ed::spreadsheet::spreadsheet_data_set_panel_draw(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_item_array(), ui_item_disabled(), ui_item_enum_expand_exec(), ui_item_menu(), ui_item_with_label(), ui_layout_box(), blender::ed::space_node::ui_node_menu_column(), blender::ed::space_node::ui_template_node_link_menu(), uiItemDecoratorR_prop(), uiItemFullO_ptr_ex(), uiItemL_(), uiItemL_respect_property_split(), uiItemProgressIndicator(), uiItemsFullEnumO_items(), uiItemSpacer(), uiItemTabsEnumR_prop(), uiLayoutListItemAddPadding(), uiTemplateMenuSearch(), uiTemplateNodeLink(), uiTemplateOperatorSearch(), and uiTemplateRunningJobs().
| const char * UI_layout_introspect | ( | uiLayout * | layout | ) |
Evaluate layout items as a Python dictionary.
Definition at line 6287 of file interface_layout.cc.
References BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), result, and ui_layout_introspect_items().
Referenced by bpy_rna_uilayout_introspect().
Definition at line 6050 of file interface_layout.cc.
References C, uiLayout::context_, CTX_store_get(), CTX_store_set(), MenuType::draw, bContextStore::entries, Vector< T, InlineBufferCapacity, Allocator >::extend(), MenuType::flag, G, G_DEBUG_WM, MenuType::idname, Menu::layout, MenuType::listener, printf, SearchOnKeyPress, Menu::type, ui_block_add_dynamic_listener(), UI_block_flag_enable(), UI_BLOCK_NO_ACCELERATOR_KEYS, and uiLayoutGetBlock().
Referenced by blender::ed::asset_browser::AssetCatalogTreeViewItem::build_context_menu(), blender::ui::bonecollections::BoneCollectionItem::build_context_menu(), blender::ui::greasepencil::LayerGroupViewItem::build_context_menu(), menu_items_from_ui_create(), ui_item_menu_hold(), ui_item_menutype_func(), UI_pie_menu_invoke(), ui_popup_context_menu_for_button(), UI_popup_menu_invoke(), uiItemMContents(), wm_block_about_create(), and wm_block_splash_create().
Used for popup panels only.
Definition at line 6166 of file interface_layout.cc.
References C, uiLayout::context_, CTX_store_set(), and ui_paneltype_draw_impl().
Referenced by ui_item_paneltype_func(), and UI_popover_panel_invoke().
| void uiItemDecoratorR | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| std::optional< blender::StringRefNull > | propname, | ||
| int | index ) |
Insert a decorator item for a button with the same property as prop. To force inserting a blank dummy element, NULL can be passed for ptr and propname.
Definition at line 3009 of file interface_layout.cc.
References ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, ui_item_disabled(), and uiItemDecoratorR_prop().
Referenced by blender::nodes::add_attribute_search_or_value_buttons(), data_panel_draw(), panel_draw(), panel_draw(), template_search_buttons(), blender::ed::space_node::ui_node_draw_input(), and uiTemplateCacheFileTimeSettings().
| void uiItemDecoratorR_prop | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index ) |
Insert a decorator item for a button with the same property as prop. To force inserting a blank dummy element, NULL can be passed for ptr and prop.
Definition at line 2954 of file interface_layout.cc.
References uiLayoutRoot::block, col, uiLayout::column(), uiButDecorator::decorated_rnaindex, uiButDecorator::decorated_rnapoin, uiButDecorator::decorated_rnaprop, ELEM, uiBut::flag, i, blender::ui::None, ptr, RNA_property_animateable(), RNA_property_array_check(), RNA_property_array_length(), uiLayout::root_, TIP_, UI_block_layout_set_current(), UI_BTYPE_DECORATOR, ui_but_anim_decorate_cb(), UI_BUT_DISABLED, UI_BUT_DRAG_LOCK, UI_but_func_set(), UI_BUT_UNDO, UI_ITEM_NONE, ui_item_rna_is_expand(), UI_UNIT_X, UI_UNIT_Y, and uiDefIconBut().
Referenced by uiLayout::prop(), and uiItemDecoratorR().
| void uiItemEnumO | ( | uiLayout * | layout, |
| blender::StringRefNull | opname, | ||
| std::optional< blender::StringRef > | name, | ||
| int | icon, | ||
| blender::StringRefNull | propname, | ||
| int | value ) |
Definition at line 1439 of file interface_layout.cc.
References blender::StringRefNull::c_str(), ot, RNA_warning, ui_item_disabled(), uiItemEnumO_ptr(), and WM_operatortype_find().
Referenced by armature_parent_clear_invoke(), armature_parent_set_invoke(), blender::nodes::socket_items::ui::draw_items_list_with_operators(), and blender::ed::space_node::node_group_separate_invoke().
| void uiItemEnumO_ptr | ( | uiLayout * | layout, |
| wmOperatorType * | ot, | ||
| std::optional< blender::StringRef > | name, | ||
| int | icon, | ||
| blender::StringRefNull | propname, | ||
| int | value ) |
Definition at line 1419 of file interface_layout.cc.
References blender::StringRefNull::c_str(), uiLayout::op(), uiLayoutRoot::opcontext, ot, ptr, RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, UI_ITEM_NONE, ui_menu_enumpropname(), and WM_operator_properties_create_ptr().
Referenced by blender::ed::object::parent_set_invoke_menu(), text_resolve_conflict_invoke(), and uiItemEnumO().
| void uiItemEnumO_string | ( | uiLayout * | layout, |
| blender::StringRef | name, | ||
| int | icon, | ||
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname, | ||
| const char * | value_str ) |
Definition at line 1700 of file interface_layout.cc.
References uiLayoutRoot::block, blender::StringRefNull::c_str(), uiBlock::evil_C, free(), MEM_freeN(), uiLayout::op(), uiLayoutRoot::opcontext, ot, ptr, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, UI_ITEM_NONE, UI_OPERATOR_ERROR_RET, WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by blender::panel_draw().
| void uiItemEnumO_value | ( | uiLayout * | layout, |
| blender::StringRefNull | name, | ||
| int | icon, | ||
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname, | ||
| int | value ) |
For use in cases where we have.
Definition at line 1677 of file interface_layout.cc.
References blender::StringRefNull::c_str(), uiLayout::op(), uiLayoutRoot::opcontext, ot, ptr, RNA_property_enum_set(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, UI_ITEM_NONE, UI_OPERATOR_ERROR_RET, WM_operator_properties_create_ptr(), and WM_operatortype_find().
Referenced by ui_template_palette_menu().
| void uiItemEnumR_prop | ( | uiLayout * | layout, |
| std::optional< blender::StringRefNull > | name, | ||
| int | icon, | ||
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | value ) |
Definition at line 2474 of file interface_layout.cc.
References blender::StringRefNull::c_str(), uiLayout::prop(), PROP_ENUM, ptr, RNA_ENUM_VALUE, RNA_property_identifier(), RNA_property_type(), RNA_struct_identifier(), RNA_warning, ui_item_disabled(), and UI_ITEM_NONE.
Referenced by uiItemsEnumR().
| void uiItemEnumR_string | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| blender::StringRefNull | propname, | ||
| const char * | value, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon ) |
Definition at line 2541 of file interface_layout.cc.
References blender::StringRefNull::c_str(), ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, ui_item_disabled(), uiItemEnumR_string_prop(), and UNLIKELY.
| void uiItemEnumR_string_prop | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| const char * | value, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon ) |
Definition at line 2491 of file interface_layout.cc.
References uiLayoutRoot::block, blender::StringRefNull::c_str(), CTX_IFACE_, uiBlock::evil_C, flag, free(), EnumPropertyItem::identifier, blender::StringRefBase::is_empty(), MEM_freeN(), uiLayout::prop(), PROP_ENUM, ptr, RNA_ENUM_VALUE, RNA_enum_value_from_id(), RNA_property_enum_items(), RNA_property_identifier(), RNA_property_translation_context(), RNA_property_type(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, ui_item_disabled(), UI_ITEM_NONE, UI_ITEM_R_ICON_ONLY, and UNLIKELY.
Referenced by uiItemEnumR_string().
| void uiItemFullOMenuHold_ptr | ( | uiLayout * | layout, |
| wmOperatorType * | ot, | ||
| std::optional< blender::StringRef > | name, | ||
| int | icon, | ||
| wmOperatorCallContext | context, | ||
| eUI_Item_Flag | flag, | ||
| const char * | menu_id, | ||
| PointerRNA * | r_opptr ) |
Definition at line 1369 of file interface_layout.cc.
References BLI_strdup(), flag, ot, UI_but_func_hold_set(), ui_item_menu_hold(), and uiItemFullO_ptr_ex().
| void uiItemFullR_with_menu | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index, | ||
| int | value, | ||
| eUI_Item_Flag | flag, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon, | ||
| const char * | menu_type ) |
Definition at line 2443 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::buttons, blender::StringRefNull::c_str(), flag, i, uiLayout::prop(), ptr, RNA_property_identifier(), RNA_struct_identifier(), RNA_warning, uiBut::rnaprop, uiLayout::root_, Vector< T, InlineBufferCapacity, Allocator >::size(), uiBut::type, UI_BTYPE_MENU, ui_but_rna_menu_convert_to_menu_type(), and ui_item_disabled().
| void uiItemFullR_with_popover | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| int | index, | ||
| int | value, | ||
| eUI_Item_Flag | flag, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon, | ||
| const char * | panel_type ) |
Use a wrapper function since re-implementing all the logic in this function would be messy.
Definition at line 2413 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::buttons, blender::StringRefNull::c_str(), ELEM, flag, i, uiLayout::prop(), ptr, RNA_property_identifier(), RNA_struct_identifier(), RNA_warning, uiBut::rnaprop, uiLayout::root_, Vector< T, InlineBufferCapacity, Allocator >::size(), uiBut::type, UI_BTYPE_COLOR, UI_BTYPE_MENU, ui_but_rna_menu_convert_to_panel_type(), and ui_item_disabled().
| uiBut * uiItemL_ex | ( | uiLayout * | layout, |
| blender::StringRef | name, | ||
| int | icon, | ||
| bool | highlight, | ||
| bool | redalert ) |
Definition at line 3162 of file interface_layout.cc.
References UI_but_flag_enable(), UI_BUT_REDALERT, UI_SELECT_DRAW, and uiItemL_().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), block_create_gpu_backend_fallback(), block_create_opengl_usage_warning(), block_create_save_file_overwrite_dialog(), blender::ui::bonecollections::BoneCollectionItem::build_row(), blender::ui::template_breadcrumbs(), uiTemplateInputStatus(), wm_block_about_create(), wm_block_create_redo(), wm_block_dialog_create(), and wm_block_insert_unicode_create().
| uiLayout * uiItemL_respect_property_split | ( | uiLayout * | layout, |
| blender::StringRef | text, | ||
| int | icon ) |
Helper to add a label using a property split layout if needed. After calling this the active layout will be the one to place the labeled items in. An additional layout may be returned to place decorator buttons in.
Definition at line 3201 of file interface_layout.cc.
References uiPropertySplitWrapper::decorate_column, uiItem::flag_, uiPropertySplitWrapper::label_column, uiPropertySplitWrapper::property_row, UI_block_layout_set_current(), ui_item_name_add_colon(), UI_MAX_NAME_STR, uiItemL_(), uiItemPropertySplitWrapperCreate(), and uiLayoutGetBlock().
Referenced by graph_panel_key_properties(), template_ID(), template_search_buttons(), ui_item_with_label(), and ui_layout_heading_label_add().
| void uiItemLDrag | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| blender::StringRef | name, | ||
| int | icon ) |
Label icon for dragging.
Definition at line 3221 of file interface_layout.cc.
References ptr, RNA_struct_is_ID(), UI_but_drag_set_id(), and uiItemL_().
Referenced by buttons_panel_context_draw().
| void uiItemMContents | ( | uiLayout * | layout, |
| blender::StringRef | menuname ) |
Menu contents.
Definition at line 2937 of file interface_layout.cc.
References uiLayoutRoot::block, C, uiBlock::evil_C, RNA_warning, uiLayout::root_, UI_menutype_draw(), WM_menutype_find(), and WM_menutype_poll().
Referenced by blender::ed::outliner::outliner_operator_menu(), blender::ed::object::ui_template_modifier_asset_menu_items(), blender::ed::space_node::ui_template_node_asset_menu_items(), and blender::ed::geometry::ui_template_node_operator_asset_menu_items().
| void uiItemMenuEnumFullO | ( | uiLayout * | layout, |
| const bContext * | C, | ||
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname, | ||
| blender::StringRefNull | name, | ||
| int | icon, | ||
| PointerRNA * | r_opptr ) |
Definition at line 3488 of file interface_layout.cc.
References C, blender::StringRefNull::c_str(), ot, RNA_warning, ui_item_disabled(), UI_OPERATOR_ERROR_RET, uiItemMenuEnumFullO_ptr(), and WM_operatortype_find().
Referenced by uiItemMenuEnumO().
| void uiItemMenuEnumFullO_ptr | ( | uiLayout * | layout, |
| const bContext * | C, | ||
| wmOperatorType * | ot, | ||
| blender::StringRefNull | propname, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon, | ||
| PointerRNA * | r_opptr ) |
Level items.
Definition at line 3432 of file interface_layout.cc.
References BLI_assert, uiLayoutRoot::block, but_func_argN_copy(), but_func_argN_free(), C, blender::StringRefNull::c_str(), PointerRNA::data, uiBlock::flag, menu_item_enum_opname_menu(), MenuItemLevel::opcontext, uiLayoutRoot::opcontext, MenuItemLevel::opname, uiBut::opptr, ot, MenuItemLevel::propname, uiLayout::root_, STRNCPY(), uiLayoutRoot::type, UI_BLOCK_LOOP, ui_but_add_shortcut(), ui_item_menu(), UI_LAYOUT_MENU, WM_key_event_operator_string(), WM_operator_properties_alloc(), WM_operator_properties_create_ptr(), and WM_operatortype_name().
Referenced by screen_user_menu_draw(), and uiItemMenuEnumFullO().
| void uiItemMenuEnumO | ( | uiLayout * | layout, |
| const bContext * | C, | ||
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname, | ||
| blender::StringRefNull | name, | ||
| int | icon ) |
Definition at line 3509 of file interface_layout.cc.
References C, and uiItemMenuEnumFullO().
Referenced by file_panel_asset_catalog_buttons_draw(), graph_panel_modifiers(), and nla_panel_modifiers().
| void uiItemMenuEnumR_prop | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon ) |
Definition at line 3527 of file interface_layout.cc.
References but_func_argN_copy(), but_func_argN_free(), menu_item_enum_rna_menu(), MenuItemLevel::opcontext, uiLayoutRoot::opcontext, MenuItemLevel::propname, ptr, RNA_property_description(), RNA_property_identifier(), RNA_property_ui_name(), MenuItemLevel::rnapoin, uiLayout::root_, STRNCPY(), uiLayoutRoot::type, ui_item_menu(), and UI_LAYOUT_MENU.
| void uiItemPointerR | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| blender::StringRefNull | propname, | ||
| PointerRNA * | searchptr, | ||
| blender::StringRefNull | searchpropname, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon ) |
Definition at line 2790 of file interface_layout.cc.
References blender::StringRefNull::c_str(), ptr, RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, PointerRNA::type, and uiItemPointerR_prop().
Referenced by blender::nodes::node_composite_planetrackdeform_cc::cmp_node_planetrackdeform_declare(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::nodes::draw_property_for_socket(), blender::modifier::greasepencil::draw_vertex_group_settings(), edbm_blend_from_shape_ui(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__transChan(), layers_panel_draw(), modifier_vgroup_ui(), blender::nodes::node_composite_keyingscreen_cc::node_composit_buts_keyingscreen(), blender::nodes::node_composite_trackpos_cc::node_composit_buts_trackpos(), blender::nodes::node_shader_normal_map_cc::node_shader_buts_normal_map(), blender::nodes::node_shader_tangent_cc::node_shader_buts_tangent(), blender::nodes::node_shader_tex_pointdensity_cc::node_shader_buts_tex_pointdensity(), blender::nodes::node_shader_uvmap_cc::node_shader_buts_uvmap(), blender::nodes::node_shader_vertex_color_cc::node_shader_buts_vertex_color(), blender::panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), texture_panel_draw(), texture_panel_draw(), vertex_group_panel_draw(), blender::vgroup_panel_draw(), and weightvg_ui_common().
| void uiItemPointerR_prop | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| PointerRNA * | searchptr, | ||
| PropertyRNA * | searchprop, | ||
| std::optional< blender::StringRefNull > | name, | ||
| int | icon, | ||
| bool | results_are_suggestions ) |
Definition at line 2733 of file interface_layout.cc.
References ELEM, uiItem::flag_, PROP_COLLECTION, PROP_ENUM, PROP_POINTER, PROP_STRING, ptr, RNA_property_identifier(), RNA_property_pointer_type(), RNA_property_type(), RNA_property_ui_name(), RNA_struct_identifier(), RNA_struct_ui_icon(), RNA_warning, PointerRNA::type, ui_block_new_button_group(), ui_but_add_search(), ui_item_name_add_colon(), ui_item_rna_size(), ui_item_with_label(), UI_MAX_NAME_STR, UI_UNIT_X, uiLayoutGetBlock(), and w().
Referenced by uiItemPointerR().
| void uiItemPopoverPanel | ( | uiLayout * | layout, |
| const bContext * | C, | ||
| blender::StringRef | panel_type, | ||
| std::optional< blender::StringRef > | name_opt, | ||
| int | icon ) |
References C, ot, ptr, and size().
Referenced by blender::ed::asset::shelf::asset_shelf_header_draw(), draw_export_controls(), and blender::ui::template_asset_shelf_popover().
| void uiItemPopoverPanel_ptr | ( | uiLayout * | layout, |
| const bContext * | C, | ||
| PanelType * | pt, | ||
| std::optional< blender::StringRef > | name_opt, | ||
| int | icon ) |
Definition at line 3031 of file interface_layout.cc.
References C, uiLayout::context_, CTX_IFACE_, CTX_store_get(), CTX_store_set(), PanelType::description, PanelType::draw_header, Panel::flag, uiBut::flag, PanelType::label, Panel::layout, PNL_POPOVER, PanelType::poll, uiLayout::root_, uiLayout::row(), Panel::runtime, TIP_, PanelType::translation_context, Panel::type, uiBut::type, uiLayoutRoot::type, UI_BTYPE_POPOVER, UI_BUT_DISABLED, ui_item_menu(), ui_item_paneltype_func(), and UI_LAYOUT_MENU.
Referenced by uiItemPopoverPanel(), and uiItemPopoverPanelFromGroup().
| void uiItemPopoverPanelFromGroup | ( | uiLayout * | layout, |
| bContext * | C, | ||
| int | space_id, | ||
| int | region_id, | ||
| const char * | context, | ||
| const char * | category ) |
Definition at line 3083 of file interface_layout.cc.
References BKE_regiontype_from_id(), BKE_spacetype_from_id(), C, LISTBASE_FOREACH, ARegionType::paneltypes, RNA_warning, STREQ, and uiItemPopoverPanel_ptr().
| void uiItemProgressIndicator | ( | uiLayout * | layout, |
| const char * | text, | ||
| float | factor, | ||
| eButProgressType | progress_type ) |
Definition at line 3280 of file interface_layout.cc.
References uiLayoutRoot::block, uiBut::drawflag, progress_bar(), uiLayout::root_, UI_block_layout_set_current(), UI_BTYPE_PROGRESS, UI_BUT_PROGRESS_TYPE_BAR, UI_BUT_PROGRESS_TYPE_RING, UI_BUT_TEXT_LEFT, UI_UNIT_X, UI_UNIT_Y, and uiDefBut().
| uiPropertySplitWrapper uiItemPropertySplitWrapperCreate | ( | uiLayout * | parent_layout | ) |
Normally, we handle the split layout in uiLayout::prop(), but there are other cases where the logic is needed. Ideally, uiLayout::prop() could just call this, but it currently has too many special needs.
The returned #uiPropertySplitWrapper.decorator_column may be null when decorators are disabled (uiLayoutGetPropDecorate() returns false).
Definition at line 3184 of file interface_layout.cc.
References uiLayout::alignment_, uiLayout::column(), uiPropertySplitWrapper::decorate_column, uiPropertySplitWrapper::label_column, uiPropertySplitWrapper::property_row, uiLayout::row(), uiLayout::split(), UI_ITEM_PROP_SEP_DIVIDE, ui_item_prop_split_layout_hack(), UI_LAYOUT_ALIGN_RIGHT, and uiLayoutGetPropDecorate().
Referenced by blender::ed::space_node::ui_node_draw_input(), and uiItemL_respect_property_split().
| uiLayout * uiItemsAlertBox | ( | uiBlock * | block, |
| const int | size, | ||
| const eAlertIcon | icon ) |
Definition at line 6336 of file interface_layout.cc.
References uiFontStyle::points, size(), UI_SCALE_FAC, UI_style_get_dpi(), uiItemsAlertBox(), and uiStyle::widget.
| uiLayout * uiItemsAlertBox | ( | uiBlock * | block, |
| const uiStyle * | style, | ||
| const int | dialog_width, | ||
| const eAlertIcon | icon, | ||
| const int | icon_size ) |
Helpers to add a big icon and create a split layout for alert popups. Returns the layout to place further items into the alert box.
Definition at line 6304 of file interface_layout.cc.
References uiLayout::column(), uiStyle::columnspace, uiLayout::row(), uiLayout::split(), UI_block_layout(), UI_LAYOUT_ALIGN_LEFT, UI_LAYOUT_PANEL, UI_LAYOUT_VERTICAL, UI_SCALE_FAC, uiDefButAlert(), and uiLayoutSetAlignment().
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), block_create_gpu_backend_fallback(), block_create_opengl_usage_warning(), block_create_save_file_overwrite_dialog(), uiItemsAlertBox(), and wm_block_dialog_create().
| void uiItemsEnumO | ( | uiLayout * | layout, |
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname ) |
Definition at line 1672 of file interface_layout.cc.
References uiLayoutRoot::opcontext, uiLayout::root_, UI_ITEM_NONE, and uiItemsFullEnumO().
Referenced by keyingset_active_menu_invoke(), blender::ed::outliner::outliner_operator_menu(), blender::ed::transform::select_orientation_invoke(), toggle_cyclic_invoke(), UI_pie_menu_invoke_from_operator_enum(), and unpack_all_invoke().
| void uiItemsEnumR | ( | uiLayout * | layout, |
| PointerRNA * | ptr, | ||
| blender::StringRefNull | propname ) |
Definition at line 2558 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::buttons, blender::StringRefNull::c_str(), uiBut::drawflag, uiBlock::evil_C, free(), i, uiLayout::label(), Vector< T, InlineBufferCapacity, Allocator >::last(), MEM_freeN(), PROP_ENUM, ptr, RNA_property_enum_items_gettexted(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, uiLayout::separator(), split(), uiLayout::split(), UI_BUT_TEXT_LEFT, ui_but_tip_from_enum_item(), ui_item_disabled(), and uiItemEnumR_prop().
Referenced by menu_item_enum_rna_menu().
| void uiItemsFullEnumO | ( | uiLayout * | layout, |
| blender::StringRefNull | opname, | ||
| blender::StringRefNull | propname, | ||
| IDProperty * | properties, | ||
| wmOperatorCallContext | context, | ||
| eUI_Item_Flag | flag, | ||
| const int | active = -1 ) |
Create a list of enum items.
| active | an optional item to highlight. |
Definition at line 1601 of file interface_layout.cc.
References active, BLI_assert, uiLayoutRoot::block, C, blender::StringRefNull::c_str(), uiLayout::context_, CTX_store_get(), CTX_store_set(), uiBlock::evil_C, flag, free(), MEM_freeN(), ot, PROP_ENUM, ptr, RNA_property_enum_items_gettexted(), RNA_property_enum_items_gettexted_all(), RNA_property_type(), RNA_struct_find_property(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, ui_item_disabled(), ui_layout_is_radial(), uiItemsFullEnumO_items(), WM_operator_properties_create_ptr(), WM_operator_properties_sanitize(), and WM_operatortype_find().
Referenced by menu_item_enum_opname_menu(), uiItemsEnumO(), unpack_item_invoke(), blender::ed::object::bake_simulation::unpack_single_bake_invoke(), and WM_menu_invoke_ex().
| void uiItemsFullEnumO_items | ( | uiLayout * | layout, |
| wmOperatorType * | ot, | ||
| const PointerRNA & | ptr, | ||
| PropertyRNA * | prop, | ||
| IDProperty * | properties, | ||
| wmOperatorCallContext | context, | ||
| eUI_Item_Flag | flag, | ||
| const EnumPropertyItem * | item_array, | ||
| int | totitem, | ||
| int | active = -1 ) |
Create UI items for enum items in item_array.
A version of uiItemsFullEnumO that takes pre-calculated item array.
| active | if not -1, will highlight that item. |
Definition at line 1463 of file interface_layout.cc.
References active, uiLayout::align_, uiLayoutRoot::block, uiBlock::buttons, blender::StringRefNull::c_str(), PointerRNA::data_as(), flag, uiBut::flag, i, EnumPropertyItem::icon, EnumPropertyItem::identifier, IDP_CopyPropertyContent(), uiLayout::label(), Vector< T, InlineBufferCapacity, Allocator >::last(), uiLayout::menu_pie(), EnumPropertyItem::name, uiLayout::op(), ot, PIE_MAX_ITEMS, PROP_ENUM, ptr, RNA_property_enum_set(), RNA_property_identifier(), RNA_property_type(), RNA_struct_identifier(), RNA_warning, uiLayout::root_, uiLayout::separator(), split(), uiLayout::split(), UI_block_layout_set_current(), UI_BTYPE_LABEL, ui_but_tip_from_enum_item(), UI_ITEM_R_ICON_ONLY, UI_LAYOUT_HORIZONTAL, ui_layout_is_radial(), ui_pie_menu_level_create(), UI_SELECT_DRAW, UI_UNIT_X, UI_UNIT_Y, uiDefBut(), uiDefIconBut(), uiLayoutGetLocalDir(), and EnumPropertyItem::value.
Referenced by ui_pie_menu_level_invoke(), and uiItemsFullEnumO().
| void uiItemSpacer | ( | uiLayout * | layout | ) |
Flexible spacing.
Definition at line 3323 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::direction, printf, uiLayout::root_, ui_block_is_popup_any(), UI_block_layout_set_current(), UI_BTYPE_SEPR_SPACER, UI_DIR_RIGHT, UI_UNIT_X, UI_UNIT_Y, and uiDefBut().
Referenced by blender::ed::asset::shelf::asset_shelf_header_draw(), buttons_panel_context_draw(), and blender::ed::spreadsheet::spreadsheet_footer_region_draw().
| void uiItemTabsEnumR_prop | ( | uiLayout * | layout, |
| bContext * | C, | ||
| PointerRNA * | ptr, | ||
| PropertyRNA * | prop, | ||
| PointerRNA * | ptr_highlight, | ||
| PropertyRNA * | prop_highlight, | ||
| bool | icon_only ) |
Definition at line 3554 of file interface_layout.cc.
References uiLayoutRoot::block, C, ptr, uiLayout::root_, UI_block_layout_set_current(), ui_item_enum_expand_tabs(), and UI_UNIT_Y.
| void uiLayoutContextCopy | ( | uiLayout * | layout, |
| const bContextStore * | context ) |
Definition at line 5957 of file interface_layout.cc.
References uiLayoutRoot::block, uiLayout::context_, uiBlock::contexts, CTX_store_add_all(), and uiLayout::root_.
Referenced by menu_items_from_ui_create(), set_layout_context_from_button(), ui_popover_create_block(), and ui_popup_menu_create_block().
| bool uiLayoutEndsWithPanelHeader | ( | const uiLayout & | layout | ) |
Definition at line 4911 of file interface_layout.cc.
References Vector< T, InlineBufferCapacity, Allocator >::is_empty(), uiLayout::items_, Vector< T, InlineBufferCapacity, Allocator >::last(), and uiItem::type_.
Referenced by ed_panel_draw().
| bool uiLayoutGetActivateInit | ( | uiLayout * | layout | ) |
Definition at line 5209 of file interface_layout.cc.
References uiLayout::activate_init_.
| bool uiLayoutGetActive | ( | uiLayout * | layout | ) |
Definition at line 5199 of file interface_layout.cc.
References uiLayout::active_.
| bool uiLayoutGetActiveDefault | ( | uiLayout * | layout | ) |
Definition at line 5204 of file interface_layout.cc.
References uiLayout::active_default_.
| int uiLayoutGetAlignment | ( | uiLayout * | layout | ) |
Definition at line 5229 of file interface_layout.cc.
References uiLayout::alignment_.
Referenced by uiItemL_().
Definition at line 5766 of file interface_layout.cc.
References uiLayoutRoot::block, and uiLayout::root_.
Referenced by uiLayout::absolute_block(), blender::nodes::add_attribute_search_button(), blender::ed::asset::shelf::add_catalog_tabs(), blender::nodes::add_layer_name_search_button(), blender::ed::asset::shelf::asset_shelf_header_draw(), asset_view_draw_item(), blender::ed::asset::shelf::build_asset_view(), blender::ui::TreeViewLayoutBuilder::build_from_tree(), blender::ed::asset::shelf::AssetViewItem::build_grid_tile(), blender::ui::PreviewGridItem::build_grid_tile_button(), blender::ui::GridViewBuilder::build_grid_view(), blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ui::TreeViewBuilder::build_tree_view(), blender::ed::asset::shelf::catalog_selector_panel_draw(), blender::ed::asset::shelf::catalog_tree_draw(), create_title_button(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), draw_constraint_header(), blender::ed::spreadsheet::draw_viewer_path_panel(), envelope_panel_draw(), blender::ed::asset_browser::file_create_asset_catalog_tree_view_in_layout(), file_panel_execution_buttons_draw(), file_panel_operator(), fmodifier_panel_header(), graph_draw_driven_property_enabled_btn(), graph_draw_driver_settings_panel(), graph_panel_key_properties(), graph_panel_modifiers(), blender::ui::GridViewLayoutBuilder::GridViewLayoutBuilder(), modifier_panel_get_property_pointers(), modifier_panel_header(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), blender::ed::space_node::node_file_output_socket_draw(), blender::ed::space_node::node_geometry_add_attribute_search_button(), blender::ed::space_node::node_geometry_add_layer_search_button(), panel_draw(), uiLayout::panel_prop(), shaderfx_panel_header(), blender::ed::spreadsheet::spreadsheet_data_set_panel_draw(), blender::ui::template_asset_shelf_popover(), template_ID(), template_ID_tabs(), template_keymap_item_properties(), template_operator_property_buts_draw_single(), template_search_buttons(), template_texture_user_menu(), ui_but_change_type(), ui_def_but_rna__menu(), ui_imageuser_layer_menu(), ui_imageuser_pass_menu(), ui_imageuser_slot_menu(), ui_imageuser_view_menu_multiview(), ui_imageuser_view_menu_rr(), ui_layout_add_but(), UI_menutype_draw(), blender::ed::space_node::ui_node_draw_input(), blender::ed::space_node::ui_node_menu_column(), ui_paneltype_draw_impl(), UI_popup_block_template_confirm_op(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), ui_template_list_layout_draw(), blender::ed::space_node::ui_template_node_link_menu(), uiblock_layer_pass_buttons(), uiItemL_respect_property_split(), uiItemPointerR_prop(), uiLayoutListItemAddPadding(), uiTemplateBoneCollectionTree(), uiTemplateCollectionExporters(), uiTemplateColorPicker(), uiTemplateComponentMenu(), uiTemplateConstraintHeader(), uiTemplateCryptoPicker(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateFileSelectPath(), uiTemplateGreasePencilLayerTree(), uiTemplateHistogram(), uiTemplateImage(), uiTemplateKeymapItemProperties(), uiTemplateLayers(), uiTemplateLightLinkingCollection(), uiTemplateMarker(), uiTemplateMenuSearch(), uiTemplateMovieClip(), uiTemplateNodeLink(), uiTemplateNodeSocket(), uiTemplateNodeTreeInterface(), uiTemplateOperatorRedoProperties(), uiTemplateOperatorSearch(), uiTemplatePalette(), uiTemplatePreview(), uiTemplateRecentFiles(), uiTemplateReportsBanner(), uiTemplateRunningJobs(), uiTemplateStatusInfo(), uiTemplateTextureShow(), uiTemplateTextureUser(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), view3d_panel_transform(), and wm_block_dialog_create().
| bContextStore * uiLayoutGetContextStore | ( | uiLayout * | layout | ) |
Definition at line 5952 of file interface_layout.cc.
References uiLayout::context_.
Referenced by set_layout_context_from_button(), UI_panel_context_pointer_set(), and ui_template_list_layout_draw().
| blender::ui::EmbossType uiLayoutGetEmboss | ( | uiLayout * | layout | ) |
Definition at line 5259 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::emboss, uiLayout::emboss_, uiLayout::root_, and blender::ui::Undefined.
| bool uiLayoutGetEnabled | ( | uiLayout * | layout | ) |
Definition at line 5214 of file interface_layout.cc.
References uiLayout::enabled_.
| bool uiLayoutGetFixedSize | ( | uiLayout * | layout | ) |
Definition at line 5880 of file interface_layout.cc.
References uiItem::flag_.
| bool uiLayoutGetKeepAspect | ( | uiLayout * | layout | ) |
Definition at line 5224 of file interface_layout.cc.
References uiLayout::keepaspect_.
| int uiLayoutGetLocalDir | ( | const uiLayout * | layout | ) |
Definition at line 446 of file interface_layout.cc.
References uiItem::type_, UI_LAYOUT_HORIZONTAL, and UI_LAYOUT_VERTICAL.
Referenced by uiLayout::prop(), ui_item_enum_expand_elem_exec(), ui_item_local_sublayout(), and uiItemsFullEnumO_items().
| wmOperatorCallContext uiLayoutGetOperatorContext | ( | uiLayout * | layout | ) |
Definition at line 5771 of file interface_layout.cc.
References uiLayoutRoot::opcontext, and uiLayout::root_.
Referenced by UI_popup_block_template_confirm_op().
| bool uiLayoutGetPropDecorate | ( | uiLayout * | layout | ) |
Definition at line 5174 of file interface_layout.cc.
References uiItem::flag_.
Referenced by uiItemPropertySplitWrapperCreate().
| bool uiLayoutGetPropSep | ( | uiLayout * | layout | ) |
Definition at line 5164 of file interface_layout.cc.
References uiItem::flag_.
| bool uiLayoutGetRedAlert | ( | uiLayout * | layout | ) |
Definition at line 5219 of file interface_layout.cc.
References uiLayout::redalert_.
Definition at line 5194 of file interface_layout.cc.
References uiLayoutRoot::block, uiBlock::panel, and uiLayout::root_.
Referenced by blender::nodes::draw_geometry_nodes_operator_redo_ui(), and uiLayout::panel().
| float uiLayoutGetScaleX | ( | uiLayout * | layout | ) |
Definition at line 5239 of file interface_layout.cc.
References uiLayout::scale_.
| float uiLayoutGetScaleY | ( | uiLayout * | layout | ) |
Definition at line 5244 of file interface_layout.cc.
References uiLayout::scale_.
| float uiLayoutGetSearchWeight | ( | uiLayout * | layout | ) |
Definition at line 5189 of file interface_layout.cc.
References uiLayout::search_weight_.
| float uiLayoutGetUnitsX | ( | uiLayout * | layout | ) |
Definition at line 5249 of file interface_layout.cc.
References uiLayout::units_.
Referenced by blender::ui::GridViewLayoutBuilder::build_from_view(), and ui_block_func_POPUP().
| float uiLayoutGetUnitsY | ( | uiLayout * | layout | ) |
Definition at line 5254 of file interface_layout.cc.
References uiLayout::units_.
| int uiLayoutGetWidth | ( | uiLayout * | layout | ) |
Definition at line 5234 of file interface_layout.cc.
References uiLayout::w_.
Referenced by blender::ui::GridViewLayoutBuilder::build_from_view(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), ED_region_header_layout(), ui_popup_context_menu_for_button(), ui_template_list_layout_draw(), uiTemplatePalette(), wm_block_dialog_create(), and wm_block_insert_unicode_create().
| void uiLayoutListItemAddPadding | ( | uiLayout * | layout | ) |
Definition at line 5272 of file interface_layout.cc.
References uiLayout::row(), UI_block_layout_set_current(), UI_BTYPE_SEPR, uiDefBut(), uiLayoutGetBlock(), uiLayoutListItemPaddingWidth(), and uiLayoutSetFixedSize().
Referenced by blender::ui::TreeViewLayoutBuilder::build_row(), and ui_template_list_layout_draw().
| int uiLayoutListItemPaddingWidth | ( | ) |
Definition at line 5267 of file interface_layout.cc.
References UI_SCALE_FAC.
Referenced by uiLayoutListItemAddPadding().
| void uiLayoutSetActivateInit | ( | uiLayout * | layout, |
| bool | activate_init ) |
Definition at line 5114 of file interface_layout.cc.
References uiLayout::activate_init_.
Referenced by uiDefAutoButsRNA().
| void uiLayoutSetActive | ( | uiLayout * | layout, |
| bool | active ) |
Definition at line 5104 of file interface_layout.cc.
References active, and uiLayout::active_.
Referenced by advanced_panel_draw(), advanced_panel_draw(), blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ed::spreadsheet::CurvesViewItem::build_row(), blender::ed::spreadsheet::GreasePencilViewItem::build_row(), blender::ed::spreadsheet::InstancesViewItem::build_row(), blender::ed::spreadsheet::MeshViewItem::build_row(), blender::ed::spreadsheet::PointCloudViewItem::build_row(), blender::ed::spreadsheet::VolumeGridsViewItem::build_row(), blender::ui::bonecollections::BoneCollectionItem::build_row(), blender::ui::TreeViewLayoutBuilder::build_row(), clamp_panel_draw(), blender::composition_panel_draw(), constant_offset_draw(), data_panel_draw(), blender::nodes::draw_bake_button_row(), blender::nodes::draw_common_bake_settings(), blender::nodes::draw_interface_panel_content(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::nodes::draw_named_attributes_panel(), blender::ui::nodes::draw_node_inputs_recursive(), blender::nodes::draw_property_for_socket(), blender::modifier::greasepencil::draw_vertex_group_settings(), ED_screens_header_tools_menu_create(), edbm_bevel_ui(), edbm_decimate_ui(), edge_panel_draw(), blender::edge_types_panel_draw(), face_corner_panel_draw(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), blender::face_mark_panel_draw(), face_panel_draw(), falloff_panel_draw(), fmodifier_frame_range_draw(), fmodifier_get_pointers(), fmodifier_influence_draw(), geometry_panel_draw(), graph_panel_cursor(), blender::intersection_panel_draw(), limits_panel_draw(), blender::material_mask_panel_draw(), blender::material_mask_panel_draw_header(), materials_panel_draw(), modifier_panel_header(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_properties(), blender::ed::space_node::node_buts_image_user(), blender::nodes::node_composite_defocus_cc::node_composit_buts_defocus(), blender::nodes::node_composite_map_value_cc::node_composit_buts_map_value(), blender::nodes::node_geo_bake_cc::node_layout(), blender::nodes::node_geo_bake_cc::node_layout_ex(), blender::nodes::node_geo_simulation_cc::node_layout_ex(), blender::ed::space_node::node_texture_buts_proc(), blender::ed::space_node::node_update_basis_buttons(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::space_node::node_update_basis_socket(), object_offset_draw(), blender::occlusion_panel_draw(), offset_panel_draw(), blender::options_light_reference_draw(), blender::options_panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), path_panel_draw(), preferences_extension_repo_add_ui(), profile_panel_draw(), random_panel_draw(), relative_offset_draw(), blender::ed::object::shade_auto_smooth_ui(), shaderfx_panel_header(), shading_panel_draw(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw_header(), blender::ed::spreadsheet::spreadsheet_row_filters_layout(), blender::ed::space_node::std_node_socket_draw(), blender::ed::space_node::std_node_socket_interface_draw(), stepped_panel_draw(), symmetry_panel_draw(), template_keymap_item_properties(), uiTemplateCacheFileProcedural(), uiTemplateCacheFileTimeSettings(), uiTemplateImage(), uiTemplateMarker(), uiTemplateRunningJobs(), uv_pack_islands_ui(), v3d_transform_butsR(), vert_vcol_panel_draw(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_vgroup_panel_draw(), wave_panel_draw(), and wm_open_mainfile_ui().
| void uiLayoutSetActiveDefault | ( | uiLayout * | layout, |
| bool | active_default ) |
Definition at line 5109 of file interface_layout.cc.
References uiLayout::active_default_.
Referenced by file_panel_execution_execute_button().
| void uiLayoutSetAlignment | ( | uiLayout * | layout, |
| char | alignment ) |
Definition at line 5134 of file interface_layout.cc.
References uiLayout::alignment_.
Referenced by blender::nodes::add_attribute_search_or_value_buttons(), blender::nodes::add_layer_name_search_button(), buttons_panel_context_draw(), blender::nodes::node_composite_rgb_cc::cmp_node_rgb_declare(), curvemap_buttons_layout(), CurveProfile_buttons_layout(), blender::nodes::draw_named_attributes_panel(), blender::nodes::draw_property_for_output_socket(), fmodifier_panel_header(), graph_draw_driven_property_panel(), graph_draw_driver_settings_panel(), modifier_panel_header(), nla_panel_animdata(), blender::nodes::node_fn_input_color_cc::node_declare(), blender::nodes::node_fn_input_string_cc::node_declare(), blender::nodes::node_geo_image_cc::node_declare(), blender::nodes::node_geo_input_collection_cc::node_declare(), blender::nodes::node_geo_input_material_cc::node_declare(), blender::nodes::node_geo_input_object_cc::node_declare(), blender::nodes::node_shader_rgb_cc::node_declare(), blender::ed::space_node::node_update_basis_socket(), blender::ed::spreadsheet::spreadsheet_footer_region_draw(), blender::ed::space_node::std_node_socket_draw(), blender::ui::template_breadcrumbs(), ui_layout_heading_label_add(), blender::ed::space_node::ui_node_draw_input(), uiItemsAlertBox(), uiTemplateAnyID(), uiTemplateImageInfo(), uiTemplateInputStatus(), uiTemplateMovieclipInformation(), and wm_block_about_create().
Definition at line 5998 of file interface_layout.cc.
References PointerRNA::data, uiBut::opptr, RNA_pointer_create_discrete(), uiBut::rnapoin, uiBut::rnaprop, and uiLayoutSetContextPointer().
Referenced by graph_panel_drivers_popover(), ui_item_menu_hold(), and ui_popup_context_menu_for_button().
| void uiLayoutSetContextInt | ( | uiLayout * | layout, |
| blender::StringRef | name, | ||
| int64_t | value ) |
Definition at line 5946 of file interface_layout.cc.
References uiLayoutRoot::block, uiLayout::context_, uiBlock::contexts, CTX_store_add(), and uiLayout::root_.
| void uiLayoutSetContextPointer | ( | uiLayout * | layout, |
| blender::StringRef | name, | ||
| PointerRNA * | ptr ) |
Definition at line 5934 of file interface_layout.cc.
References uiLayoutRoot::block, uiLayout::context_, uiBlock::contexts, CTX_store_add(), ptr, and uiLayout::root_.
Referenced by asset_view_draw_item(), colorband_tools_fn(), constraint_ops_extra_draw(), draw_constraint_header(), gpencil_shaderfx_ops_extra_draw(), graph_panel_drivers_popover(), modifier_ops_extra_draw(), nla_panel_actclip(), blender::ed::space_node::node_composit_buts_cryptomatte(), blender::ed::space_node::node_composit_buts_image(), blender::ed::space_node::node_composit_buts_image_ex(), blender::ed::space_node::node_shader_buts_tex_environment(), blender::ed::space_node::node_shader_buts_tex_image(), blender::ed::space_node::node_update_basis_buttons(), blender::ed::space_node::node_update_basis_from_declaration(), blender::ed::space_node::node_update_basis_socket(), blender::ed::asset::shelf::popover_panel_draw(), template_ID(), UI_panel_context_pointer_set(), uiLayoutSetContextFromBut(), uiTemplateCacheFile(), uiTemplateCacheFileLayers(), uiTemplateCacheFileProcedural(), uiTemplateCacheFileTimeSettings(), uiTemplateCacheFileVelocity(), uiTemplateImage(), and uiTemplateMovieClip().
| void uiLayoutSetContextString | ( | uiLayout * | layout, |
| blender::StringRef | name, | ||
| blender::StringRef | value ) |
Definition at line 5940 of file interface_layout.cc.
References uiLayoutRoot::block, uiLayout::context_, uiBlock::contexts, CTX_store_add(), and uiLayout::root_.
Referenced by blender::ui::asset_shelf_popover_invoke(), blender::ed::asset::draw_menu_for_catalog(), blender::ui::template_asset_shelf_popover(), blender::ed::object::ui_template_modifier_asset_menu_items(), blender::ed::space_node::ui_template_node_asset_menu_items(), and blender::ed::geometry::ui_template_node_operator_asset_menu_items().
| void uiLayoutSetEmboss | ( | uiLayout * | layout, |
| blender::ui::EmbossType | emboss ) |
Definition at line 5159 of file interface_layout.cc.
References uiLayout::emboss_.
Referenced by blender::ed::asset::shelf::AssetCatalogSelectorTree::Item::build_row(), blender::ui::TreeViewLayoutBuilder::build_row(), buttons_panel_context_draw(), draw_constraint_header(), blender::ed::spreadsheet::draw_context_panel(), draw_export_controls(), draw_exporter_item(), blender::nodes::socket_items::ui::draw_item_in_list(), blender::ed::space_node::draw_node_socket_name_editable(), fmodifier_panel_header(), modifier_panel_header(), shaderfx_panel_header(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw_header(), uiTemplateStatusInfo(), and v3d_transform_butsR().
| void uiLayoutSetEnabled | ( | uiLayout * | layout, |
| bool | enabled ) |
Definition at line 5119 of file interface_layout.cc.
References enabled, and uiLayout::enabled_.
Referenced by armature_parent_clear_invoke(), armature_parent_set_invoke(), blender::bake_panel_draw(), blender::chaining_panel_draw(), constraint_ops_extra_draw(), blender::edge_types_panel_draw(), blender::face_mark_panel_draw(), blender::face_mark_panel_draw_header(), gpencil_shaderfx_ops_extra_draw(), graph_panel_properties(), hud_panel_operator_redo_draw(), blender::intersection_panel_draw(), blender::material_mask_panel_draw(), blender::material_mask_panel_draw_header(), move_to_collection_menu_create(), nla_panel_animated_strip_time(), nla_panel_evaluation(), blender::ed::space_node::node_buts_image_user(), blender::nodes::node_geo_bake_cc::node_layout(), blender::nodes::node_geo_bake_cc::node_layout_ex(), blender::nodes::node_geo_simulation_cc::node_layout_ex(), blender::occlusion_panel_draw(), blender::options_light_reference_draw(), blender::options_panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), shape_panel_draw(), subdivisions_panel_draw(), ui_popup_context_menu_for_button(), uiTemplateCacheFileProcedural(), uiTemplateCollectionExporters(), uiTemplateImage(), undo_history_draw_menu(), blender::vgroup_panel_draw(), view3d_panel_vgroup(), wm_block_create_redo(), and wm_open_mainfile_ui().
| void uiLayoutSetFixedSize | ( | uiLayout * | layout, |
| bool | fixed_size ) |
Definition at line 5870 of file interface_layout.cc.
References uiItem::flag_.
Referenced by file_panel_execution_cancel_button(), file_panel_execution_execute_button(), blender::ed::asset::shelf::popover_panel_draw(), and uiLayoutListItemAddPadding().
| void uiLayoutSetFunc | ( | uiLayout * | layout, |
| uiMenuHandleFunc | handlefunc, | ||
| void * | argv ) |
Definition at line 5890 of file interface_layout.cc.
References uiLayoutRoot::argv, uiLayoutRoot::handlefunc, and uiLayout::root_.
| void uiLayoutSetKeepAspect | ( | uiLayout * | layout, |
| bool | keepaspect ) |
Definition at line 5129 of file interface_layout.cc.
References uiLayout::keepaspect_.
Referenced by uiTemplatePreview().
| void uiLayoutSetOperatorContext | ( | uiLayout * | layout, |
| wmOperatorCallContext | opcontext ) |
Definition at line 5885 of file interface_layout.cc.
References uiLayoutRoot::opcontext, and uiLayout::root_.
Referenced by blender::ed::object::collection_hide_menu_draw(), constraint_ops_extra_draw(), draw_constraint_header(), ED_buttons_navbar_menu(), ed_panel_draw(), ED_screens_region_flip_menu_create(), file_os_operations_menu_draw(), file_panel_execution_buttons_draw(), gpencil_shaderfx_ops_extra_draw(), blender::ed::asset::shelf::library_selector_draw(), menu_item_enum_opname_menu(), menu_item_enum_rna_menu(), menu_items_from_ui_create(), modifier_ops_extra_draw(), blender::ed::object::move_to_collection_invoke(), move_to_collection_menu_create(), blender::ed::space_node::node_group_separate_invoke(), blender::ed::outliner::outliner_operator_menu(), recent_files_menu_draw(), screen_context_menu_invoke(), ui_popover_create_block(), ui_popup_context_menu_for_button(), ui_popup_menu_create_block(), unpack_all_invoke(), unpack_item_invoke(), blender::ed::object::bake_simulation::unpack_single_bake_invoke(), uv_mark_seam_invoke(), weight_sample_group_invoke(), wm_drop_import_file_invoke(), and WM_menu_invoke_ex().
| void uiLayoutSetPropDecorate | ( | uiLayout * | layout, |
| bool | is_sep ) |
Definition at line 5179 of file interface_layout.cc.
References uiItem::flag_, and SET_FLAG_FROM_TEST.
Referenced by blender::nodes::add_attribute_search_or_value_buttons(), blender::nodes::add_layer_name_search_button(), blender::ui::greasepencil::LayerGroupViewItem::build_row(), blender::ui::greasepencil::LayerViewItem::build_row(), cycles_panel_draw(), data_panel_draw(), blender::nodes::node_geo_bake_cc::draw_bake_items(), blender::nodes::draw_bake_panel(), blender::nodes::draw_common_bake_settings(), blender::modifier::greasepencil::draw_custom_curve_settings(), draw_export_properties(), draw_fill_tile(), blender::nodes::draw_geometry_nodes_modifier_ui(), blender::nodes::draw_geometry_nodes_operator_redo_ui(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::nodes::draw_property_for_socket(), blender::nodes::node_geo_simulation_cc::draw_simulation_state(), blender::modifier::greasepencil::draw_vertex_group_settings(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), envelope_panel_draw(), fmodifier_frame_range_draw(), fn_generator_panel_draw(), generator_panel_draw(), blender::ed::geometry::geometry_attribute_convert_ui(), blender::ed::geometry::geometry_color_attribute_add_ui(), blender::ed::geometry::geometry_color_attribute_convert_ui(), graph_panel_cursor(), graph_panel_key_properties(), graph_panel_properties(), blender::ed::greasepencil::grease_pencil_convert_curve_type_ui(), blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_ui(), blender::ed::greasepencil::grease_pencil_reproject_ui(), blender::ed::greasepencil::grease_pencil_simplify_ui(), image_new_draw(), image_save_as_draw(), limits_panel_draw(), blender::ed::sculpt_paint::mask::mask_from_boundary_ui(), blender::ed::sculpt_paint::mask::mask_from_cavity_ui(), blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), modifier_vgroup_ui(), nla_panel_actclip(), nla_panel_animdata(), nla_panel_properties(), blender::nodes::node_composite_file_output_cc::node_composit_buts_file_output_ex(), blender::nodes::node_fn_align_euler_to_vector_cc::node_layout(), blender::nodes::node_fn_align_rotation_to_vector_cc::node_layout(), blender::nodes::node_geo_attribute_capture_cc::node_layout(), blender::nodes::node_geo_extrude_mesh_cc::node_layout(), blender::nodes::node_geo_get_named_grid_cc::node_layout(), blender::nodes::node_geo_grid_info_cc::node_layout(), blender::nodes::node_geo_merge_by_distance_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_circle_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_line_cc::node_layout(), blender::nodes::node_geo_mesh_to_volume_cc::node_layout(), blender::nodes::node_geo_points_to_volume_cc::node_layout(), blender::nodes::node_geo_split_to_instances_cc::node_layout(), blender::nodes::node_geo_store_named_attribute_cc::node_layout(), blender::nodes::node_geo_store_named_grid_cc::node_layout(), blender::nodes::node_geo_string_to_curves_cc::node_layout(), blender::nodes::node_geo_tool_active_element_cc::node_layout(), blender::nodes::node_geo_transform_geometry_cc::node_layout(), blender::nodes::node_geo_uv_unwrap_cc::node_layout(), blender::nodes::node_geo_volume_to_mesh_cc::node_layout(), blender::nodes::node_geo_warning_cc::node_layout(), blender::nodes::node_fn_format_string_cc::node_layout_ex(), blender::nodes::node_geo_attribute_capture_cc::node_layout_ex(), blender::nodes::node_geo_foreach_geometry_element_cc::node_layout_ex(), blender::nodes::node_geo_gizmo_transform_cc::node_layout_ex(), blender::nodes::node_geo_menu_switch_cc::node_layout_ex(), blender::nodes::node_geo_repeat_cc::node_layout_ex(), blender::nodes::node_geo_simulation_cc::node_layout_ex(), noise_panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), preferences_extension_repo_add_ui(), profile_panel_draw(), blender::ed::geometry::run_node_group_ui(), screenshot_draw(), blender::ed::curves::select_ends_ui(), blender::ed::vse::sequencer_split_ui(), blender::ed::curves::set_attribute_ui(), blender::ed::pointcloud::set_attribute_ui(), blender::ed::object::shade_auto_smooth_ui(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw(), stepped_panel_draw(), template_operator_property_buts_draw_single(), texture_paint_add_texture_paint_slot_ui(), tile_add_draw(), blender::ed::space_node::ui_node_draw_input(), blender::ed::space_node::ui_node_draw_recursive(), uiTemplateCacheFileTimeSettings(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateViewsFormat(), unwrap_draw(), uv_pack_islands_ui(), wm_clear_recent_files_ui(), and wm_stereo3d_set_draw().
| void uiLayoutSetPropSep | ( | uiLayout * | layout, |
| bool | is_sep ) |
Definition at line 5169 of file interface_layout.cc.
References uiItem::flag_, and SET_FLAG_FROM_TEST.
Referenced by blender::nodes::add_attribute_search_or_value_buttons(), advanced_panel_draw(), advanced_panel_draw(), axis_mapping_panel_draw(), blender::bake_panel_draw(), blur_panel_draw(), blur_panel_draw(), caps_panel_draw(), blender::chaining_panel_draw(), clamp_panel_draw(), blender::composition_panel_draw(), constant_offset_draw(), CurveProfile_buttons_layout(), cycles_panel_draw(), data_panel_draw(), blender::nodes::node_geo_bake_cc::draw_bake_items(), blender::nodes::draw_bake_panel(), blender::nodes::draw_common_bake_settings(), blender::modifier::greasepencil::draw_custom_curve_settings(), draw_export_properties(), draw_fill_tile(), blender::nodes::draw_geometry_nodes_modifier_ui(), blender::nodes::draw_geometry_nodes_operator_redo_ui(), blender::modifier::greasepencil::draw_layer_filter_settings(), blender::modifier::greasepencil::draw_material_filter_settings(), blender::nodes::node_geo_simulation_cc::draw_simulation_state(), blender::modifier::greasepencil::draw_vertex_group_settings(), edbm_average_normals_ui(), edbm_bevel_ui(), edbm_blend_from_shape_ui(), edbm_decimate_ui(), edbm_intersect_boolean_ui(), edbm_intersect_ui(), edbm_point_normals_ui(), edge_data_panel_draw(), edge_panel_draw(), blender::edge_types_panel_draw(), envelope_panel_draw(), face_corner_panel_draw(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), blender::face_mark_panel_draw(), face_panel_draw(), falloff_panel_draw(), falloff_panel_draw(), falloff_panel_draw(), falloff_panel_draw(), fmodifier_frame_range_draw(), fn_generator_panel_draw(), generate_panel_draw(), generator_panel_draw(), blender::ed::geometry::geometry_attribute_convert_ui(), blender::ed::geometry::geometry_color_attribute_add_ui(), blender::ed::geometry::geometry_color_attribute_convert_ui(), geometry_panel_draw(), graph_panel_cursor(), graph_panel_key_properties(), graph_panel_properties(), blender::ed::greasepencil::grease_pencil_convert_curve_type_ui(), blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_ui(), blender::ed::greasepencil::grease_pencil_reproject_ui(), blender::ed::greasepencil::grease_pencil_simplify_ui(), image_new_draw(), image_save_as_draw(), blender::intersection_panel_draw(), layers_panel_draw(), limits_panel_draw(), blender::ed::sculpt_paint::mask::mask_from_boundary_ui(), blender::ed::sculpt_paint::mask::mask_from_cavity_ui(), blender::material_mask_panel_draw(), materials_panel_draw(), blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), mix_mode_panel_draw(), nla_panel_actclip(), nla_panel_animated_strip_time(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_properties(), blender::nodes::node_composite_file_output_cc::node_composit_buts_file_output_ex(), blender::nodes::node_fn_align_euler_to_vector_cc::node_layout(), blender::nodes::node_fn_align_rotation_to_vector_cc::node_layout(), blender::nodes::node_geo_attribute_capture_cc::node_layout(), blender::nodes::node_geo_extrude_mesh_cc::node_layout(), blender::nodes::node_geo_get_named_grid_cc::node_layout(), blender::nodes::node_geo_grid_info_cc::node_layout(), blender::nodes::node_geo_merge_by_distance_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_circle_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_layout(), blender::nodes::node_geo_mesh_primitive_line_cc::node_layout(), blender::nodes::node_geo_mesh_to_volume_cc::node_layout(), blender::nodes::node_geo_points_to_volume_cc::node_layout(), blender::nodes::node_geo_split_to_instances_cc::node_layout(), blender::nodes::node_geo_store_named_attribute_cc::node_layout(), blender::nodes::node_geo_store_named_grid_cc::node_layout(), blender::nodes::node_geo_string_to_curves_cc::node_layout(), blender::nodes::node_geo_tool_active_element_cc::node_layout(), blender::nodes::node_geo_transform_geometry_cc::node_layout(), blender::nodes::node_geo_uv_unwrap_cc::node_layout(), blender::nodes::node_geo_volume_to_mesh_cc::node_layout(), blender::nodes::node_geo_warning_cc::node_layout(), blender::nodes::node_fn_format_string_cc::node_layout_ex(), blender::nodes::node_geo_attribute_capture_cc::node_layout_ex(), blender::nodes::node_geo_foreach_geometry_element_cc::node_layout_ex(), blender::nodes::node_geo_gizmo_transform_cc::node_layout_ex(), blender::nodes::node_geo_menu_switch_cc::node_layout_ex(), blender::nodes::node_geo_repeat_cc::node_layout_ex(), blender::nodes::node_geo_simulation_cc::node_layout_ex(), noise_panel_draw(), normals_panel_draw(), normals_panel_draw(), blender::ed::object::object_convert_ui(), object_offset_draw(), blender::occlusion_panel_draw(), offset_panel_draw(), blender::options_light_reference_draw(), blender::options_panel_draw(), override_layers_panel_draw(), blender::panel_draw(), blender::panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), panel_draw(), path_panel_draw(), position_panel_draw(), preferences_extension_repo_add_ui(), profile_panel_draw(), random_panel_draw(), relative_offset_draw(), render_procedural_panel_draw(), restrictions_panel_draw(), blender::ed::geometry::run_node_group_ui(), screenshot_draw(), blender::ed::curves::select_ends_ui(), blender::ed::vse::sequencer_split_ui(), blender::ed::curves::set_attribute_ui(), blender::ed::pointcloud::set_attribute_ui(), blender::ed::object::shade_auto_smooth_ui(), shading_panel_draw(), solver_options_panel_draw(), blender::ed::spreadsheet::spreadsheet_filter_panel_draw(), stepped_panel_draw(), symmetry_panel_draw(), template_operator_property_buts_draw_single(), texture_paint_add_texture_paint_slot_ui(), texture_panel_draw(), texture_panel_draw(), tile_add_draw(), time_panel_draw(), time_panel_draw(), time_remapping_panel_draw(), transform_panel_draw(), ui_item_prop_split_layout_hack(), blender::ed::space_node::ui_node_draw_node(), blender::ed::space_node::ui_node_draw_recursive(), uiDefAutoButsRNA(), uiTemplateCacheFile(), uiTemplateImage(), uiTemplateImageSettings(), uiTemplateViewsFormat(), unwrap_draw(), uv_pack_islands_ui(), uv_panel_draw(), velocity_panel_draw(), vert_vcol_panel_draw(), vertex_group_panel_draw(), vertex_group_panel_draw(), vertex_panel_draw(), vertex_vgroup_panel_draw(), blender::vgroup_panel_draw(), wave_panel_draw(), weightvg_ui_common(), wm_clear_recent_files_ui(), and wm_stereo3d_set_draw().
| void uiLayoutSetRedAlert | ( | uiLayout * | layout, |
| bool | redalert ) |
Definition at line 5124 of file interface_layout.cc.
References uiLayout::redalert_.
Referenced by axis_mapping_panel_draw(), draw_constraint_header(), graph_panel_driverVar__contextProp(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), modifier_panel_header(), and shaderfx_panel_header().
| void uiLayoutSetScaleX | ( | uiLayout * | layout, |
| float | scale ) |
Definition at line 5139 of file interface_layout.cc.
References uiLayout::scale_.
Referenced by file_panel_execution_cancel_button(), file_panel_execution_execute_button(), blender::ui::template_asset_shelf_popover(), uiTemplateAssetView(), and uiTemplatePreview().
| void uiLayoutSetScaleY | ( | uiLayout * | layout, |
| float | scale ) |
Definition at line 5144 of file interface_layout.cc.
References uiLayout::scale_.
Referenced by block_create__close_file_dialog(), block_create_autorun_warning(), block_create_gpu_backend_fallback(), block_create_opengl_usage_warning(), block_create_save_file_overwrite_dialog(), ED_region_header_layout(), ED_time_scrub_channel_search_draw(), file_overwrite_detailed_info_show(), file_panel_execution_buttons_draw(), blender::ui::template_asset_shelf_popover(), uiTemplateAssetView(), and wm_block_dialog_create().
| void uiLayoutSetSearchWeight | ( | uiLayout * | layout, |
| float | weight ) |
Definition at line 5184 of file interface_layout.cc.
References uiLayout::search_weight_.
| void uiLayoutSetTooltipFunc | ( | uiLayout * | layout, |
| uiButToolTipFunc | func, | ||
| void * | arg, | ||
| uiCopyArgFunc | copy_arg, | ||
| uiFreeArgFunc | free_arg ) |
Set tooltip function for all buttons in the layout. func, arg and free_arg are passed on to UI_but_func_tooltip_set, so their meaning is the same.
| func | The callback function that gets called to get tooltip content |
| arg | An optional opaque pointer that gets passed to func |
| free_arg | An optional callback for freeing arg (can be set to e.g. MEM_freeN) |
| copy_arg | An optional callback for duplicating arg in case UI_but_func_tooltip_set is being called on multiple buttons (can be set to e.g. MEM_dupallocN). If set to NULL, arg will be passed as-is to all buttons. |
Definition at line 5963 of file interface_layout.cc.
References uiButtonItem::but, uiLayout::items_, uiBut::type, uiItem::type_, UI_BTYPE_DECORATOR, UI_but_func_tooltip_set(), and uiLayoutSetTooltipFunc().
Referenced by blender::nodes::draw_interface_panel_content(), blender::ed::space_node::node_socket_add_tooltip(), blender::ed::space_node::node_socket_add_tooltip_in_node_editor(), and uiLayoutSetTooltipFunc().
| void uiLayoutSetUnitsX | ( | uiLayout * | layout, |
| float | unit ) |
Definition at line 5149 of file interface_layout.cc.
References uiLayout::units_.
Referenced by blender::ed::asset::shelf::asset_shelf_header_draw(), constraint_ops_extra_draw(), gpencil_shaderfx_ops_extra_draw(), modifier_ops_extra_draw(), blender::ed::asset::shelf::popover_panel_draw(), and blender::ui::template_asset_shelf_popover().
| void uiLayoutSetUnitsY | ( | uiLayout * | layout, |
| float | unit ) |
Definition at line 5154 of file interface_layout.cc.
References uiLayout::units_.
Referenced by uiLayout::panel_prop().