 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUIPropertySchemeStorage_h
20 #define GUIPropertySchemeStorage_h
92 for (
typename std::vector<T>::iterator i =
mySchemes.begin(); i !=
mySchemes.end(); ++i) {
93 if ((*i).getName() == name) {
101 for (
int i = 0; i < (int)
mySchemes.size(); i++) {
110 for (
typename std::vector<T>::const_iterator i =
mySchemes.begin(); i !=
mySchemes.end(); ++i) {
T * getSchemeByName(std::string name)
void setSchemeByName(std::string name)
Static storage of an output device and its base (abstract) implementation.
bool operator==(const GUIPropertySchemeStorage &c) const
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
GUIPropertySchemeStorage()
Constructor.
void save(OutputDevice &dev) const
GUIPropertySchemeStorage< GUIScaleScheme > GUIScaler
GUIPropertySchemeStorage< GUIColorScheme > GUIColorer
void fill(MFXIconComboBox &cb)
Fills the given combobox with the names of available colorings.
virtual ~GUIPropertySchemeStorage()
Destructor.
FXint appendIconItem(const FXString &text, FXIcon *icon, FXColor bgColor=FXRGBA(0, 0, 0, 0), void *ptr=NULL)
std::vector< T > mySchemes
const T & getScheme() const
static FXColor getFXColor(const RGBColor &col)
converts FXColor to RGBColor
void setActive(int scheme)
const std::vector< T > & getSchemes() const
Base class for coloring. Allows changing the used colors and sets the used color in dependence to a v...