SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUIDialog_ViewSettings Class Reference

The dialog to change the view (gui) settings. More...

#include <GUIDialog_ViewSettings.h>

Inheritance diagram for GUIDialog_ViewSettings:
FXDialogBox

Data Structures

class  NamePanel
 

Public Member Functions

std::string getCurrentScheme () const
 Returns the name of the currently chosen scheme. More...
 
 GUIDialog_ViewSettings (GUISUMOAbstractView *parent, GUIVisualizationSettings *settings, std::vector< GUISUMOAbstractView::Decal > *decals, MFXMutex *decalsLock)
 Constructor. More...
 
void setCurrent (GUIVisualizationSettings *settings)
 Sets current settings (called if reopened) More...
 
void setCurrentScheme (const std::string &)
 Sets the named scheme as the current. More...
 
 ~GUIDialog_ViewSettings ()
 Destructor. More...
 
FOX-callbacks
long onCmdOk (FXObject *, FXSelector, void *)
 Called if the OK-button was pressed. More...
 
long onCmdCancel (FXObject *, FXSelector, void *)
 Called if the Cancel-button was pressed. More...
 
long onCmdColorChange (FXObject *, FXSelector, void *)
 Called if something (color, width, etc.) has been changed. More...
 
long onCmdEditTable (FXObject *, FXSelector, void *data)
 Called if the decals-table was changed. More...
 
long onCmdNameChange (FXObject *, FXSelector, void *)
 Called if the name of the scheme was changed. More...
 
long onCmdSaveSetting (FXObject *, FXSelector, void *data)
 Called if the settings shall be saved into the registry. More...
 
long onUpdSaveSetting (FXObject *, FXSelector, void *data)
 Called when updating the button that allows to save the settings into the registry. More...
 
long onCmdDeleteSetting (FXObject *, FXSelector, void *data)
 Called if the settings shall be deleted. More...
 
long onUpdDeleteSetting (FXObject *, FXSelector, void *data)
 Called when updating the button that allows to delete settings. More...
 
long onCmdExportSetting (FXObject *, FXSelector, void *data)
 Called if the settings shall be exported into a file. More...
 
long onUpdExportSetting (FXObject *, FXSelector, void *data)
 Called when updating the button that allows to export settings into a file. More...
 
long onCmdImportSetting (FXObject *, FXSelector, void *data)
 Called if the settings shall be read from a file. More...
 
long onUpdImportSetting (FXObject *, FXSelector, void *data)
 Called when updating the button that allows to read settings from a file. More...
 
long onCmdLoadDecals (FXObject *, FXSelector, void *data)
 Called if the decals shall be loaded from a file. More...
 
long onCmdSaveDecals (FXObject *, FXSelector, void *data)
 Called if the decals shall be saved to a file. More...
 

Static Public Member Functions

static RGBColor convert (const FXColor c)
 Converts a FOX-color into a RGBColor. More...
 
static FXColor convert (const RGBColor &c)
 Converts a RGBColor into a FOX-color. More...
 

Protected Member Functions

 GUIDialog_ViewSettings ()
 Default constructor (needed by FOX) More...
 
void loadDecals (const std::string &file)
 Loads decals from a file. More...
 
void loadSettings (const std::string &file)
 Loads a scheme from a file. More...
 
void rebuildColorMatrices (bool doCreate=false)
 Rebuilds color changing dialogs after choosing another coloring scheme. More...
 
void rebuildList ()
 Rebuilds the decals table. More...
 
void saveDecals (const std::string &file) const
 Writes the currently used decals into a file. More...
 

Private Member Functions

 GUIDialog_ViewSettings (const GUIDialog_ViewSettings &s)
 invalidated copy constructor More...
 
GUIDialog_ViewSettingsoperator= (const GUIDialog_ViewSettings &s)
 invalidated assignment operator More...
 

Private Attributes

GUIVisualizationSettings myBackup
 A backup of the settings (used if the "Cancel" button is pressed) More...
 
std::vector
< GUISUMOAbstractView::Decal > * 
myDecals
 The parent's decals. More...
 
