22 #ifndef GUIMainWindow_h 23 #define GUIMainWindow_h 59 void addChild(FXMDIChild* child,
bool updateOnSimStep =
true);
60 void addChild(FXMainWindow* child,
bool updateOnSimStep =
true);
67 FXMDIChild*
getViewByID(
const std::string&
id)
const;
std::vector< FXMainWindow * > myTrackerWindows
FXLabel * myGeoCoordinate
virtual SUMOTime getCurrentSimTime() const =0
virtual SUMOReal getDelay() const
Returns the delay (should be overwritten by subclasses if applicable)
FXFont * myBoldFont
Font used for popup-menu titles.
FXGLVisual * myGLVisual
The gl-visual used.
bool isGaming() const
return whether the gui is in gaming mode
#define UNUSED_PARAMETER(x)
FXHorizontalFrame * myCartesianFrame
FXMDIChild * getViewByID(const std::string &id) const
FXLabel & getCartesianLabel()
bool myAmGaming
information whether the gui is currently in gaming mode
virtual void setDelay(SUMOReal)
Sets the delay of the parent application.
std::vector< FXMDIChild * > mySubWindows
virtual void sendBlockingEvent(GUIEvent *event)
Sends an event from the application thread to the GUI and waits until it is handled.
void addChild(FXMDIChild *child, bool updateOnSimStep=true)
Adds a further child window to the list.
GUISUMOAbstractView * getActiveView() const
get the active view or 0
virtual void setStatusBarText(const std::string &)
static GUIMainWindow * getInstance()
virtual FXGLCanvas * getBuildGLCanvas() const =0
static GUIMainWindow * myInstance
the singleton window instance
FXGLVisual * getGLVisual() const
bool listInternal() const
return whether to list internal structures
void removeChild(FXMDIChild *child)
removes the given child window from the list
bool myListInternal
information whether the locator should list internal structures
FXStatusBar * myStatusbar
The status bar.
FXDockSite * myBottomDock
FXLabel * myCartesianCoordinate
Labels for the current cartesian and geo-coordinate.
MFXMutex myTrackerLock
A lock to make the removal and addition of trackers secure.
FXHorizontalFrame * myGeoFrame
FXMDIClient * myMDIClient
The multi view panel.
std::vector< std::string > getViewIDs() const