|
Blender
V2.93
|
#include "BLI_blenlib.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_screen.h"#include "BLT_translation.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_userdef_types.h"#include "MEM_guardedalloc.h"#include "RNA_access.h"#include "RNA_define.h"#include "ED_fileselect.h"#include "UI_interface.h"#include "UI_resources.h"#include "WM_api.h"#include "WM_types.h"#include "file_intern.h"#include "fsmenu.h"#include <string.h>Go to the source code of this file.
Functions | |
| static bool | file_panel_operator_poll (const bContext *C, PanelType *UNUSED(pt)) |
| 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) |
| void file_execute_region_panels_register | ( | ARegionType * | art | ) |
Definition at line 212 of file file_panels.c.
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, and PanelType::translation_context.
Referenced by ED_spacetype_file().
Definition at line 131 of file file_panels.c.
References autocomplete_file(), BLI_assert, C, CTX_wm_screen(), CTX_wm_space_file(), ED_fileselect_get_active_params(), 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, N_, NULL, params, RNA_FileSelectParams, RNA_int_set(), RNA_pointer_create(), TIP_, UI_block_func_set(), UI_BTYPE_TEXT, 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, uiDefButR(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetOperatorContext(), uiLayoutSetScaleY(), and WM_OP_EXEC_REGION_WIN.
Referenced by file_execute_region_panels_register().
|
static |
Definition at line 113 of file file_panels.c.
References IFACE_, uiItemO(), uiLayoutRow(), uiLayoutSetFixedSize(), and uiLayoutSetScaleX().
Referenced by file_panel_execution_buttons_draw().
|
static |
Definition at line 121 of file file_panels.c.
References uiItemO(), uiLayoutRow(), uiLayoutSetActiveDefault(), uiLayoutSetFixedSize(), and uiLayoutSetScaleX().
Referenced by file_panel_execution_buttons_draw().
Definition at line 68 of file file_panels.c.
References ARRAY_SIZE, C, CTX_wm_space_file(), file_draw_check_cb(), Panel::layout, NULL, SpaceFile::op, PROP_HIDDEN, wmOperator::ptr, RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_struct_find_property(), UI_block_func_set(), UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_EMPTY, uiLayoutGetBlock(), and uiTemplateOperatorPropertyButs().
Referenced by file_tool_props_region_panels_register().
Definition at line 60 of file file_panels.c.
References BLI_strncpy(), C, CTX_wm_space_file(), Panel::drawname, SpaceFile::op, wmOperator::ptr, wmOperator::type, and WM_operatortype_name().
Referenced by file_tool_props_region_panels_register().
Definition at line 54 of file file_panels.c.
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 98 of file file_panels.c.
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, and PanelType::translation_context.
Referenced by ED_spacetype_file().