MFXMutexmyDecalsLock
 Lock used when changing the decals. More...
 
GUISUMOAbstractViewmyParent
 The parent view (which settings are changed) More...
 
GUIVisualizationSettingsmySettings
 The current settings. More...
 
Dialog elements
FXComboBox * mySchemeName
 
FXCheckButton * myShowGrid
 
FXRealSpinDial * myGridXSizeDialer
 
FXRealSpinDial * myGridYSizeDialer
 
FXColorWell * myBackgroundColor
 
FXVerticalFrame * myDecalsFrame
 
MFXAddEditTypedTablemyDecalsTable
 
FXComboBox * myLaneEdgeColorMode
 
FXVerticalFrame * myLaneColorSettingFrame
 
std::vector< FXColorWell * > myLaneColors
 
std::vector< FXRealSpinDial * > myLaneThresholds
 
std::vector< FXButton * > myLaneButtons
 
FXCheckButton * myLaneColorInterpolation
 
FXCheckButton * myShowLaneBorders
 
FXCheckButton * myShowLaneDecals
 
FXCheckButton * myShowRails
 
FXCheckButton * myHideMacroConnectors
 
FXRealSpinDial * myLaneWidthUpscaleDialer
 
FXComboBox * myVehicleColorMode
 
FXComboBox * myVehicleShapeDetail
 
FXVerticalFrame * myVehicleColorSettingFrame
 
std::vector< FXColorWell * > myVehicleColors
 
std::vector< FXRealSpinDial * > myVehicleThresholds
 
std::vector< FXButton * > myVehicleButtons
 
FXCheckButton * myVehicleColorInterpolation
 
FXRealSpinDial * myVehicleMinSizeDialer
 
FXRealSpinDial * myVehicleUpscaleDialer
 
FXCheckButton * myShowBlinker
 
FXCheckButton * myShowMinGap
 
FXCheckButton * myShowTLIndex
 
FXCheckButton * myShowJunctionIndex
 
FXRealSpinDial * myDetectorMinSizeDialer
 
FXRealSpinDial * myDetectorUpscaleDialer
 
FXRealSpinDial * myPOIMinSizeDialer
 
FXRealSpinDial * myPOIUpscaleDialer
 
FXCheckButton * myShowLane2Lane
 
FXCheckButton * myAntialiase
 
FXCheckButton * myDither
 
FXCheckButton * myShowSizeLegend
 
NamePanelmyEdgeNamePanel
 
NamePanelmyInternalEdgeNamePanel
 
NamePanelmyStreetNamePanel
 
NamePanelmyJunctionNamePanel
 
NamePanelmyInternalJunctionNamePanel
 
NamePanelmyVehicleNamePanel
 
NamePanelmyAddNamePanel
 
NamePanelmyPoiNamePanel
 

Static Private Attributes

static unsigned int myCustomSchemes = 0
 the number of newly created custom schemes More...
 

Detailed Description

The dialog to change the view (gui) settings.

Todo:
Check whether saving/loading settings should be done via XML

Definition at line 56 of file GUIDialog_ViewSettings.h.

Constructor & Destructor Documentation

GUIDialog_ViewSettings::GUIDialog_ViewSettings ( GUISUMOAbstractView parent,
GUIVisualizationSettings settings,
std::vector< GUISUMOAbstractView::Decal > *  decals,
MFXMutex decalsLock 
)

Constructor.

Parameters
[in]parentThe view to report changed settings to
[in,out]settingsThe current settings that can be changed
[in]laneEdgeModeSourceClass storing known lane coloring schemes
[in]vehicleModeSourceClass storing known vehicle coloring schemes
[in]decalsDecals used
[in]decalsLockA lock to set if the decals are changed

Definition at line 93 of file GUIDialog_ViewSettings.cpp.

