#include <DocStatus.h>
Public Types | |
enum | Mode { Select, NewState, NewTransition, Zooming, Simulating } |
Document modes. More... | |
Public Methods | |
DocStatus () | |
Constructor. | |
~DocStatus () | |
Destructor. | |
int | getMode () |
Gets the current mode of the document. | |
void | setMode (int m) |
Sets the current mode m of the document. | |
Private Attributes | |
int | mode |
Mode. |
The current status of the document includes the mode in which the document is in. This determines e.g. what happens if the user presses a mouse button inside the view.
|
Document modes. These are the modes a document can be in. The default one is Select.
|