diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-10-11 14:28:57 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-10-11 14:28:57 +0000 |
| commit | bdfd348bf0d4f59ffde2fbcc0965ac8a79cdf12c (patch) | |
| tree | 6c574beb8e11e906a9a6029b2f64fc5baab37326 /src/ui/dialog/livepatheffect-editor.h | |
| parent | noop: ui/widget/selected-style.cpp: Change a local var to be more const, to a... (diff) | |
| download | inkscape-bdfd348bf0d4f59ffde2fbcc0965ac8a79cdf12c.tar.gz inkscape-bdfd348bf0d4f59ffde2fbcc0965ac8a79cdf12c.zip | |
trivial: ui/widget/*, ui/dialog/*: svn propset svn:eol-style native *.h *.cpp.
(bzr r3883)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.h')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.h | 172 |
1 files changed, 86 insertions, 86 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.h b/src/ui/dialog/livepatheffect-editor.h index 30706553e..5a40cfd30 100644 --- a/src/ui/dialog/livepatheffect-editor.h +++ b/src/ui/dialog/livepatheffect-editor.h @@ -1,86 +1,86 @@ -/**
- * \brief LivePathEffect dialog
- *
- * Author:
- * Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
- *
- * Copyright (C) 2007 Author
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
-#define INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
-
-#include "dialog.h"
-#include "ui/widget/button.h"
-
-#include <gtkmm/label.h>
-#include <gtkmm/comboboxtext.h>
-#include <gtkmm/frame.h>
-#include "ui/widget/combo-enums.h"
-#include "live_effects/effect.h"
-
-class SPDesktop;
-
-namespace Inkscape {
-
-namespace UI {
-namespace Dialog {
-
-class LivePathEffectEditor : public Dialog {
-public:
- LivePathEffectEditor(Behavior::BehaviorFactory behavior_factory);
- virtual ~LivePathEffectEditor();
-
- static LivePathEffectEditor *create(Behavior::BehaviorFactory behavior_factory)
- { return new LivePathEffectEditor(behavior_factory); }
-
- 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);
-
- void showParams(LivePathEffect::Effect* effect);
- void showText(Glib::ustring const &str);
-
- // callback methods for buttons on grids page.
- void onApply();
- void onRemove();
-
- Inkscape::UI::Widget::ComboBoxEnum<LivePathEffect::EffectType> combo_effecttype;
- Inkscape::UI::Widget::Button button_apply;
- Inkscape::UI::Widget::Button button_remove;
- Gtk::Widget * effectwidget;
- Gtk::Label explain_label;
- Gtk::Frame effectapplication_frame;
- Gtk::Frame effectcontrol_frame;
- Gtk::HBox effectapplication_hbox;
- Gtk::VBox effectcontrol_vbox;
-
- SPDesktop * current_desktop;
-
- LivePathEffectEditor(LivePathEffectEditor const &d);
- LivePathEffectEditor& operator=(LivePathEffectEditor const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+/** + * \brief LivePathEffect dialog + * + * Author: + * Johan Engelen <j.b.c.engelen@ewi.utwente.nl> + * + * Copyright (C) 2007 Author + * + * Released under GNU GPL. Read the file 'COPYING' for more information. + */ + +#ifndef INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H +#define INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H + +#include "dialog.h" +#include "ui/widget/button.h" + +#include <gtkmm/label.h> +#include <gtkmm/comboboxtext.h> +#include <gtkmm/frame.h> +#include "ui/widget/combo-enums.h" +#include "live_effects/effect.h" + +class SPDesktop; + +namespace Inkscape { + +namespace UI { +namespace Dialog { + +class LivePathEffectEditor : public Dialog { +public: + LivePathEffectEditor(Behavior::BehaviorFactory behavior_factory); + virtual ~LivePathEffectEditor(); + + static LivePathEffectEditor *create(Behavior::BehaviorFactory behavior_factory) + { return new LivePathEffectEditor(behavior_factory); } + + 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); + + void showParams(LivePathEffect::Effect* effect); + void showText(Glib::ustring const &str); + + // callback methods for buttons on grids page. + void onApply(); + void onRemove(); + + Inkscape::UI::Widget::ComboBoxEnum<LivePathEffect::EffectType> combo_effecttype; + Inkscape::UI::Widget::Button button_apply; + Inkscape::UI::Widget::Button button_remove; + Gtk::Widget * effectwidget; + Gtk::Label explain_label; + Gtk::Frame effectapplication_frame; + Gtk::Frame effectcontrol_frame; + Gtk::HBox effectapplication_hbox; + Gtk::VBox effectcontrol_vbox; + + SPDesktop * current_desktop; + + LivePathEffectEditor(LivePathEffectEditor const &d); + LivePathEffectEditor& operator=(LivePathEffectEditor const &d); +}; + +} // namespace Dialog +} // namespace UI +} // namespace Inkscape + +#endif // INKSCAPE_UI_DIALOG_LIVE_PATH_EFFECT_H + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
