]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPreferences.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormPreferences.h
index c9f452cc77958f7941c4cbd6480395f97407757e..928f826f0e426ba9e1dacba0b88fd8459ce0df73 100644 (file)
@@ -149,6 +149,12 @@ private:
 
        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) {}
                ///
@@ -175,33 +181,22 @@ private:
                ///
                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;