Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
Public Attributes | List of all members
UndoSaveState Struct Reference

This is the main undo/redo state structure which is meant to populate whatever states that needs to be stored temporarily. More...

#include <undoredomanager.h>

Public Attributes

int layerId = 0
 
Layer::LAYER_TYPE layerType = Layer::UNDEFINED
 
std::unique_ptr< KeyFrame > keyframe = nullptr
 
std::unique_ptr< SelectionSaveState > selectionState = nullptr
 
UndoRedoRecordType recordType = UndoRedoRecordType::INVALID
 

Detailed Description

This is the main undo/redo state structure which is meant to populate whatever states that needs to be stored temporarily.

Definition at line 80 of file undoredomanager.h.

Member Data Documentation

◆ keyframe

std::unique_ptr<KeyFrame> UndoSaveState::keyframe = nullptr

Definition at line 84 of file undoredomanager.h.

◆ layerId

int UndoSaveState::layerId = 0

Definition at line 81 of file undoredomanager.h.

◆ layerType

Layer::LAYER_TYPE UndoSaveState::layerType = Layer::UNDEFINED

Definition at line 82 of file undoredomanager.h.

◆ recordType

UndoRedoRecordType UndoSaveState::recordType = UndoRedoRecordType::INVALID

Definition at line 87 of file undoredomanager.h.

◆ selectionState

std::unique_ptr<SelectionSaveState> UndoSaveState::selectionState = nullptr

Definition at line 85 of file undoredomanager.h.


The documentation for this struct was generated from the following file:
  • core_lib/src/managers/undoredomanager.h
Generated on Thu May 8 2025 04:47:54 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39