Blender V5.3
workspace_edit.cc File Reference
#include <cstdlib>
#include <cstring>
#include <fmt/format.h>
#include "BLI_fileops.hh"
#include "BLI_listbase.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BKE_appdir.hh"
#include "BKE_blendfile.hh"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_screen.hh"
#include "BKE_workspace.hh"
#include "BLO_readfile.hh"
#include "DNA_screen_types.h"
#include "DNA_windowmanager_types.h"
#include "DNA_workspace_types.h"
#include "ED_datafiles.h"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "BLT_translation.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "screen_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Workspace API

API for managing workspaces and their data.

WorkSpace * blender::ED_workspace_add (Main *bmain, const char *name) ATTR_NONNULL()
static void blender::workspace_exit (WorkSpace *workspace, wmWindow *win)
static void blender::workspace_scene_pinning_update (WorkSpace *workspace_new, const WorkSpace *workspace_old, bContext *C)
static void blender::workspace_change_update (WorkSpace *workspace_new, WorkSpace *workspace_old, bContext *C, wmWindowManager *wm)
static WorkSpaceLayout * blender::workspace_change_get_new_layout (Main *bmain, WorkSpace *workspace_new, wmWindow *win)
bool blender::ED_workspace_change (WorkSpace *workspace_new, bContext *C, wmWindowManager *wm, wmWindow *win) ATTR_NONNULL()
 Change the active workspace.
WorkSpace * blender::ED_workspace_duplicate (WorkSpace *workspace_old, Main *bmain, wmWindow *win)
bool blender::ED_workspace_delete (WorkSpace *workspace, Main *bmain, bContext *C, wmWindowManager *wm) ATTR_NONNULL()
void blender::ED_workspace_scene_data_sync (WorkSpaceInstanceHook *hook, Scene *scene) ATTR_NONNULL()
Workspace Operators
static WorkSpace * blender::workspace_context_get (bContext *C)
static bool blender::workspace_context_poll (bContext *C)
static wmOperatorStatus blender::workspace_new_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_duplicate (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_delete_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_delete (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_delete_all_others_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_delete_all_others (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_append_activate_exec (bContext *C, wmOperator *op)
static void blender::WORKSPACE_OT_append_activate (wmOperatorType *ot)
static WorkspaceConfigFileData * blender::workspace_config_file_read (const char *app_template)
static WorkspaceConfigFileData * blender::workspace_system_file_read (const char *app_template)
static void blender::workspace_append_button (ui::Layout &layout, wmOperatorType *ot_append, const WorkSpace *workspace, const Main *from_main)
static void blender::workspace_add_menu (bContext *, ui::Layout *layout, void *template_v)
static void blender::workspace_add_menu_draw (ui::Layout &layout)
static void blender::workspace_add_menu_register ()
static wmOperatorStatus blender::workspace_add_invoke (bContext *C, wmOperator *, const wmEvent *)
static void blender::WORKSPACE_OT_add (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_reorder_to_back_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_reorder_to_back (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_reorder_to_front_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_reorder_to_front (wmOperatorType *ot)
static wmOperatorStatus blender::workspace_scene_pin_toggle_exec (bContext *C, wmOperator *)
static void blender::WORKSPACE_OT_scene_pin_toggle (wmOperatorType *ot)
void blender::ED_operatortypes_workspace ()