C# Class ScreenToGif.Util.ActionStack

Do, Undo, Redo stack.
ファイルを表示 Open project: dbremner/ScreenToGif

Public Methods

Method Description
CanRedo ( ) : bool

Verifies if the Redo stack has elements and nothing else is happening.

CanUndo ( ) : bool

Verifies if the Undo stack has elements and nothing else is happening.

Clear ( ) : void

Clear the Action Stack.

Did ( List list ) : void

Add the change to the list.

Prepare ( string path ) : void

Creates the folders used by the ActionStack.

Redo ( List list ) : List

Redo the last Undo action.

Reset ( List list ) : List

Redo the last action.

Undo ( List list ) : List

Redo the last action.

Method Details

CanRedo() public static method

Verifies if the Redo stack has elements and nothing else is happening.
public static CanRedo ( ) : bool
return bool

CanUndo() public static method

Verifies if the Undo stack has elements and nothing else is happening.
public static CanUndo ( ) : bool
return bool

Clear() public static method

Clear the Action Stack.
public static Clear ( ) : void
return void

Did() public static method

Add the change to the list.
public static Did ( List list ) : void
list List The List of frames to stack.
return void

Prepare() public static method

Creates the folders used by the ActionStack.
public static Prepare ( string path ) : void
path string The file path of one of the frames.
return void

Redo() public static method

Redo the last Undo action.
public static Redo ( List list ) : List
list List
return List

Reset() public static method

Redo the last action.
public static Reset ( List list ) : List
list List
return List

Undo() public static method

Redo the last action.
public static Undo ( List list ) : List
list List
return List