41 #ifdef CHECK_MEMORY_LEAKS 43 #endif // CHECK_MEMORY_LEAKS 54 "........................................",
55 "........................................",
56 "...........................#............",
57 "..........................##............",
58 ".........................###............",
59 "........................####............",
60 ".......................#####............",
61 "......................###.##............",
62 ".....................###..##............",
63 "....................###...##............",
64 "...................###....##............",
65 "..................###.....##............",
66 ".........##############################.",
67 "........##############################..",
68 ".......###.....###.......###......###...",
69 "......###.....###.......###......###....",
70 ".....###.....###.......###......###.....",
71 "....###.....###.......###......###......",
72 "...###.....###.......###......###.......",
73 "..##############################........",
74 ".##############################.........",
75 "...........##.....###...................",
76 "...........##....###....................",
77 "...........##...###.....................",
78 "...........##..###......................",
79 "...........##.###.......................",
80 "...........#####........................",
81 "...........####.........................",
82 "...........###..........................",
83 "...........##...........................",
84 "...........#...#####....##.....#####....",
85 "...............######...##.....######...",
86 "...............##..###..##.....##..##...",
87 "...............##...##..##.....##..##...",
88 "...............##...##..##.....#####....",
89 "...............##...##..##.....#####....",
90 "...............##..###..##.....##.###...",
91 "...............######...#####..##..##...",
92 "...............#####....#####..##..###..",
93 "........................................",
94 "........................................",
95 "........................................" 103 : FXDialogBox(parent, name, DECOR_CLOSE | DECOR_TITLE, x, y, 0, 0) {
104 FXVerticalFrame* f1 =
new FXVerticalFrame(
this, LAYOUT_TOP | FRAME_NONE | LAYOUT_FILL_X, 0, 0, 0, 0, 0, 0, 1, 1);
106 FXHorizontalFrame* f2 =
new FXHorizontalFrame(f1, LAYOUT_TOP | LAYOUT_CENTER_X | FRAME_NONE, 0, 0, 0, 0, 0, 0, 1, 1);
108 new FXButton(f2,
"\tDLR\t.",
myDLRIcon, 0, 0, LAYOUT_CENTER_Y | TEXT_OVER_ICON, 5, 0, 40 + 5, 0, 0, 0, 0, 0);
110 FXVerticalFrame* f4 =
new FXVerticalFrame(f2, FRAME_NONE, 0, 0, 0, 0, 20, 0, 0, 0);
112 FXLabel* l =
new FXLabel(f4,
"SUMO " VERSION_STRING, 0, LAYOUT_CENTER_Y | LAYOUT_CENTER_X | JUSTIFY_CENTER_X | LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
114 new FXLabel(f4,
"Simulation of Urban MObility", 0, LAYOUT_CENTER_Y | LAYOUT_CENTER_X | JUSTIFY_CENTER_X | LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
115 new FXLabel(f4,
HAVE_ENABLED, 0, LAYOUT_CENTER_Y | LAYOUT_CENTER_X | JUSTIFY_CENTER_X | LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
118 FXVerticalFrame* f3 =
new FXVerticalFrame(f1, FRAME_NONE, 0, 0, 0, 0, 0, 0, 0, 0);
120 new FXLabel(f3,
"A microscopic, multi-modal, open source", 0, LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
121 new FXLabel(f3,
"road traffic simulation.", 0, LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
122 new FXLabel(f3,
"Copyright (C) 2001-2016 DLR / Institute of Transportation Systems", 0, LAYOUT_CENTER_X | JUSTIFY_CENTER_X | LABEL_NORMAL, 0, 0, 0, 0, 0, 0, 0, 0);
124 FXLinkLabel* link =
new FXLinkLabel(f3,
"http://sumo.dlr.de", 0, LAYOUT_CENTER_X | JUSTIFY_CENTER_X | LABEL_NORMAL, 0, 0, 0, 0, 5, 5, 5, 5);
125 link->setTipText(
"http://sumo.dlr.de");
127 new FXButton(f1,
"OK\t\t", 0,
this, ID_ACCEPT, LAYOUT_FIX_WIDTH | LAYOUT_CENTER_X | JUSTIFY_CENTER_X | FRAME_THICK | FRAME_RAISED, 0, 0, 50, 30);
134 FXDialogBox::create();
~GUIDialog_AboutSUMO()
Destructor.
FXFont * myHeadlineFont
Font for the widget.
static const char * dlr_icon[]
GUIDialog_AboutSUMO(FXWindow *parent, const char *name, int x, int y)
Constructor.
void create()
Creates the widget (and the icons)
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
FXIcon * myDLRIcon
Icons for the widget.