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
bool listTeleporting() const
return whether to list teleporting vehicles
virtual SUMOReal getDelay() const
Returns the delay (should be overwritten by subclasses if applicable)
bool myListParking
information whether the locator should list parking vehicles
void setWindowSizeAndPos()
perform initial window positioning and sizing according to user options / previous call ...
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
bool listParking() const
return whether to list parking vehicles
#define UNUSED_PARAMETER(x)
bool myListTeleporting
information whether the locator should list teleporting vehicles
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()
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.
virtual SUMOTime getCurrentSimTime() const =0
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.
virtual FXGLCanvas * getBuildGLCanvas() const =0
FXHorizontalFrame * myGeoFrame
FXMDIClient * myMDIClient
The multi view panel.
std::vector< std::string > getViewIDs() const