index f754cde1b1c491c3181d8595a5fc3f4d6679ebeb..2df0b993727c5ae31adefc0fd04e3203822314a0 100644 (file)
//#include <glibmm/i18n.h>
#include "ui/widget/color-picker.h"
+#include "ui/widget/unit-menu.h"
namespace Inkscape {
namespace UI {
virtual void on_changed (guint32 rgba);
};
+class PrefUnit : public UnitMenu
+{
+public:
+ void init(const std::string& prefs_path, const std::string& attr);
+protected:
+ std::string _prefs_path;
+ std::string _attr;
+ void on_changed();
+};
class DialogPage : public Gtk::Table
{