Remove all occurences of the old Widget_ColorEdit.
[synfig.git] / synfig-studio / src / gtkmm / dialog_color.h
index ee350cf..80c6fad 100644 (file)
 /* === H E A D E R S ======================================================= */
 
 #include <gtk/gtk.h>
+#include <gtkmm/colorselection.h>
 #include <gtkmm/dialog.h>
 #include <gtkmm/tooltips.h>
 #include <sigc++/functors/slot.h>
 
-#include "widget_coloredit.h"
+#include <synfig/color.h>
+
 #include "dialogsettings.h"
 
 /* === M A C R O S ========================================================= */
@@ -50,7 +52,7 @@ class Dialog_Color : public Gtk::Dialog
        DialogSettings dialog_settings;
        Gtk::Tooltips tooltips;
 
-       Widget_ColorEdit* color_edit_widget;
+       Gtk::ColorSelection* color_edit_widget;
 
        sigc::signal<void,synfig::Color> signal_edited_;
 
@@ -73,8 +75,8 @@ public:
 
        sigc::signal<void,synfig::Color>& signal_edited() { return signal_edited_; }
 
-       void set_color(const synfig::Color& x) { color_edit_widget->set_value(x); }
-       synfig::Color get_color() const { return color_edit_widget->get_value(); }
+       void set_color(const synfig::Color& x);
+       synfig::Color get_color() const;
        void reset();
 
        bool busy() const { return busy_; }