class Colors {
public:
+ ///
+ enum GuiColors {
+ GUI_COLOR_CHOICE = FL_FREE_COL1,
+ GUI_COLOR_HUE_DIAL = FL_FREE_COL2,
+ GUI_COLOR_CURSOR = FL_FREE_COL3
+ };
///
Colors( FormPreferences & p ) : parent_(p), dialog_(0) {}
///
///
void InputBrowserLyX() const;
///
- void InputBrowserX11() const;
- ///
void InputHSV();
///
- void LoadBrowserLyX();
- ///
- bool LoadBrowserX11(string const &);
+ void InputRGB();
///
- bool LoadDatabase();
+ void LoadBrowserLyX();
///
void Modify();
///
- int SearchEntry(RGBColor const &) const;
- ///
- void Sort();
+ void SwitchColorSpace() const;
///
- void SortType();
+ string const X11hexname(RGBColor const &) const;
///
FormPreferences & parent_;
///
FD_form_colors * dialog_;
- /// The usual location of the X11 name database.
- static string const colorFile;
- /** A vector of RGB colors and associated name.
- Each RGB color is unique. */
- static std::vector<NamedColor> colorDB;
/// A vector of LyX LColor GUI name and associated RGB color.
std::vector<NamedColor> lyxColorDB;