C# Class ScreenToGif.Util.ActionStack

Do, Undo, Redo stack.
Afficher le fichier Open project: dbremner/ScreenToGif

Méthodes publiques

Méthode 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 méthode

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

CanUndo() public static méthode

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

Clear() public static méthode

Clear the Action Stack.
public static Clear ( ) : void
Résultat void

Did() public static méthode

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

Prepare() public static méthode

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

Redo() public static méthode

Redo the last Undo action.
public static Redo ( List list ) : List
list List
Résultat List

Reset() public static méthode

Redo the last action.
public static Reset ( List list ) : List
list List
Résultat List

Undo() public static méthode

Redo the last action.
public static Undo ( List list ) : List
list List
Résultat List