X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fwidgets%2Fdash-selector.h;h=25417285a6ff440a16cb0c169d400fb07306c3e8;hb=e9b6af083e34e2397a8ddbe9781920733d09d151;hp=97e0b7379235bdeff207e2b10c455108a566d13b;hpb=90a3966dd44e306d23febc15ebd65cde07d7a4dd;p=inkscape.git diff --git a/src/widgets/dash-selector.h b/src/widgets/dash-selector.h index 97e0b7379..25417285a 100644 --- a/src/widgets/dash-selector.h +++ b/src/widgets/dash-selector.h @@ -1,10 +1,10 @@ #ifndef __SP_DASH_SELECTOR_NEW_H__ #define __SP_DASH_SELECTOR_NEW_H__ -/* - * Optionmenu for selecting dash patterns - * - * Author: +/** @file + * @brief Option menu for selecting dash patterns + */ +/* Authors: * Lauris Kaplinski * Maximilian Albert (gtkmm-ification) * @@ -13,8 +13,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "xml/repr.h" - +#include #include #include @@ -28,7 +27,7 @@ class Adjustment; // TODO: should we rather derive this from OptionMenu and add the spinbutton somehow else? class SPDashSelector : public Gtk::HBox { public: - SPDashSelector(Inkscape::XML::Node *drepr); + SPDashSelector(); ~SPDashSelector(); void set_dash(int ndash, double *dash, double offset); @@ -37,13 +36,15 @@ public: sigc::signal changed_signal; private: - static void init_dashes(Inkscape::XML::Node *drepr); + static void init_dashes(); void dash_activate(Gtk::MenuItem *mi); void offset_value_changed(); Gtk::MenuItem *menu_item_new(double *pattern); Gtk::OptionMenu *dash; Gtk::Adjustment *offset; + + static gchar const *const _prefs_path; }; #endif