References convert(), GUIIconSubSys::getIcon(), GUICompleteSchemeStorage::getNames(), gSchemeStorage, ICON_EMPTY, ICON_OPEN_CONFIG, ICON_REMOVEDB, ICON_SAVE, ICON_SAVEDB, MID_SETTINGS_CANCEL, MID_SETTINGS_OK, MID_SIMPLE_VIEW_COLORCHANGE, MID_SIMPLE_VIEW_DELETE, MID_SIMPLE_VIEW_EXPORT, MID_SIMPLE_VIEW_IMPORT, MID_SIMPLE_VIEW_LOAD_DECALS, MID_SIMPLE_VIEW_NAMECHANGE, MID_SIMPLE_VIEW_SAVE, and MID_SIMPLE_VIEW_SAVE_DECALS.

GUIDialog_ViewSettings::GUIDialog_ViewSettings ( )
inlineprotected

Default constructor (needed by FOX)

Definition at line 269 of file GUIDialog_ViewSettings.h.

GUIDialog_ViewSettings::GUIDialog_ViewSettings ( const GUIDialog_ViewSettings s)
private

invalidated copy constructor

Member Function Documentation

RGBColor GUIDialog_ViewSettings::convert ( const FXColor  c)
static

Converts a FOX-color into a RGBColor.

Parameters
[in]cThe color to convert
Returns
The converted color

Definition at line 979 of file GUIDialog_ViewSettings.cpp.

References SUMOReal.

Referenced by GUIDialog_ViewSettings::NamePanel::getSettings(), GUIDialog_ViewSettings::NamePanel::NamePanel(), onCmdColorChange(), onCmdNameChange(), rebuildColorMatrices(), and GUIDialog_ViewSettings::NamePanel::update().

FXColor GUIDialog_ViewSettings::convert ( const RGBColor c)
static

Converts a RGBColor into a FOX-color.

Parameters
[in]cThe color to convert
Returns
The converted color

Definition at line 988 of file GUIDialog_ViewSettings.cpp.

References RGBColor::blue(), RGBColor::green(), and RGBColor::red().

std::string GUIDialog_ViewSettings::getCurrentScheme ( ) const

Returns the name of the currently chosen scheme.

Returns
The name of the edited (chosen) scheme)

Definition at line 1270 of file GUIDialog_ViewSettings.cpp.

References mySchemeName.

Referenced by GUIViewTraffic::setColorScheme().

void GUIDialog_ViewSettings::loadDecals ( const std::string &  file)
protected

Loads decals from a file.

Parameters
[in]fileThe name of the file to read the decals from

Definition at line 794 of file GUIDialog_ViewSettings.cpp.

References GUISettingsHandler::getDecals(), GUISettingsHandler::hasDecals(), MFXMutex::lock(), myDecalsLock, myParent, rebuildList(), and MFXMutex::unlock().

Referenced by onCmdLoadDecals().

void GUIDialog_ViewSettings::loadSettings ( const std::string &  file)
protected

Loads a scheme from a file.

Parameters
[in]fileThe name of the file to read the settings from

Definition at line 757 of file GUIDialog_ViewSettings.cpp.

References GUISettingsHandler::addSettings(), GUICompleteSchemeStorage::get(), gSchemeStorage, myParent, mySchemeName, and mySettings.

Referenced by onCmdImportSetting().

long GUIDialog_ViewSettings::onCmdCancel ( FXObject ,
FXSelector  ,
void *   
)

Called if the Cancel-button was pressed.

Definition at line 478 of file GUIDialog_ViewSettings.cpp.

References myBackup.

long GUIDialog_ViewSettings::onCmdColorChange ( FXObject sender,
FXSelector  ,
void *   
)

Called if something (color, width, etc.) has been changed.

Definition at line 551 of file GUIDialog_ViewSettings.cpp.

