![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
GUIVisualizationTextSettings (bool _show, double _size, RGBColor _color, RGBColor _bgColor=RGBColor(128, 0, 0, 0), bool _constSize=true) | |
constructor More... | |
bool | operator!= (const GUIVisualizationTextSettings &other) |
inequality comparator More... | |
bool | operator== (const GUIVisualizationTextSettings &other) |
equality comparator More... | |
void | print (OutputDevice &dev, const std::string &name) const |
print values in output device More... | |
double | scaledSize (double scale, double constFactor=0.1) const |
get scale size More... | |
Data Fields | |
RGBColor | bgColor |
background text color More... | |
RGBColor | color |
text color More... | |
bool | constSize |
@brif flag to avoid size changes More... | |
bool | show |
flag show More... | |
double | size |
text size More... | |
Definition at line 51 of file GUIVisualizationSettings.h.
GUIVisualizationTextSettings::GUIVisualizationTextSettings | ( | bool | _show, |
double | _size, | ||
RGBColor | _color, | ||
RGBColor | _bgColor = RGBColor(128, 0, 0, 0) , |
||
bool | _constSize = true |
||
) |
constructor
Definition at line 155 of file GUIVisualizationSettings.cpp.
bool GUIVisualizationTextSettings::operator!= | ( | const GUIVisualizationTextSettings & | other | ) |
bool GUIVisualizationTextSettings::operator== | ( | const GUIVisualizationTextSettings & | other | ) |
void GUIVisualizationTextSettings::print | ( | OutputDevice & | dev, |
const std::string & | name | ||
) | const |
print values in output device
Definition at line 185 of file GUIVisualizationSettings.cpp.
References bgColor, color, constSize, show, size, and OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
double GUIVisualizationTextSettings::scaledSize | ( | double | scale, |
double | constFactor = 0.1 |
||
) | const |
get scale size
Definition at line 195 of file GUIVisualizationSettings.cpp.
References constSize, and size.
Referenced by GNEEdge::drawEdgeName(), GNEEdge::drawGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GUIPerson::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUIEdge::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIBaseVehicle::drawOnPos(), and GLHelper::drawTextSettings().
RGBColor GUIVisualizationTextSettings::bgColor |
background text color
Definition at line 78 of file GUIVisualizationSettings.h.
Referenced by GLHelper::drawTextSettings(), GUIDialog_ViewSettings::NamePanel::NamePanel(), operator!=(), operator==(), GUISettingsHandler::parseTextSettings(), print(), and GUIDialog_ViewSettings::NamePanel::update().
RGBColor GUIVisualizationTextSettings::color |
text color
Definition at line 75 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::drawGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNELane::drawLinkNo(), GUILane::drawLinkNo(), GUIVehicle::drawRouteHelper(), GLHelper::drawTextSettings(), GNECrossing::drawTLSLinkNo(), GNELane::drawTLSLinkNo(), GUILane::drawTLSLinkNo(), GUIDialog_ViewSettings::NamePanel::NamePanel(), operator!=(), operator==(), GUISettingsHandler::parseTextSettings(), print(), and GUIDialog_ViewSettings::NamePanel::update().
bool GUIVisualizationTextSettings::constSize |
@brif flag to avoid size changes
Definition at line 81 of file GUIVisualizationSettings.h.
Referenced by GUIDialog_ViewSettings::NamePanel::NamePanel(), operator!=(), operator==(), GUISettingsHandler::parseTextSettings(), print(), scaledSize(), and GUIDialog_ViewSettings::NamePanel::update().
bool GUIVisualizationTextSettings::show |
flag show
Definition at line 69 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::drawEdgeName(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNECrossing::drawGL(), GUIPerson::drawGL(), GUIJunctionWrapper::drawGL(), GUIChargingStation::drawGL(), GUIBusStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIGlObject::drawName(), GUIBaseVehicle::drawOnPos(), GUIDialog_ViewSettings::NamePanel::NamePanel(), operator!=(), operator==(), GUISettingsHandler::parseTextSettings(), print(), GUISUMOAbstractView::showToolTipFor(), and GUIDialog_ViewSettings::NamePanel::update().
double GUIVisualizationTextSettings::size |
text size
Definition at line 72 of file GUIVisualizationSettings.h.
Referenced by GUIVehicle::drawAction_drawLinkItems(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GNELane::drawLinkNo(), GUILane::drawLinkNo(), GUIVehicle::drawRouteHelper(), GNECrossing::drawTLSLinkNo(), GNELane::drawTLSLinkNo(), GUILane::drawTLSLinkNo(), GUIDialog_ViewSettings::NamePanel::NamePanel(), operator!=(), operator==(), GUISettingsHandler::parseTextSettings(), print(), scaledSize(), and GUIDialog_ViewSettings::NamePanel::update().