SUMO - Simulation of Urban MObility
GUITexturesHelper.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // Global storage for textures; manages and draws them
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 #ifndef GUITexturesHelper_h
00022 #define GUITexturesHelper_h
00023 
00024 
00025 // ===========================================================================
00026 // included modules
00027 // ===========================================================================
00028 #ifdef _MSC_VER
00029 #include <windows_config.h>
00030 #else
00031 #include <config.h>
00032 #endif
00033 
00034 #include <fx.h>
00035 
00036 
00037 // ===========================================================================
00038 // variable declarations
00039 // ===========================================================================
00041 extern bool gAllowTextures;
00042 
00043 
00044 // ===========================================================================
00045 // class definitions
00046 // ===========================================================================
00051 class GUITexturesHelper {
00052 public:
00054     static void drawTexturedBox(unsigned int which, SUMOReal size);
00055 
00057     static void drawTexturedBox(unsigned int which,
00058                                 SUMOReal sizeX1, SUMOReal sizeY1, SUMOReal sizeX2, SUMOReal sizeY2);
00059 
00061     static unsigned int add(FXImage* i);
00062 
00063 };
00064 
00065 
00066 #endif
00067 
00068 /****************************************************************************/
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines