7 #ifndef CAFU_COMMAND_SET_BP_SUBDIVS_HPP_INCLUDED
8 #define CAFU_COMMAND_SET_BP_SUBDIVS_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
42 const int m_NewAmount;
43 const int m_OldAmount;
44 const SubdivDirE m_Direction;
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
CommandSetBPSubdivsT(MapDocumentT *MapDoc, MapBezierPatchT *BezierPatch, int Amount, SubdivDirE Direction)
Constructor.
Definition: SetBPSubdivs.cpp:13
This class represents a bezier patch.
Definition: MapBezierPatch.hpp:44
void Undo()
This method un-does the command.
Definition: SetBPSubdivs.cpp:43
Definition: SetBPSubdivs.hpp:24
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
wxString GetName() const
Returns the name (a description) of the command.
Definition: SetBPSubdivs.cpp:61
bool Do()
This method executes the command.
Definition: SetBPSubdivs.cpp:23