49 U.runtime.is_dirty =
true;
56 ot->
name =
"Reset to Default Theme";
57 ot->
idname =
"PREFERENCES_OT_reset_default_theme";
77 U.runtime.is_dirty =
true;
83 ot->
name =
"Add Auto-Execution Path";
84 ot->
idname =
"PREFERENCES_OT_autoexec_path_add";
104 U.runtime.is_dirty =
true;
111 ot->
name =
"Remove Auto-Execution Path";
112 ot->
idname =
"PREFERENCES_OT_autoexec_path_remove";
113 ot->
description =
"Remove path to exclude from auto-execution";
138 U.runtime.is_dirty =
true;
161 ot->
name =
"Add Asset Library";
162 ot->
idname =
"PREFERENCES_OT_asset_library_add";
163 ot->
description =
"Add a directory to be used by the Asset Browser as source of assets";
191 U.runtime.is_dirty =
true;
200 ot->
name =
"Remove Asset Library";
201 ot->
idname =
"PREFERENCES_OT_asset_library_remove";
203 "Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore";
253 ot->
name =
"Register File Association";
254 ot->
description =
"Use this installation for .blend files and to display thumbnails";
255 ot->
idname =
"PREFERENCES_OT_associate_blend";
void CTX_wm_operator_poll_msg_set(struct bContext *C, const char *msg)
struct Main * CTX_data_main(const bContext *C)
struct bUserAssetLibrary * BKE_preferences_asset_library_add(struct UserDef *userdef, const char *name, const char *path) ATTR_NONNULL(1)
void BKE_preferences_asset_library_remove(struct UserDef *userdef, struct bUserAssetLibrary *library) ATTR_NONNULL()
void BKE_report(ReportList *reports, eReportType type, const char *message)
#define BLI_assert_unreachable()
void BLI_freelinkN(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BLI_path_slash_rstrip(char *string) ATTR_NONNULL()
void BLI_split_file_part(const char *string, char *file, size_t filelen)
Compatibility-like things for windows.
bool BLI_windows_register_blend_extension(bool background)
const char * dirname(char *path)
Read Guarded memory(de)allocation.
void UI_style_init_default(void)
void UI_theme_init_default(void)
#define ND_SPACE_ASSET_PARAMS
void(* MEM_freeN)(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
int RNA_int_get(PointerRNA *ptr, const char *name)
char * RNA_string_get_alloc(PointerRNA *ptr, const char *name, char *fixedbuf, int fixedlen, int *r_len)
bool RNA_struct_property_is_set(PointerRNA *ptr, const char *identifier)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
bool(* poll)(struct bContext *) ATTR_WARN_UNUSED_RESULT
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
static bool associate_blend_poll(bContext *C)
static int preferences_reset_default_theme_exec(bContext *C, wmOperator *UNUSED(op))
static void PREFERENCES_OT_associate_blend(struct wmOperatorType *ot)
static void PREFERENCES_OT_reset_default_theme(wmOperatorType *ot)
static int associate_blend_exec(bContext *UNUSED(C), wmOperator *op)
static int preferences_autoexec_remove_exec(bContext *UNUSED(C), wmOperator *op)
static int preferences_asset_library_remove_exec(bContext *UNUSED(C), wmOperator *op)
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))
void ED_operatortypes_userpref(void)
static void PREFERENCES_OT_asset_library_remove(wmOperatorType *ot)
static void PREFERENCES_OT_autoexec_path_remove(wmOperatorType *ot)
static void PREFERENCES_OT_autoexec_path_add(wmOperatorType *ot)
static void PREFERENCES_OT_asset_library_add(wmOperatorType *ot)
static int preferences_autoexec_add_exec(bContext *UNUSED(C), wmOperator *UNUSED(op))
static FT_Library library
void WM_cursor_wait(bool val)
void WM_main_add_notifier(unsigned int type, void *reference)
void WM_event_add_fileselect(bContext *C, wmOperator *op)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
void WM_reinit_gizmomap_all(Main *bmain)
void WM_operator_properties_filesel(wmOperatorType *ot, const int filter, const short type, const eFileSel_Action action, const eFileSel_Flag flag, const short display, const short sort)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))