X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Flivepatheffect-editor.h;h=dc96fc313761230f75efc9eba01d5eb9b2d4ed6b;hb=ba885512446fff2803585a4aaec34e7742841f05;hp=5a40cfd307403fd2b5e6548a9fa45e770d9720b8;hpb=fd4b29a5cdef220804dfed85fec8acb5daceec5f;p=inkscape.git diff --git a/src/ui/dialog/livepatheffect-editor.h b/src/ui/dialog/livepatheffect-editor.h index 5a40cfd30..dc96fc313 100644 --- a/src/ui/dialog/livepatheffect-editor.h +++ b/src/ui/dialog/livepatheffect-editor.h @@ -12,12 +12,13 @@ #ifndef INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H #define INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H -#include "dialog.h" +#include "ui/widget/panel.h" #include "ui/widget/button.h" #include #include #include +#include #include "ui/widget/combo-enums.h" #include "live_effects/effect.h" @@ -28,20 +29,18 @@ namespace Inkscape { namespace UI { namespace Dialog { -class LivePathEffectEditor : public Dialog { +class LivePathEffectEditor : public UI::Widget::Panel { public: - LivePathEffectEditor(Behavior::BehaviorFactory behavior_factory); + LivePathEffectEditor(); virtual ~LivePathEffectEditor(); - static LivePathEffectEditor *create(Behavior::BehaviorFactory behavior_factory) - { return new LivePathEffectEditor(behavior_factory); } + static LivePathEffectEditor &getInstance() { return *new LivePathEffectEditor(); } void onSelectionChanged(Inkscape::Selection *sel); void setDesktop(SPDesktop *desktop); private: sigc::connection selection_changed_connection; - sigc::connection selection_modified_connection; void set_sensitize_all(bool sensitive); @@ -61,6 +60,7 @@ private: Gtk::Frame effectcontrol_frame; Gtk::HBox effectapplication_hbox; Gtk::VBox effectcontrol_vbox; + Gtk::Tooltips tooltips; SPDesktop * current_desktop;