Blender V5.3
blender::uiViewStateLink Struct Reference

#include <DNA_screen_types.h>

Public Attributes

struct uiViewStateLink * next = nullptr
struct uiViewStateLink * prev = nullptr
char idname [64] = ""
uiViewState state

Detailed Description

Persistent storage for some state of views (#ui::AbstractView), for storage in a region. The view state is matched to the view using the view's idname.

The actual state is stored in uiViewState, so views can manage this conveniently without having to care about the idname and listbase pointers themselves.

Definition at line 488 of file DNA_screen_types.h.

Member Data Documentation

◆ idname

char blender::uiViewStateLink::idname[64] = ""

◆ next

struct uiViewStateLink* blender::uiViewStateLink::next = nullptr

Definition at line 489 of file DNA_screen_types.h.

◆ prev

struct uiViewStateLink * blender::uiViewStateLink::prev = nullptr

Definition at line 489 of file DNA_screen_types.h.

◆ state

uiViewState blender::uiViewStateLink::state

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