GRE::TOOLSCRIPT::CONTEXT Class Reference

Context for editing or running ToolScript. More...

#include <gre/viewscript.h>

Inheritance diagram for GRE::TOOLSCRIPT::CONTEXT:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CONTEXT (GRE::VIEWABLE *viewable, GRE::VIEW *view, MGUI::TOOL_BASE *pTool=0)
virtual ~CONTEXT ()
ERRVALUE CallFunction (const char *funcname) const
void SetActive (bool IsActive)
void SetPointerButtonState (int x, int y, MGUI::KEYSTATE keystate, MGUI::POINTERBUTTON button)

Detailed Description

Context for editing or running ToolScript.


Constructor & Destructor Documentation

GRE::TOOLSCRIPT::CONTEXT::CONTEXT ( GRE::VIEWABLE viewable,
GRE::VIEW view,
MGUI::TOOL_BASE pTool = 0 
)

Constructor.

virtual GRE::TOOLSCRIPT::CONTEXT::~CONTEXT (  )  [virtual]

Descturctor.

Reimplemented from GRE::VIEWSCRIPT::CONTEXT.


Member Function Documentation

ERRVALUE GRE::TOOLSCRIPT::CONTEXT::CallFunction ( const char *  funcname  )  const

Call function in script.

void GRE::TOOLSCRIPT::CONTEXT::SetActive ( bool  IsActive  ) 

Set symbol indicating whether tool is active.

void GRE::TOOLSCRIPT::CONTEXT::SetPointerButtonState ( int  x,
int  y,
MGUI::KEYSTATE  keystate,
MGUI::POINTERBUTTON  button 
)

Set pointer position and button/modifier state values.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:52 2012 for TNTsdk 2012 by  doxygen 1.6.1