References GUICompleteSchemeStorage::add(), GUIColorScheme::addColor(), GUIVisualizationSettings::addExaggeration, GUIVisualizationSettings::addName, GUIVisualizationSettings::antialiase, GUIVisualizationSettings::backgroundColor, convert(), GUIVisualizationSettings::dither, GUIVisualizationSettings::drawLinkJunctionIndex, GUIVisualizationSettings::drawLinkTLIndex, GUIVisualizationSettings::drawMinGap, GUIVisualizationSettings::edgeName, GUICompleteSchemeStorage::get(), GUIColorer::getActive(), GUISUMOAbstractView::getColoringSchemesCombo(), GUIVisualizationSettings::getLaneEdgeMode(), GUIVisualizationSettings::getLaneEdgeScheme(), GUICompleteSchemeStorage::getNumInitialSettings(), GUIColorer::getScheme(), GUIDialog_ViewSettings::NamePanel::getSettings(), GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, gSchemeStorage, GUIVisualizationSettings::hideConnectors, GUIVisualizationSettings::internalEdgeName, GUIVisualizationSettings::internalJunctionName, GUIColorScheme::isFixed(), GUIVisualizationSettings::junctionName, GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneShowBorders, GUIVisualizationSettings::laneWidthExaggeration, GUIVisualizationSettings::minAddSize, GUIVisualizationSettings::minPOISize, GUIVisualizationSettings::minVehicleSize, myAddNamePanel, myAntialiase, myBackgroundColor, myCustomSchemes, myDetectorMinSizeDialer, myDetectorUpscaleDialer, myDither, myEdgeNamePanel, myGridXSizeDialer, myGridYSizeDialer, myHideMacroConnectors, myInternalEdgeNamePanel, myInternalJunctionNamePanel, myJunctionNamePanel, myLaneButtons, myLaneColorInterpolation, myLaneColors, myLaneEdgeColorMode, myLaneThresholds, myLaneWidthUpscaleDialer, myParent, myPOIMinSizeDialer, myPoiNamePanel, myPOIUpscaleDialer, mySchemeName, mySettings, myShowBlinker, myShowGrid, myShowJunctionIndex, myShowLane2Lane, myShowLaneBorders, myShowLaneDecals, myShowMinGap, myShowRails, myShowSizeLegend, myShowTLIndex, myStreetNamePanel, myVehicleButtons, myVehicleColorInterpolation, myVehicleColorMode, myVehicleColors, myVehicleMinSizeDialer, myVehicleNamePanel, myVehicleShapeDetail, myVehicleThresholds, myVehicleUpscaleDialer, GUIVisualizationSettings::name, GUIVisualizationSettings::poiExaggeration, GUIVisualizationSettings::poiName, rebuildColorMatrices(), GUIColorScheme::removeColor(), GUIColorer::setActive(), GUIColorScheme::setColor(), GUISUMOAbstractView::setColorScheme(), GUIColorScheme::setInterpolated(), GUIColorScheme::setThreshold(), GUIVisualizationSettings::showBlinker, GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showLane2Lane, GUIVisualizationSettings::showLinkDecals, GUIVisualizationSettings::showRails, GUIVisualizationSettings::showSizeLegend, GUIVisualizationSettings::streetName, SUMOReal, toString(), GUIVisualizationSettings::vehicleColorer, GUIVisualizationSettings::vehicleExaggeration, GUIVisualizationSettings::vehicleName, and GUIVisualizationSettings::vehicleQuality.

long GUIDialog_ViewSettings::onCmdDeleteSetting ( FXObject ,
FXSelector  ,
void *  data 
)
long GUIDialog_ViewSettings::onCmdExportSetting ( FXObject ,
FXSelector  ,
void *  data 
)
long GUIDialog_ViewSettings::onCmdImportSetting ( FXObject ,
FXSelector  ,
void *  data 
)

Called if the settings shall be read from a file.

Definition at line 919 of file GUIDialog_ViewSettings.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, and loadSettings().

long GUIDialog_ViewSettings::onCmdLoadDecals ( FXObject ,
FXSelector  ,
void *  data 
)

Called if the decals shall be loaded from a file.

Definition at line 936 of file GUIDialog_ViewSettings.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, and loadDecals().

long GUIDialog_ViewSettings::onCmdNameChange ( FXObject ,
FXSelector  ,
void *  data 
)

Called if the name of the scheme was changed.

Definition at line 486 of file GUIDialog_ViewSettings.cpp.

