HyperspaceExplorer 0.7.1
Public Member Functions | Private Attributes
Script::SizeStmt Class Reference

"size <width> <height>" More...

#include <Statement.h>

Inheritance diagram for Script::SizeStmt:
Inheritance graph
[legend]
Collaboration diagram for Script::SizeStmt:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

"size <width> <height>"

sets the width and height of the viewport


Constructor & Destructor Documentation

Script::SizeStmt::SizeStmt ( const Parser p,
const std::string _arg 
)
Parameters:
pThe context in which the Statement is executed
_argThe argument supplied to the Statement

References _height, _width, Script::Statement::arg(), Util::atou(), Script::leading(), and Script::trailing().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends

Generated on Mon Apr 9 2012 20:25:19 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo