Skip to content
Snippets Groups Projects
Select Git revision
  • f1edb836a87bbaf5cad873f0f597560c9fb7ce84
  • master default protected
  • 67-multithreading-is-plattform-dependent
  • cmake_windows
  • v0.8.4
  • v0.8.3
  • v0.8.2
  • v0.8
  • v0.7
  • v0.6
  • v0.5-alpha
  • v0.4
12 results

SystemSettings.cpp

Blame
  • SystemSettings.cpp 9.88 KiB
    /**
     * @file SystemSettings.cpp
     * @author   Ulrich Kemloh <kemlohulrich@gmail.com>
     * @version 0.1
     * Copyright (C) <2009-2010>
     *
     * @section LICENSE
     * This file is part of OpenPedSim.
     *
     * OpenPedSim is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * any later version.
     *
     * OpenPedSim is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with OpenPedSim. If not, see <http://www.gnu.org/licenses/>.
     *
     * @section DESCRIPTION
     *
     * \brief contains travisto global settings
     *
     *
     *
     *  Created on: 14.09.2009
     *
     */
    
    
    #include <QDir>
    #include <QColor>
    
    #include "SystemSettings.h"
    #include "Debug.h"
    #include "qdebug.h"
    #include "QDateTime"
    #include "IO/OutputHandler.h"
    #include "./forms/Settings.h"
    
    bool SystemSettings::showLegend=false;
    bool SystemSettings::pedColorProfileReadFromFile=true;
    bool SystemSettings::showAgentsCaptions=false;
    bool SystemSettings::is2D=false;
    bool SystemSettings::showAgents=true;
    bool SystemSettings::showGeometry=true;
    bool SystemSettings::showGeometryCaptions=true;
    bool SystemSettings::showFloor=true;
    bool SystemSettings::showWalls=true;
    bool SystemSettings::showExits=true;
    bool SystemSettings::showNavLines=true;
    bool SystemSettings::showTrajectories=false;
    
    unsigned short SystemSettings::port=8989;
    //double SystemSettings::bgColor[]= {1.0,1.0,1.0};
    QColor SystemSettings::bgColor = QColor(Qt::white);
    QColor SystemSettings::floorColor = QColor(0,0,255);
    QColor SystemSettings::wallsColor = QColor(180,180,180);//180.0/255,180.0/255.0,180.0/255.0
    QColor SystemSettings::exitsColor = QColor(175,175,255); //175.0/255,175.0/255.0,255.0/255.0
    QColor SystemSettings::navLinesColor = QColor(Qt::white);
    
    int SystemSettings::pedestriansColor[3][3]= {{255 , 17, 224},{122, 255, 122},{130, 130, 130}};
    int SystemSettings::pedesShape=Settings::PINGUINS;
    int SystemSettings::ellipseResolution=10;
    int SystemSettings::trailCount=50;
    int SystemSettings::trailingType=1;
    int SystemSettings::trailingGeometry=1;