OpenASIP
2.0
|
#include <ZoomInCmd.hh>
Public Member Functions | |
ZoomInCmd () | |
virtual | ~ZoomInCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual ZoomInCmd * | create () const |
virtual std::string | icon () const |
virtual std::string | shortName () const |
virtual bool | isEnabled () |
Public Member Functions inherited from EditorCommand | |
EditorCommand (std::string name, wxWindow *parent=NULL) | |
virtual | ~EditorCommand () |
void | setView (wxView *view) |
wxView * | view () const |
Public Member Functions inherited from GUICommand | |
GUICommand (std::string name, wxWindow *parent) | |
virtual | ~GUICommand () |
virtual bool | isChecked () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
EditorCommand for zooming in the canvas.
Definition at line 40 of file ZoomInCmd.hh.
ZoomInCmd::ZoomInCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 90 of file ZoomInCmd.cc.
References ZoomInCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 64 of file ZoomInCmd.cc.
References MDFView::canvas(), EditorCommand::view(), and MachineCanvas::zoomIn().
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 101 of file ZoomInCmd.cc.
References ProDeConstants::CMD_ICON_ZOOM_IN.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 79 of file ZoomInCmd.cc.
References ProDeConstants::COMMAND_ZOOM_IN.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 125 of file ZoomInCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 112 of file ZoomInCmd.cc.
References ProDeConstants::CMD_SNAME_ZOOM_IN.