FuncDoodle
Loading...
Searching...
No Matches
FuncDoodle::MoveFrameLeftAction Class Reference

Moves a frame one position to the left. More...

#include <Frame.h>

Inheritance diagram for FuncDoodle::MoveFrameLeftAction:
FuncDoodle::Action

Public Member Functions

 MoveFrameLeftAction (unsigned long frameI, const SharedPtr< ProjectFile > &proj)
 Creates an action that shifts a frame one slot to the left.
void Undo () override
 Reverts the effects of this action.
void Redo () override
 Reapplies the effects of this action.
Public Member Functions inherited from FuncDoodle::Action
virtual ~Action ()=default
 Virtual destructor for safe polymorphic destruction.

Private Attributes

unsigned long m_FrameIndex
 Frame index.
WeakPtr< ProjectFilem_Proj
 Owning project.

Detailed Description

Moves a frame one position to the left.

Constructor & Destructor Documentation

◆ MoveFrameLeftAction()

FuncDoodle::MoveFrameLeftAction::MoveFrameLeftAction ( unsigned long frameI,
const SharedPtr< ProjectFile > & proj )
inline

Creates an action that shifts a frame one slot to the left.

Member Function Documentation

◆ Redo()

void FuncDoodle::MoveFrameLeftAction::Redo ( )
overridevirtual

Reapplies the effects of this action.

Implements FuncDoodle::Action.

◆ Undo()

void FuncDoodle::MoveFrameLeftAction::Undo ( )
overridevirtual

Reverts the effects of this action.

Implements FuncDoodle::Action.

Member Data Documentation

◆ m_FrameIndex

unsigned long FuncDoodle::MoveFrameLeftAction::m_FrameIndex
private

Frame index.

◆ m_Proj

WeakPtr<ProjectFile> FuncDoodle::MoveFrameLeftAction::m_Proj
private

Owning project.


The documentation for this class was generated from the following files: