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