![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXUndoList.h>
Public Member Functions | |
FXCommandGroup () | |
bool | empty () |
virtual void | undo () |
virtual void | redo () |
virtual FXuint | size () const |
virtual | ~FXCommandGroup () |
Friends | |
class | FXUndoList |
Group of undoable commands.
A group may comprise multiple individual actions which together undo (or redo) a larger operation. Even larger operations may be built by nesting multiple undo groups.
FX::FXCommandGroup::FXCommandGroup | ( | ) | [inline] |
Construct initially empty undo command group.
References FXDECLARE.
virtual FX::FXCommandGroup::~FXCommandGroup | ( | ) | [virtual] |
Delete undo command and sub-commands.
bool FX::FXCommandGroup::empty | ( | ) | [inline] |
Return TRUE if empty.
virtual void FX::FXCommandGroup::undo | ( | ) | [virtual] |
virtual void FX::FXCommandGroup::redo | ( | ) | [virtual] |
virtual FXuint FX::FXCommandGroup::size | ( | ) | const [virtual] |
Return the size of the command group.
Reimplemented from FX::FXCommand.
Reimplemented in FX::FXUndoList.
friend class FXUndoList [friend] |
Reimplemented from FX::FXCommand.
![]() |