A stub version of the Symbol class.
More...
#include <vici/libifstubs.h>
A stub version of the Symbol class.
VICI::stub::SymbolStub::SymbolStub |
( |
bool |
command | ) |
|
|
inline |
Constructor.
- Parameters
-
command | True if the symbol represents a command. |
virtual void VICI::stub::SymbolStub::attachCommand |
( |
const ArgList & |
args | ) |
|
|
inlinevirtual |
Associate the symbol with a command.
The first entry becomes the label for the object. The entire argument list is assigned to the tool tip for the symbol.
- Parameters
-
args | the command and its options |
Implements VICI::Symbol::Symbol.
construct a copy of the symbol
- Parameters
-
owner | the object that owns the symbol |
Implements VICI::Symbol::Symbol.
virtual void VICI::stub::SymbolStub::draw |
( |
Scene * |
scene, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| |
|
inlinevirtual |
display the object
- Parameters
-
scene | the canvas on which to display the object. |
x | the x coordinate on the scene |
y | the y coordinate on the scene |
scale | the scaling factor to use |
Implements VICI::Symbol::Symbol.
virtual bool VICI::stub::SymbolStub::isCommand |
( |
| ) |
|
|
inlinevirtual |
check if the symbol represents a command object
- Returns
- true if the object is a command or choice
Implements VICI::Symbol::Symbol.
change the attributes of the symbol
This will cause the symbol to be redisplayed with the new attributes.
- Parameters
-
Implements VICI::Symbol::Symbol.
virtual void VICI::stub::SymbolStub::setHighlight |
( |
bool |
x | ) |
|
|
inlinevirtual |
virtual void VICI::stub::SymbolStub::setNodeId |
( |
NodeId |
nid | ) |
|
|
inlinevirtual |
Set the node id for the object.
- Parameters
-
nid | The node id to show on the symbol. |
Implements VICI::Symbol::Symbol.
The documentation for this class was generated from the following file: