 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUISUMOViewParent_h
20 #define GUISUMOViewParent_h
86 FXIcon* ic = NULL, FXuint opts = 0, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0);
106 long onSimStep(FXObject* sender, FXSelector,
void*);
116 long onKeyPress(FXObject* o, FXSelector sel,
void* data);
117 long onKeyRelease(FXObject* o, FXSelector sel,
void* data);
void setToolBarVisibility(const bool value)
@notify about toggled gaming status
A single child window which contains a view of the simulation area.
long onSimStep(FXObject *sender, FXSelector, void *)
Called on a simulation step.
long onUpdSpeedFactor(FXObject *, FXSelector, void *)
GUISUMOViewParent(FXMDIClient *p, FXMDIMenu *mdimenu, const FXString &name, GUIMainWindow *parentWindow, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
Constructor.
FXSlider * mySpeedFactorSlider
long onKeyPress(FXObject *o, FXSelector sel, void *data)
handle keys
ViewType
Available view types.
#define FOX_CONSTRUCTOR(classname)
FXToolBar * myToolBarSpeed
long onCmdMakeSnapshot(FXObject *sender, FXSelector, void *)
Called if the user wants to make a snapshot (screenshot)
FXToolBarShell * myToolBarDragSpeed
long onCmdLocate(FXObject *, FXSelector, void *)
locator-callback
bool isSelected(GUIGlObject *o) const
true if the object is selected (may include extra logic besides calling gSelected)
long onKeyRelease(FXObject *o, FXSelector sel, void *data)
void buildSpeedControlToolbar()
A MSNet extended by some values for usage within the gui.
virtual GUISUMOAbstractView * init(FXGLCanvas *share, GUINet &net, ViewType type)
"Initialises" this window by building the contents
long onCmdSpeedFactor(FXObject *, FXSelector, void *)
speedFactor-callback
~GUISUMOViewParent()
Destructor.