index 7138f464084f103c8c577bfd5e6e97ddb3adcd7c..2b92d204d5be640f609d3c6ffb668aac49351ca3 100644 (file)
public:
RegisteredCheckButton();
~RegisteredCheckButton();
- void init (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true);
+ void init (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true, Inkscape::XML::Node* repr_in=NULL);
void setActive (bool);
Gtk::ToggleButton *_button;
Registry *_wr;
Glib::ustring _key;
void on_toggled();
+ Inkscape::XML::Node *repr;
};
class RegisteredUnitMenu {
public:
RegisteredUnitMenu();
~RegisteredUnitMenu();
- void init (const Glib::ustring& label, const Glib::ustring& key, Registry& wr);
+ void init (const Glib::ustring& label, const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in=NULL);
void setUnit (const SPUnit*);
Gtk::Label *_label;
UnitMenu *_sel;
void on_changed();
Registry *_wr;
Glib::ustring _key;
+ Inkscape::XML::Node *repr;
};
class RegisteredScalarUnit {
const Glib::ustring& tip,
const Glib::ustring& key,
const RegisteredUnitMenu &rum,
- Registry& wr);
+ Registry& wr,
+ Inkscape::XML::Node* repr_in=NULL);
ScalarUnit* getSU();
void setValue (double);
Registry *_wr;
Glib::ustring _key;
void on_value_changed();
+ Inkscape::XML::Node *repr;
};
class RegisteredColorPicker {
const Glib::ustring& tip,
const Glib::ustring& ckey,
const Glib::ustring& akey,
- Registry& wr);
+ Registry& wr,
+ Inkscape::XML::Node* repr_in=NULL);
void setRgba32 (guint32);
void closeWindow();
Registry *_wr;
void on_changed (guint32);
sigc::connection _changed_connection;
+ Inkscape::XML::Node *repr;
};
class RegisteredSuffixedInteger {
void init (const Glib::ustring& label1,
const Glib::ustring& label2,
const Glib::ustring& key,
- Registry& wr);
+ Registry& wr,
+ Inkscape::XML::Node* repr_in=NULL);
void setValue (int);
Gtk::Label *_label;
Gtk::HBox _hbox;
Registry *_wr;
sigc::connection _changed_connection;
void on_value_changed();
+ Inkscape::XML::Node *repr;
};
class RegisteredRadioButtonPair {
const Glib::ustring& tip1,
const Glib::ustring& tip2,
const Glib::ustring& key,
- Registry& wr);
+ Registry& wr,
+ Inkscape::XML::Node* repr_in=NULL);
void setValue (bool second);
Gtk::HBox *_hbox;
Registry *_wr;
sigc::connection _changed_connection;
void on_value_changed();
+ Inkscape::XML::Node *repr;
};