diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-10-11 14:30:52 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-10-11 14:30:52 +0000 |
| commit | b7403d737c0549e540393bfe92160a5fc7b407a1 (patch) | |
| tree | 784c7cbfd26a14f67679376a700dce1d61262bb1 /src/live_effects/parameter/bool.h | |
| parent | trivial: ui/widget/*, ui/dialog/*: svn propset svn:eol-style native *.h *.cpp. (diff) | |
| download | inkscape-b7403d737c0549e540393bfe92160a5fc7b407a1.tar.gz inkscape-b7403d737c0549e540393bfe92160a5fc7b407a1.zip | |
trivial: live_effects/**: svn propset svn:eol-style native *.h *.cpp.
(bzr r3884)
Diffstat (limited to 'src/live_effects/parameter/bool.h')
| -rw-r--r-- | src/live_effects/parameter/bool.h | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h index 0a29a9439..13dc57b6c 100644 --- a/src/live_effects/parameter/bool.h +++ b/src/live_effects/parameter/bool.h @@ -1,59 +1,59 @@ -#ifndef INKSCAPE_LIVEPATHEFFECT_PARAMETER_BOOL_H
-#define INKSCAPE_LIVEPATHEFFECT_PARAMETER_BOOL_H
-
-/*
- * Inkscape::LivePathEffectParameters
- *
-* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include <glib/gtypes.h>
-
-#include "ui/widget/registry.h"
-#include "ui/widget/registered-widget.h"
-
-#include "live_effects/parameter/parameter.h"
-
-namespace Inkscape {
-
-namespace LivePathEffect {
-
-
-class BoolParam : public Parameter {
-public:
- BoolParam( const Glib::ustring& label,
- const Glib::ustring& tip,
- const Glib::ustring& key,
- Inkscape::UI::Widget::Registry* wr,
- Effect* effect,
- bool default_value = false);
- virtual ~BoolParam();
-
- virtual Gtk::Widget * param_getWidget();
-
- virtual bool param_readSVGValue(const gchar * strvalue);
- virtual gchar * param_writeSVGValue() const;
-
- void param_setValue(bool newvalue);
- virtual void param_set_default();
-
- bool get_value() { return value; };
-
-private:
- BoolParam(const BoolParam&);
- BoolParam& operator=(const BoolParam&);
-
- Inkscape::UI::Widget::RegisteredCheckButton * checkwdg;
-
- bool value;
- bool defvalue;
-};
-
-
-} //namespace LivePathEffect
-
-} //namespace Inkscape
-
-#endif
+#ifndef INKSCAPE_LIVEPATHEFFECT_PARAMETER_BOOL_H +#define INKSCAPE_LIVEPATHEFFECT_PARAMETER_BOOL_H + +/* + * Inkscape::LivePathEffectParameters + * +* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl> + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include <glib/gtypes.h> + +#include "ui/widget/registry.h" +#include "ui/widget/registered-widget.h" + +#include "live_effects/parameter/parameter.h" + +namespace Inkscape { + +namespace LivePathEffect { + + +class BoolParam : public Parameter { +public: + BoolParam( const Glib::ustring& label, + const Glib::ustring& tip, + const Glib::ustring& key, + Inkscape::UI::Widget::Registry* wr, + Effect* effect, + bool default_value = false); + virtual ~BoolParam(); + + virtual Gtk::Widget * param_getWidget(); + + virtual bool param_readSVGValue(const gchar * strvalue); + virtual gchar * param_writeSVGValue() const; + + void param_setValue(bool newvalue); + virtual void param_set_default(); + + bool get_value() { return value; }; + +private: + BoolParam(const BoolParam&); + BoolParam& operator=(const BoolParam&); + + Inkscape::UI::Widget::RegisteredCheckButton * checkwdg; + + bool value; + bool defvalue; +}; + + +} //namespace LivePathEffect + +} //namespace Inkscape + +#endif |
