To properly display this page you need a browser with JavaScript support.
Name
Name of the GdiMap. Must be unique whatever its type.
vsTASKER will generate a class whose name will be <Name>_Spt . For the moment, this class will inherit from Vt_Sprite class.
Any Sprite can be accessed using its name in a generated union named s .
Map can Move
When enabled , the map can be moved using the left mouse button + CTRL key.
If disabled , the map is fixed.
Map can Zoom
When enabled , the map can be zoomed using the mouse wheel or the left mouse button (see Zoom by Wheel ).
If disabled , the map is maximized.
Zoom on Mouse
When checked , the map zoom will focus on the mouse position .
If unchecked , the zoom focus on the map center .
Zoom by Wheel
If enabled , the mouse wheel is used to control the zoom.
If disabled , the zoom is done using the mouse motion by combining the SHIFT key and left mouse button .
Mouse can Select
When checked, entities can be selected by the mouse.
If unchecked, nothing can be selected.
Passive Select
When this option is enabled, the mouse displacement on the map will provide continuous mouseMove function call with the position of the mouse.
This can be used to highlight some information when mouse move over without selection.
Entity can Move
When checked, any selected entity (from the mouse or any other way) can be draged on the map with the left mouse button down.
Local Terrain
When checked, the terrain used by the GDI will be the current scenario terrain.
If unchecked, the terrain will not be defined.
GDI Definition
External Handlers
Select this options when user needs to define himself some mouse handler functions normally hidden inside the generated code. This can be the case when the simulation engine is embedded into another application (like Qt) and need to be informed outside the GDI Map object.
Here is the list of the available handlers:
void focusChange() : called each time a new entity is selected in the GDI Map (or when deselected). Use
vt_rtc->getFocus() to know which one is selected (NULL if none).