References GUIVisualizationSettings::addExaggeration, GUIVisualizationSettings::addName, GUIVisualizationSettings::antialiase, GUIVisualizationSettings::backgroundColor, convert(), GUIVisualizationSettings::dither, GUIVisualizationSettings::drawLinkJunctionIndex, GUIVisualizationSettings::drawLinkTLIndex, GUIVisualizationSettings::drawMinGap, GUIVisualizationSettings::edgeName, GUICompleteSchemeStorage::get(), GUIColorer::getActive(), GUIVisualizationSettings::getLaneEdgeMode(), gSchemeStorage, GUIVisualizationSettings::hideConnectors, GUIVisualizationSettings::internalEdgeName, GUIVisualizationSettings::internalJunctionName, GUIVisualizationSettings::junctionName, GUIVisualizationSettings::laneShowBorders, GUIVisualizationSettings::laneWidthExaggeration, GUIVisualizationSettings::minAddSize, GUIVisualizationSettings::minPOISize, GUIVisualizationSettings::minVehicleSize, myAddNamePanel, myAntialiase, myBackgroundColor, myBackup, myDetectorMinSizeDialer, myDetectorUpscaleDialer, myDither, myEdgeNamePanel, myHideMacroConnectors, myInternalEdgeNamePanel, myInternalJunctionNamePanel, myJunctionNamePanel, myLaneEdgeColorMode, myLaneWidthUpscaleDialer, myParent, myPOIMinSizeDialer, myPoiNamePanel, myPOIUpscaleDialer, mySchemeName, mySettings, myShowBlinker, myShowJunctionIndex, myShowLane2Lane, myShowLaneBorders, myShowLaneDecals, myShowMinGap, myShowRails, myShowSizeLegend, myShowTLIndex, myStreetNamePanel, myVehicleColorMode, myVehicleMinSizeDialer, myVehicleNamePanel, myVehicleShapeDetail, myVehicleUpscaleDialer, GUIVisualizationSettings::name, GUIVisualizationSettings::poiExaggeration, GUIVisualizationSettings::poiName, rebuildColorMatrices(), GUISUMOAbstractView::setColorScheme(), GUIVisualizationSettings::showBlinker, GUIVisualizationSettings::showLane2Lane, GUIVisualizationSettings::showLinkDecals, GUIVisualizationSettings::showRails, GUIVisualizationSettings::showSizeLegend, GUIVisualizationSettings::streetName, GUIDialog_ViewSettings::NamePanel::update(), GUIVisualizationSettings::vehicleColorer, GUIVisualizationSettings::vehicleExaggeration, GUIVisualizationSettings::vehicleName, and GUIVisualizationSettings::vehicleQuality.

Referenced by onCmdDeleteSetting(), setCurrent(), and setCurrentScheme().

long GUIDialog_ViewSettings::onCmdOk ( FXObject ,
FXSelector  ,
void *   
)

Called if the OK-button was pressed.

Definition at line 471 of file GUIDialog_ViewSettings.cpp.

long GUIDialog_ViewSettings::onCmdSaveDecals ( FXObject ,
FXSelector  ,
void *  data 
)

Called if the decals shall be saved to a file.

Definition at line 953 of file GUIDialog_ViewSettings.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, saveDecals(), and MFXUtils::userPermitsOverwritingWhenFileExists().

long GUIDialog_ViewSettings::onUpdDeleteSetting ( FXObject sender,
FXSelector  ,
void *  data 
)

Called when updating the button that allows to delete settings.

Definition at line 876 of file GUIDialog_ViewSettings.cpp.

References GUICompleteSchemeStorage::getNumInitialSettings(), gSchemeStorage, and mySchemeName.

long GUIDialog_ViewSettings::onUpdExportSetting ( FXObject sender,
FXSelector  ,
void *  data 
)

Called when updating the button that allows to export settings into a file.

Definition at line 909 of file GUIDialog_ViewSettings.cpp.

References GUICompleteSchemeStorage::getNumInitialSettings(), gSchemeStorage, and mySchemeName.

long GUIDialog_ViewSettings::onUpdImportSetting ( FXObject sender,
FXSelector  ,
void *  data 
)

Called when updating the button that allows to read settings from a file.

