Blender V5.0
WorkSpaceInstanceHook Struct Reference

#include <DNA_workspace_types.h>

Public Attributes

WorkSpaceactive
struct WorkSpaceLayoutact_layout
WorkSpacetemp_workspace_store
struct WorkSpaceLayouttemp_layout_store

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 239 of file DNA_workspace_types.h.

Member Data Documentation

◆ act_layout

◆ active

◆ temp_layout_store

struct WorkSpaceLayout* WorkSpaceInstanceHook::temp_layout_store

◆ temp_workspace_store

WorkSpace* WorkSpaceInstanceHook::temp_workspace_store

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

Definition at line 247 of file DNA_workspace_types.h.

Referenced by space_workspace_cycle_invoke(), and workspace_change_get_new_layout().


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