|
Blender V5.0
|
#include "BLI_listbase.h"#include "BLI_string_utf8.h"#include "BLI_utildefines.h"#include "BKE_context.hh"#include "BKE_screen.hh"#include "BLT_translation.hh"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "MEM_guardedalloc.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_prototypes.hh"#include "ED_fileselect.hh"#include "UI_interface.hh"#include "UI_interface_icons.hh"#include "UI_interface_layout.hh"#include "UI_resources.hh"#include "WM_api.hh"#include "WM_types.hh"#include "file_intern.hh"#include "filelist.hh"#include <cstring>Go to the source code of this file.
Functions | |
| static bool | file_panel_operator_poll (const bContext *C, PanelType *) |
| static bool | file_panel_asset_browsing_poll (const bContext *C, PanelType *) |
| static void | file_panel_operator_header (const bContext *C, Panel *panel) |
| static void | file_panel_operator (const bContext *C, Panel *panel) |
| void | file_tool_props_region_panels_register (ARegionType *art) |
| static void | file_panel_execution_cancel_button (uiLayout *layout) |
| static void | file_panel_execution_execute_button (uiLayout *layout, const char *title) |
| static void | file_panel_execution_buttons_draw (const bContext *C, Panel *panel) |
| void | file_execute_region_panels_register (ARegionType *art) |
| static void | file_panel_asset_catalog_buttons_draw (const bContext *C, Panel *panel) |
| void | file_tools_region_panels_register (ARegionType *art) |
| void file_execute_region_panels_register | ( | ARegionType * | art | ) |
Definition at line 209 of file file_panels.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::draw, file_panel_execution_buttons_draw(), file_panel_operator_poll(), PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), N_, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::poll, STRNCPY_UTF8, and PanelType::translation_context.
Referenced by ED_spacetype_file().
Definition at line 48 of file file_panels.cc.
References C, CTX_wm_space_file(), ED_fileselect_is_asset_browser(), and SpaceFile::files.
Referenced by file_tools_region_panels_register().
Definition at line 223 of file file_panels.cc.
References ASSET_LIBRARY_LOCAL, BLI_assert, C, col, uiLayout::column(), CTX_copy(), CTX_free(), CTX_wm_screen(), CTX_wm_space_file(), ED_fileselect_get_asset_params(), blender::ed::asset_browser::file_create_asset_catalog_tree_view_in_layout(), filelist_asset_library(), SpaceFile::files, bScreen::id, IFACE_, Panel::layout, uiLayout::op(), params, uiLayout::prop(), RNA_pointer_create_discrete(), UI_ITEM_NONE, and WM_operator_name_poll().
Referenced by file_tools_region_panels_register().
Definition at line 129 of file file_panels.cc.
References autocomplete_file(), BLI_assert, uiLayout::block(), C, CTX_wm_screen(), CTX_wm_space_file(), ED_fileselect_get_active_params(), blender::wm::ExecRegionWin, FILE_CHECK_EXISTING, file_draw_check_cb(), file_draw_check_exists(), file_filename_enter_handle(), FILE_MAXFILE, file_panel_execution_cancel_button(), file_panel_execution_execute_button(), bScreen::id, Panel::layout, uiLayout::operator_context_set(), params, RNA_int_set(), RNA_pointer_create_discrete(), uiLayout::row(), uiLayout::scale_y_set(), Text, TIP_, UI_block_func_set(), UI_but_extra_operator_icon_add(), UI_but_flag_enable(), UI_but_flag_is_set(), UI_but_func_complete_set(), UI_but_funcN_set(), UI_but_is_utf8(), UI_BUT_REDALERT, UI_BUT_UNDO, UI_UNIT_X, UI_UNIT_Y, and uiDefButR().
Referenced by file_execute_region_panels_register().
|
static |
Definition at line 111 of file file_panels.cc.
References uiItem::fixed_size_set(), IFACE_, uiLayout::op(), uiLayout::row(), and uiLayout::scale_x_set().
Referenced by file_panel_execution_buttons_draw().
|
static |
Definition at line 119 of file file_panels.cc.
References uiLayout::active_default_set(), uiItem::fixed_size_set(), uiLayout::op(), uiLayout::row(), and uiLayout::scale_x_set().
Referenced by file_panel_execution_buttons_draw().
Definition at line 63 of file file_panels.cc.
References ARRAY_SIZE, uiLayout::block(), C, CTX_wm_space_file(), file_draw_check_cb(), i, Panel::layout, SpaceFile::op, PROP_HIDDEN, wmOperator::ptr, RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_property_flag(), RNA_struct_find_property(), UI_block_func_set(), UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_EMPTY, and uiTemplateOperatorPropertyButs().
Referenced by file_tool_props_region_panels_register().
Definition at line 54 of file file_panels.cc.
References C, CTX_wm_space_file(), SpaceFile::op, wmOperator::ptr, wmOperator::type, UI_panel_drawname_set(), and WM_operatortype_name().
Referenced by file_tool_props_region_panels_register().
Definition at line 42 of file file_panels.cc.
References C, CTX_wm_space_file(), and SpaceFile::op.
Referenced by file_execute_region_panels_register(), and file_tool_props_region_panels_register().
| void file_tool_props_region_panels_register | ( | ARegionType * | art | ) |
Definition at line 96 of file file_panels.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::draw, PanelType::draw_header, file_panel_operator(), file_panel_operator_header(), file_panel_operator_poll(), PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), N_, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::poll, STRNCPY_UTF8, and PanelType::translation_context.
Referenced by ED_spacetype_file().
| void file_tools_region_panels_register | ( | ARegionType * | art | ) |
Definition at line 261 of file file_panels.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::draw, file_panel_asset_browsing_poll(), file_panel_asset_catalog_buttons_draw(), PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), N_, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::poll, STRNCPY_UTF8, and PanelType::translation_context.
Referenced by ED_spacetype_file().