Blender  V3.3
Functions
userpref_ops.c File Reference
#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.

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 *op)
 
static int preferences_asset_library_add_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
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)
 
Associate File Type Operator (Windows only)
static bool associate_blend_poll (bContext *C)
 
static int associate_blend_exec (bContext *UNUSED(C), wmOperator *op)
 
static void PREFERENCES_OT_associate_blend (struct wmOperatorType *ot)
 

Function Documentation

◆ associate_blend_exec()

static int associate_blend_exec ( bContext UNUSEDC,
wmOperator op 
)
static

◆ associate_blend_poll()

static bool associate_blend_poll ( bContext C)
static

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().

◆ ED_operatortypes_userpref()

void ED_operatortypes_userpref ( void  )

◆ preferences_asset_library_add_exec()

static int preferences_asset_library_add_exec ( bContext UNUSEDC,
wmOperator op 
)
static

◆ preferences_asset_library_add_invoke()

static int preferences_asset_library_add_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ preferences_asset_library_remove_exec()

static int preferences_asset_library_remove_exec ( bContext UNUSEDC,
wmOperator op 
)
static

◆ preferences_autoexec_add_exec()

static int preferences_autoexec_add_exec ( bContext UNUSEDC,
wmOperator UNUSEDop 
)
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().

◆ preferences_autoexec_remove_exec()

static int preferences_autoexec_remove_exec ( bContext UNUSEDC,
wmOperator op 
)
static

◆ PREFERENCES_OT_asset_library_add()

static void PREFERENCES_OT_asset_library_add ( wmOperatorType ot)
static

◆ PREFERENCES_OT_asset_library_remove()

static void PREFERENCES_OT_asset_library_remove ( wmOperatorType ot)
static

◆ PREFERENCES_OT_associate_blend()

static void PREFERENCES_OT_associate_blend ( struct wmOperatorType ot)
static

◆ PREFERENCES_OT_autoexec_path_add()

static void PREFERENCES_OT_autoexec_path_add ( wmOperatorType ot)
static

◆ PREFERENCES_OT_autoexec_path_remove()

static void PREFERENCES_OT_autoexec_path_remove ( wmOperatorType ot)
static

◆ PREFERENCES_OT_reset_default_theme()

static void PREFERENCES_OT_reset_default_theme ( wmOperatorType ot)
static

◆ preferences_reset_default_theme_exec()

static int preferences_reset_default_theme_exec ( bContext C,
wmOperator UNUSEDop 
)
static