Blender  V3.3
DNA_workspace_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
9 #pragma once
10 
11 #include "DNA_ID.h"
12 #include "DNA_asset_types.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
19 enum {
25 };
26 
27 #
28 #
29 typedef struct bToolRef_Runtime {
30  int cursor;
31 
33  char keymap[64];
34  char gizmo_group[64];
35  char data_block[64];
36 
38  char keymap_fallback[64];
39 
41  char op[64];
42 
44  int index;
46  int flag;
48 
52 typedef struct bToolRef {
53  struct bToolRef *next, *prev;
54  char idname[64];
55 
57  char idname_fallback[64];
58 
60  short tag;
61 
63  short space_type;
68  int mode;
69 
78 
82 
92 typedef struct WorkSpaceLayout {
94 
95  struct bScreen *screen;
96  /* The name of this layout, we override the RNA name of the screen with this
97  * (but not ID name itself) */
99  char name[64];
101 
103 typedef struct wmOwnerID {
104  struct wmOwnerID *next, *prev;
106  char name[64];
108 
109 typedef struct WorkSpace {
111 
114  /* Store for each hook (so for each window) which layout has
115  * been activated the last time this workspace was visible. */
118 
119  /* Feature tagging (use for addons) */
122 
125 
128  struct Scene *pin_scene;
129 
130  char _pad[4];
131 
133 
135  int flags;
136 
138  int order;
139 
141  char *status_text;
142 
147 
171 typedef struct WorkSpaceDataRelation {
173 
177  void *parent;
179  void *value;
180 
182  int parentid;
183  char _pad_0[4];
185 
190 typedef struct WorkSpaceInstanceHook {
193 
199 
200 typedef enum eWorkSpaceFlags {
204 
205 #ifdef __cplusplus
206 }
207 #endif
ID and Library types, which are fundamental for sdna.
struct bToolRef bToolRef
struct WorkSpaceDataRelation WorkSpaceDataRelation
struct WorkSpaceInstanceHook WorkSpaceInstanceHook
eWorkSpaceFlags
@ WORKSPACE_USE_FILTER_BY_ORIGIN
@ WORKSPACE_USE_PIN_SCENE
struct WorkSpaceLayout WorkSpaceLayout
Wrapper for bScreen.
struct wmOwnerID wmOwnerID
@ TOOLREF_FLAG_FALLBACK_KEYMAP
struct WorkSpace WorkSpace
struct bToolRef_Runtime bToolRef_Runtime
Definition: DNA_ID.h:368
struct WorkSpaceDataRelation * prev
struct WorkSpaceDataRelation * next
struct WorkSpaceLayout * act_layout
struct WorkSpaceLayout * temp_layout_store
Wrapper for bScreen.
struct bScreen * screen
struct WorkSpaceLayout * next
struct WorkSpaceLayout * prev
AssetLibraryReference asset_library_ref
ListBase owner_ids
ListBase hook_layout_relations
struct Scene * pin_scene
IDProperty * properties
char idname[64]
bToolRef_Runtime * runtime
struct bToolRef * prev
char idname_fallback[64]
struct bToolRef * next
struct wmOwnerID * prev
struct wmOwnerID * next