Definition at line 972 of file GUIDialog_ViewSettings.cpp.

long GUIDialog_ViewSettings::onUpdSaveSetting ( FXObject sender,
FXSelector  ,
void *  data 
)

Called when updating the button that allows to save the settings into the registry.

Definition at line 851 of file GUIDialog_ViewSettings.cpp.

References GUICompleteSchemeStorage::getNumInitialSettings(), gSchemeStorage, and mySchemeName.

GUIDialog_ViewSettings& GUIDialog_ViewSettings::operator= ( const GUIDialog_ViewSettings s)
private

invalidated assignment operator

void GUIDialog_ViewSettings::saveDecals ( const std::string &  file) const
protected
void GUIDialog_ViewSettings::setCurrent ( GUIVisualizationSettings settings)

Sets current settings (called if reopened)

Parameters
[in,out]settingsThe current settings that can be changed

Definition at line 463 of file GUIDialog_ViewSettings.cpp.

References myBackup, mySettings, and onCmdNameChange().

Referenced by GUIViewTraffic::showViewschemeEditor().

void GUIDialog_ViewSettings::setCurrentScheme ( const std::string &  name)

Sets the named scheme as the current.

Parameters
[in]Thename of the scheme that shall be set as current

Definition at line 1276 of file GUIDialog_ViewSettings.cpp.

References mySchemeName, and onCmdNameChange().

Referenced by GUIViewTraffic::setColorScheme().

Field Documentation

NamePanel * GUIDialog_ViewSettings::myAddNamePanel
private
FXCheckButton* GUIDialog_ViewSettings::myAntialiase
private

Definition at line 257 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXColorWell* GUIDialog_ViewSettings::myBackgroundColor
private

Definition at line 227 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

GUIVisualizationSettings GUIDialog_ViewSettings::myBackup
private

A backup of the settings (used if the "Cancel" button is pressed)

Definition at line 213 of file GUIDialog_ViewSettings.h.

Referenced by onCmdCancel(), onCmdNameChange(), onCmdSaveSetting(), and setCurrent().

unsigned int GUIDialog_ViewSettings::myCustomSchemes = 0
staticprivate

the number of newly created custom schemes

Definition at line 204 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange().

std::vector<GUISUMOAbstractView::Decal>* GUIDialog_ViewSettings::myDecals
private

The parent's decals.

Definition at line 216 of file GUIDialog_ViewSettings.h.

Referenced by onCmdEditTable(), rebuildList(), and saveDecals().

FXVerticalFrame* GUIDialog_ViewSettings::myDecalsFrame
private

Definition at line 228 of file GUIDialog_ViewSettings.h.

Referenced by rebuildColorMatrices().

MFXMutex* GUIDialog_ViewSettings::myDecalsLock
private

Lock used when changing the decals.

Definition at line 219 of file GUIDialog_ViewSettings.h.

Referenced by loadDecals(), and onCmdEditTable().

MFXAddEditTypedTable* GUIDialog_ViewSettings::myDecalsTable
private

Definition at line 229 of file GUIDialog_ViewSettings.h.

Referenced by rebuildColorMatrices(), and rebuildList().

FXRealSpinDial* GUIDialog_ViewSettings::myDetectorMinSizeDialer
private

Definition at line 253 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXRealSpinDial * GUIDialog_ViewSettings::myDetectorUpscaleDialer
private

Definition at line 253 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myDither
private

Definition at line 258 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

NamePanel* GUIDialog_ViewSettings::myEdgeNamePanel
private
FXRealSpinDial* GUIDialog_ViewSettings::myGridXSizeDialer
private

Definition at line 225 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange().

FXRealSpinDial * GUIDialog_ViewSettings::myGridYSizeDialer
private

Definition at line 225 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange().

FXCheckButton * GUIDialog_ViewSettings::myHideMacroConnectors
private

Definition at line 238 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

NamePanel * GUIDialog_ViewSettings::myInternalEdgeNamePanel
private
NamePanel * GUIDialog_ViewSettings::myInternalJunctionNamePanel
private
NamePanel * GUIDialog_ViewSettings::myJunctionNamePanel
private
std::vector<FXButton*> GUIDialog_ViewSettings::myLaneButtons
private

