44 #ifdef CHECK_MEMORY_LEAKS
46 #endif // CHECK_MEMORY_LEAKS
58 :
FXMainWindow(a,
"SUMO-gui main window", NULL, NULL, DECOR_ALL, 20, 20, 600, 400),
59 myGLVisual(new FXGLVisual(a, VISUAL_DOUBLEBUFFER)),
60 myAmGaming(false), myListInternal(false) {
63 getApp()->getNormalFont()->getFontDesc(fdesc);
64 fdesc.weight = FXFont::Bold;
67 myTopDock =
new FXDockSite(
this, LAYOUT_SIDE_TOP | LAYOUT_FILL_X);
68 myBottomDock =
new FXDockSite(
this, LAYOUT_SIDE_BOTTOM | LAYOUT_FILL_X);
69 myLeftDock =
new FXDockSite(
this, LAYOUT_SIDE_LEFT | LAYOUT_FILL_Y);
70 myRightDock =
new FXDockSite(
this, LAYOUT_SIDE_RIGHT | LAYOUT_FILL_Y);
120 std::vector<std::string>
122 std::vector<std::string> ret;
124 ret.push_back((*i)->getTitle().text());
133 if (std::string((*i)->getTitle().text()) ==
id) {
183 throw ProcessError(
"A GUIMainWindow instance was not yet constructed.");