SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00007 // Abstract GUI manipulation class 00008 /****************************************************************************/ 00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00010 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00011 /****************************************************************************/ 00012 // 00013 // This file is part of SUMO. 00014 // SUMO is free software: you can redistribute it and/or modify 00015 // it under the terms of the GNU General Public License as published by 00016 // the Free Software Foundation, either version 3 of the License, or 00017 // (at your option) any later version. 00018 // 00019 /****************************************************************************/ 00020 00021 00022 // =========================================================================== 00023 // included modules 00024 // =========================================================================== 00025 #ifdef _MSC_VER 00026 #include <windows_config.h> 00027 #else 00028 #include <config.h> 00029 #endif 00030 00031 #include <fx.h> 00032 #include <string> 00033 #include <gui/GUIApplicationWindow.h> 00034 #include "GUIManipulator.h" 00035 #include <gui/GUIGlobals.h> 00036 00037 #ifdef CHECK_MEMORY_LEAKS 00038 #include <foreign/nvwa/debug_new.h> 00039 #endif // CHECK_MEMORY_LEAKS 00040 00041 00042 // =========================================================================== 00043 // FOX callback mapping 00044 // =========================================================================== 00045 FXIMPLEMENT(GUIManipulator, FXDialogBox, NULL, 0) 00046 00047 00048 // =========================================================================== 00049 // method definitions 00050 // =========================================================================== 00051 GUIManipulator::GUIManipulator(GUIMainWindow& app, 00052 const std::string& name, 00053 int xpos, int ypos) 00054 : FXDialogBox(&app, name.c_str(), DECOR_CLOSE | DECOR_TITLE, xpos, ypos, 0, 0) {} 00055 00056 00057 GUIManipulator::~GUIManipulator() {} 00058 00059 00060 00061 /****************************************************************************/ 00062