Definition at line 235 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXCheckButton* GUIDialog_ViewSettings::myLaneColorInterpolation
private

Definition at line 236 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

std::vector<FXColorWell*> GUIDialog_ViewSettings::myLaneColors
private

Definition at line 233 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXVerticalFrame* GUIDialog_ViewSettings::myLaneColorSettingFrame
private

Definition at line 232 of file GUIDialog_ViewSettings.h.

Referenced by rebuildColorMatrices().

FXComboBox* GUIDialog_ViewSettings::myLaneEdgeColorMode
private

Definition at line 231 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

std::vector<FXRealSpinDial*> GUIDialog_ViewSettings::myLaneThresholds
private

Definition at line 234 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXRealSpinDial* GUIDialog_ViewSettings::myLaneWidthUpscaleDialer
private

Definition at line 240 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

GUISUMOAbstractView* GUIDialog_ViewSettings::myParent
private

The parent view (which settings are changed)

Definition at line 207 of file GUIDialog_ViewSettings.h.

Referenced by loadDecals(), loadSettings(), onCmdColorChange(), onCmdEditTable(), onCmdNameChange(), onCmdSaveSetting(), saveDecals(), and ~GUIDialog_ViewSettings().

FXRealSpinDial* GUIDialog_ViewSettings::myPOIMinSizeDialer
private

Definition at line 254 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

NamePanel * GUIDialog_ViewSettings::myPoiNamePanel
private
FXRealSpinDial * GUIDialog_ViewSettings::myPOIUpscaleDialer
private

Definition at line 254 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

GUIVisualizationSettings* GUIDialog_ViewSettings::mySettings
private
FXCheckButton* GUIDialog_ViewSettings::myShowBlinker
private

Definition at line 249 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myShowGrid
private

Definition at line 224 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange().

FXCheckButton * GUIDialog_ViewSettings::myShowJunctionIndex
private

Definition at line 251 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myShowLane2Lane
private

Definition at line 256 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myShowLaneBorders
private

Definition at line 238 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton * GUIDialog_ViewSettings::myShowLaneDecals
private

Definition at line 238 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton * GUIDialog_ViewSettings::myShowMinGap
private

Definition at line 249 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton * GUIDialog_ViewSettings::myShowRails
private

Definition at line 238 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myShowSizeLegend
private

Definition at line 259 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

FXCheckButton* GUIDialog_ViewSettings::myShowTLIndex
private

Definition at line 251 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

NamePanel * GUIDialog_ViewSettings::myStreetNamePanel
private
std::vector<FXButton*> GUIDialog_ViewSettings::myVehicleButtons
private

Definition at line 246 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXCheckButton* GUIDialog_ViewSettings::myVehicleColorInterpolation
private

Definition at line 247 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXComboBox* GUIDialog_ViewSettings::myVehicleColorMode
private

Definition at line 242 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

std::vector<FXColorWell*> GUIDialog_ViewSettings::myVehicleColors
private

Definition at line 244 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXVerticalFrame* GUIDialog_ViewSettings::myVehicleColorSettingFrame
private

Definition at line 243 of file GUIDialog_ViewSettings.h.

Referenced by rebuildColorMatrices().

FXRealSpinDial* GUIDialog_ViewSettings::myVehicleMinSizeDialer
private

Definition at line 248 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

NamePanel * GUIDialog_ViewSettings::myVehicleNamePanel
private
FXComboBox * GUIDialog_ViewSettings::myVehicleShapeDetail
private

Definition at line 242 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().

std::vector<FXRealSpinDial*> GUIDialog_ViewSettings::myVehicleThresholds
private

Definition at line 245 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and rebuildColorMatrices().

FXRealSpinDial * GUIDialog_ViewSettings::myVehicleUpscaleDialer
private

Definition at line 248 of file GUIDialog_ViewSettings.h.

Referenced by onCmdColorChange(), and onCmdNameChange().


The documentation for this class was generated from the following files: