Blender
V3.3
|
#include <string.h>
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_listbase.h"
#include "BLI_path_util.h"
#include "BKE_context.h"
#include "BKE_main.h"
#include "BKE_preferences.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_types.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_userpref.h"
#include "MEM_guardedalloc.h"
Go to the source code of this file.
|
static |
Definition at line 229 of file userpref_ops.c.
References BKE_report(), BLI_assert_unreachable, BLI_windows_register_blend_extension(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, RPT_INFO, UNUSED_VARS, and WM_cursor_wait().
Referenced by PREFERENCES_OT_associate_blend().
Definition at line 218 of file userpref_ops.c.
References C, CTX_wm_operator_poll_msg_set(), and UNUSED_VARS.
Referenced by PREFERENCES_OT_associate_blend().
Definition at line 264 of file userpref_ops.c.
References PREFERENCES_OT_asset_library_add(), PREFERENCES_OT_asset_library_remove(), PREFERENCES_OT_associate_blend(), PREFERENCES_OT_autoexec_path_add(), PREFERENCES_OT_autoexec_path_remove(), PREFERENCES_OT_reset_default_theme(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
|
static |
Definition at line 128 of file userpref_ops.c.
References BKE_preferences_asset_library_add(), BLI_path_slash_rstrip(), BLI_split_file_part(), dirname(), FILE_MAXFILE, MEM_freeN, NC_WINDOW, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get_alloc(), and WM_main_add_notifier().
Referenced by preferences_asset_library_add_invoke(), and PREFERENCES_OT_asset_library_add().
|
static |
Definition at line 147 of file userpref_ops.c.
References C, OPERATOR_RUNNING_MODAL, preferences_asset_library_add_exec(), wmOperator::ptr, RNA_struct_property_is_set(), and WM_event_add_fileselect().
Referenced by PREFERENCES_OT_asset_library_add().
|
static |
Definition at line 185 of file userpref_ops.c.
References BKE_preferences_asset_library_remove(), BLI_findlink(), library, NC_SPACE, ND_SPACE_ASSET_PARAMS, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), and WM_main_add_notifier().
Referenced by PREFERENCES_OT_asset_library_remove().
|
static |
Definition at line 73 of file userpref_ops.c.
References BLI_addtail(), MEM_callocN, and OPERATOR_FINISHED.
Referenced by PREFERENCES_OT_autoexec_path_add().
|
static |
Definition at line 98 of file userpref_ops.c.
References BLI_findlink(), BLI_freelinkN(), OPERATOR_FINISHED, wmOperator::ptr, and RNA_int_get().
Referenced by PREFERENCES_OT_autoexec_path_remove().
|
static |
Definition at line 159 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, ot, preferences_asset_library_add_exec(), preferences_asset_library_add_invoke(), WM_FILESEL_DIRECTORY, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 198 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, ot, preferences_asset_library_remove_exec(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 250 of file userpref_ops.c.
References associate_blend_exec(), associate_blend_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 81 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, ot, and preferences_autoexec_add_exec().
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 109 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, ot, preferences_autoexec_remove_exec(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 53 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and preferences_reset_default_theme_exec().
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 42 of file userpref_ops.c.
References C, CTX_data_main(), NC_WINDOW, NULL, OPERATOR_FINISHED, UI_style_init_default(), UI_theme_init_default(), WM_event_add_notifier(), and WM_reinit_gizmomap_all().
Referenced by PREFERENCES_OT_reset_default_theme().