59 void fill(FXComboBox& cb) {
60 for (std::vector<GUIColorScheme>::iterator i =
mySchemes.begin(); i !=
mySchemes.end(); ++i) {
61 cb.appendItem((*i).getName().c_str());
85 for (std::vector<GUIColorScheme>::iterator i =
mySchemes.begin(); i !=
mySchemes.end(); ++i) {
86 if ((*i).getName() == name) {
94 for (std::vector<GUIColorScheme>::const_iterator i =
mySchemes.begin(); i !=
mySchemes.end(); ++i) {
GUIColorScheme * getSchemeByName(std::string name)
void addScheme(GUIColorScheme scheme)
bool operator==(const GUIColorer &c) const
void setActive(size_t scheme)
GUIColorScheme & getScheme()
Base class for coloring. Allows changing the used colors and sets the used color in dependence to a v...
virtual ~GUIColorer()
Destructor.
std::vector< GUIColorScheme > mySchemes
Static storage of an output device and its base (abstract) implementation.
const GUIColorScheme & getScheme() const
void fill(FXComboBox &cb)
Fills the given combobox with the names of available colorings.
void save(OutputDevice &dev) const