|
Blender
V2.93
|
#include <string.h>#include "DNA_screen_types.h"#include "BLI_listbase.h"#include "BKE_context.h"#include "BKE_main.h"#include "BKE_preferences.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.
Functions | |
| void | ED_operatortypes_userpref (void) |
Reset Default Theme Operator | |
| static int | preferences_reset_default_theme_exec (bContext *C, wmOperator *UNUSED(op)) |
| static void | PREFERENCES_OT_reset_default_theme (wmOperatorType *ot) |
Add Auto-Execution Path Operator | |
| static int | preferences_autoexec_add_exec (bContext *UNUSED(C), wmOperator *UNUSED(op)) |
| static void | PREFERENCES_OT_autoexec_path_add (wmOperatorType *ot) |
Remove Auto-Execution Path Operator | |
| static int | preferences_autoexec_remove_exec (bContext *UNUSED(C), wmOperator *op) |
| static void | PREFERENCES_OT_autoexec_path_remove (wmOperatorType *ot) |
Add Asset Library Operator | |
| static int | preferences_asset_library_add_exec (bContext *UNUSED(C), wmOperator *UNUSED(op)) |
| static void | PREFERENCES_OT_asset_library_add (wmOperatorType *ot) |
Remove Asset Library Operator | |
| static int | preferences_asset_library_remove_exec (bContext *UNUSED(C), wmOperator *op) |
| static void | PREFERENCES_OT_asset_library_remove (wmOperatorType *ot) |
| void ED_operatortypes_userpref | ( | void | ) |
Definition at line 191 of file userpref_ops.c.
References PREFERENCES_OT_asset_library_add(), PREFERENCES_OT_asset_library_remove(), 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 137 of file userpref_ops.c.
References BKE_preferences_asset_library_add(), NULL, and OPERATOR_FINISHED.
Referenced by PREFERENCES_OT_asset_library_add().
|
static |
Definition at line 162 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 82 of file userpref_ops.c.
References BLI_addtail(), MEM_callocN, and OPERATOR_FINISHED.
Referenced by PREFERENCES_OT_autoexec_path_add().
|
static |
Definition at line 107 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 144 of file userpref_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_INTERNAL, ot, and preferences_asset_library_add_exec().
Referenced by ED_operatortypes_userpref().
|
static |
Definition at line 175 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 90 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 118 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 62 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 51 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().