|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | bToolRef_Runtime |
| struct | bToolRef |
| struct | WorkSpaceLayout |
| Wrapper for bScreen. More... | |
| struct | wmOwnerID |
| struct | WorkSpace |
| struct | WorkSpaceDataRelation |
| struct | WorkSpaceInstanceHook |
Typedefs | |
| typedef struct WorkSpaceRuntimeHandle | WorkSpaceRuntimeHandle |
| typedef struct bToolRef_Runtime | bToolRef_Runtime |
| typedef struct bToolRef | bToolRef |
| typedef struct WorkSpaceLayout | WorkSpaceLayout |
| Wrapper for bScreen. | |
| typedef struct wmOwnerID | wmOwnerID |
| typedef struct WorkSpace | WorkSpace |
| typedef struct WorkSpaceDataRelation | WorkSpaceDataRelation |
| typedef struct WorkSpaceInstanceHook | WorkSpaceInstanceHook |
| typedef enum eWorkSpaceFlags | eWorkSpaceFlags |
Enumerations | |
| enum | { TOOLREF_FLAG_FALLBACK_KEYMAP = (1 << 0) , TOOLREF_FLAG_USE_BRUSHES = (1 << 1) } |
| enum | eWorkSpaceFlags { WORKSPACE_USE_FILTER_BY_ORIGIN = (1 << 1) , WORKSPACE_USE_PIN_SCENE = (1 << 2) , WORKSPACE_SYNC_SCENE_TIME = (1 << 3) } |
Use API in BKE_workspace.hh to edit these.
Definition in file DNA_workspace_types.h.
| typedef struct bToolRef bToolRef |
| typedef struct bToolRef_Runtime bToolRef_Runtime |
| typedef struct wmOwnerID wmOwnerID |
Optional tags, which features to use, aligned with bAddon names by convention.
| typedef struct WorkSpace WorkSpace |
| typedef struct WorkSpaceDataRelation WorkSpaceDataRelation |
Generic (and simple/primitive) struct for storing a history of assignments/relations of workspace data to non-workspace data in a listbase inside the workspace.
Using this we can restore the old state of a workspace if the user switches back to it.
When activating a workspace, it should activate the screen-layout that was active in that workspace before in this window. More concretely:
| typedef struct WorkSpaceInstanceHook WorkSpaceInstanceHook |
Little wrapper to store data that is going to be per window, but coming from the workspace. It allows us to keep workspace and window data completely separate.
| typedef struct WorkSpaceLayout WorkSpaceLayout |
Wrapper for bScreen.
#bScreens are IDs and thus stored in a main list-base. We also want to store a list-base of them within the workspace (so each workspace can have its own set of screen-layouts) which would mess with the next/prev pointers. So we use this struct to wrap a bScreen pointer with another pair of next/prev pointers.
Definition at line 23 of file DNA_workspace_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TOOLREF_FLAG_FALLBACK_KEYMAP | This tool should use the fallback key-map. Typically gizmos handle this but some tools (such as the knife tool) don't use a gizmo. |
| TOOLREF_FLAG_USE_BRUSHES | |
Definition at line 27 of file DNA_workspace_types.h.
| enum eWorkSpaceFlags |
| Enumerator | |
|---|---|
| WORKSPACE_USE_FILTER_BY_ORIGIN | |
| WORKSPACE_USE_PIN_SCENE | |
| WORKSPACE_SYNC_SCENE_TIME | |
Definition at line 251 of file DNA_workspace_types.h.