Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_workspace_types.h
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | typedef struct WorkSpace { | ||||
| /* Store for each hook (so for each window) which layout has | /* Store for each hook (so for each window) which layout has | ||||
| * been activated the last time this workspace was visible. */ | * been activated the last time this workspace was visible. */ | ||||
| ListBase hook_layout_relations DNA_PRIVATE_WORKSPACE_READ_WRITE; /* WorkSpaceDataRelation */ | ListBase hook_layout_relations DNA_PRIVATE_WORKSPACE_READ_WRITE; /* WorkSpaceDataRelation */ | ||||
| /* Custom transform orientations */ | /* Custom transform orientations */ | ||||
| ListBase transform_orientations DNA_PRIVATE_WORKSPACE; | ListBase transform_orientations DNA_PRIVATE_WORKSPACE; | ||||
| int object_mode DNA_PRIVATE_WORKSPACE; /* enum ObjectMode */ | int object_mode DNA_PRIVATE_WORKSPACE; /* enum ObjectMode */ | ||||
| int pad; | |||||
| /* We may want to store an active tool per space-type. | |||||
| * for now just keep one. */ | |||||
| int tool_active_spacetype; | |||||
| char tool_active_keymap[64]; | |||||
| struct SceneLayer *render_layer DNA_PRIVATE_WORKSPACE; | struct SceneLayer *render_layer DNA_PRIVATE_WORKSPACE; | ||||
| } WorkSpace; | } WorkSpace; | ||||
| /* internal struct, but exported for read/write */ | /* internal struct, but exported for read/write */ | ||||
| #if defined(DNA_PRIVATE_READ_WRITE_ALLOW) || defined(DNA_PRIVATE_WORKSPACE_ALLOW) | #if defined(DNA_PRIVATE_READ_WRITE_ALLOW) || defined(DNA_PRIVATE_WORKSPACE_ALLOW) | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines | |||||