Context for editing or running ToolScript. More...
#include <gre/viewscript.h>

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) |
Context for editing or running ToolScript.
| 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.
| 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.
1.6.1