/// Select/deselect filename suffix property.
void setFileNameSuffix(bool);
///
- RGBColor const & color() const;
- ///
- void setColor(RGBColor const &);
+ std::string const & color() const;
/**
- * Set color from a string "#rrggbb".
+ * Set color from a hexcolor string "#rrggbb" or a lyx color name.
* Use Color:background if the string is no valid color.
* This ensures compatibility with LyX 1.4.0 that had the symbolic
* color "none" that was displayed as Color:background.
///
bool filenameSuffix_;
///
- RGBColor color_;
+ std::string color_;
};
BranchList() : separator_(from_ascii("|")) {}
///
- bool empty() const { return list.empty(); }
+ docstring separator() const { return separator_; }
+
+ ///
+ bool empty() const { return list_.empty(); }
///
- void clear() { list.clear(); }
+ void clear() { list_.clear(); }
///
- const_iterator begin() const { return list.begin(); }
- const_iterator end() const { return list.end(); }
+ const_iterator begin() const { return list_.begin(); }
+ const_iterator end() const { return list_.end(); }
/** \returns the Branch with \c name. If not found, returns 0.
*/
private:
///
- List list;
+ List list_;
///
docstring separator_;
};