|
HyperspaceExplorer 0.7.1
|
"size <width> <height>" More...
#include <Statement.h>


Public Member Functions | |
| SizeStmt (const Parser *p, const std::string &_arg) | |
| virtual bool | execute () |
| Executes the statement in the current context. | |
Private Attributes | |
| unsigned | _width |
| Width of the viewport. | |
| unsigned | _height |
| Height of the viewport. | |
"size <width> <height>"
sets the width and height of the viewport
| Script::SizeStmt::SizeStmt | ( | const Parser * | p, |
| const std::string & | _arg | ||
| ) |
| p | The context in which the Statement is executed |
| _arg | The argument supplied to the Statement |
References _height, _width, Script::Statement::arg(), Util::atou(), Script::leading(), and Script::trailing().

1.7.4
-
Hosted by