Blender V5.3
userpref_ops.cc File Reference
#include <cstring>
#include <fmt/format.h>
#include "AS_remote_library.hh"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_listbase.hh"
#include "BLI_fileops.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BKE_callbacks.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_main.hh"
#include "BKE_preferences.h"
#include "BKE_screen.hh"
#include "BKE_report.hh"
#include "BLT_translation.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "RNA_types.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_asset.hh"
#include "ED_screen.hh"
#include "ED_userpref.hh"
#include "MEM_guardedalloc.h"
#include "userpref_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::ED_dropbox_drop_extension ()
void blender::ED_operatortypes_userpref ()
Reset Default Theme Operator
static wmOperatorStatus blender::preferences_reset_default_theme_exec (bContext *C, wmOperator *)
static void blender::PREFERENCES_OT_reset_default_theme (wmOperatorType *ot)
Add Auto-Execution Path Operator
static wmOperatorStatus blender::preferences_autoexec_add_exec (bContext *, wmOperator *)
static void blender::PREFERENCES_OT_autoexec_path_add (wmOperatorType *ot)
Remove Auto-Execution Path Operator
static wmOperatorStatus blender::preferences_autoexec_remove_exec (bContext *, wmOperator *op)
static void blender::PREFERENCES_OT_autoexec_path_remove (wmOperatorType *ot)
Add Asset Library Operator
static wmOperatorStatus blender::preferences_asset_library_add_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::preferences_asset_library_add_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::preferences_asset_library_add_ui (bContext *, wmOperator *op)
static const EnumPropertyItem * blender::custom_library_type_itemf (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
static void blender::PREFERENCES_OT_asset_library_add (wmOperatorType *ot)
Remove Asset Library Operator
static bool blender::preferences_asset_library_remove_poll (bContext *C)
static wmOperatorStatus blender::preferences_asset_library_remove_exec (bContext *C, wmOperator *op)
static void blender::PREFERENCES_OT_asset_library_remove (wmOperatorType *ot)
Remove Extension Repository Operator
static bool blender::preferences_extension_repo_remove_poll (bContext *C)
static wmOperatorStatus blender::preferences_extension_repo_remove_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::preferences_extension_repo_remove_exec (bContext *C, wmOperator *op)
static void blender::PREFERENCES_OT_extension_repo_remove (wmOperatorType *ot)
Drop Extension Operator
static wmOperatorStatus blender::preferences_extension_url_drop_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::PREFERENCES_OT_extension_url_drop (wmOperatorType *ot)
Associate File Type Operator (Windows only)
static bool blender::associate_blend_poll (bContext *C)
static bool blender::associate_blend (bool do_register, bool all_users, char **r_error_msg)
static wmOperatorStatus blender::associate_blend_exec (bContext *, wmOperator *op)
static void blender::PREFERENCES_OT_associate_blend (wmOperatorType *ot)
static wmOperatorStatus blender::unassociate_blend_exec (bContext *, wmOperator *op)
static void blender::PREFERENCES_OT_unassociate_blend (wmOperatorType *ot)
Drag & Drop URL
static bool blender::drop_extension_url_poll (bContext *, wmDrag *drag, const wmEvent *)
static void blender::drop_extension_url_copy (bContext *, wmDrag *drag, wmDropBox *drop)
Drag & Drop Paths
static bool blender::drop_extension_path_poll (bContext *, wmDrag *drag, const wmEvent *)
static void blender::drop_extension_path_copy (bContext *, wmDrag *drag, wmDropBox *drop)
Start / Clear Search Filter Operators
Note
Almost a duplicate of the file browser operator FILE_OT_start_filter.
static wmOperatorStatus blender::preferences_start_filter_exec (bContext *C, wmOperator *)
void blender::PREFERENCES_OT_start_filter (wmOperatorType *ot)
static wmOperatorStatus blender::preferences_clear_filter_exec (bContext *C, wmOperator *)
void blender::PREFERENCES_OT_clear_filter (wmOperatorType *ot)

Add Extension Repository Operator

enum class  blender::bUserExtensionRepoAddType { blender::Remote = 0 , blender::Local = 1 }
static const char * blender::preferences_extension_repo_default_name_from_type (const bUserExtensionRepoAddType repo_type)
static wmOperatorStatus blender::preferences_extension_repo_add_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::preferences_extension_repo_add_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::preferences_extension_repo_add_ui (bContext *, wmOperator *op)
static void blender::PREFERENCES_OT_extension_repo_add (wmOperatorType *ot)