Blender V5.3
blender::WorkSpaceInstanceHook Struct Reference

#include <DNA_workspace_types.h>

Public Attributes

WorkSpace * active = nullptr
struct WorkSpaceLayout * act_layout = nullptr
WorkSpace * temp_workspace_store = nullptr
struct WorkSpaceLayout * temp_layout_store = nullptr

Detailed Description

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.

Definition at line 242 of file DNA_workspace_types.h.

Member Data Documentation

◆ act_layout

◆ active

◆ temp_layout_store

◆ temp_workspace_store

WorkSpace* blender::WorkSpaceInstanceHook::temp_workspace_store = nullptr

Needed because we can't change work-spaces/layouts in running handler loop, it would break context.

Definition at line 250 of file DNA_workspace_types.h.

Referenced by blender::space_workspace_cycle_invoke(), and blender::window_manager_blend_read_data().


The documentation for this struct was generated from the following file: