parameter.h revision c2057a738f9ea8cb7acdeb1feb69cef5b0d4bc56
/*
* 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 "ui/widget/registry.h"
#include "ui/widget/registered-widget.h"
struct SPDesktop;
struct SPItem;
}
}
virtual bool param_readSVGValue(const gchar * strvalue) = 0; // returns true if new value is valid / accepted.
virtual void param_set_default() = 0;
// This creates a new widget (newed with Gtk::manage(new ...);)
bool oncanvas_editable;
void param_write_to_repr(const char * svgd);
};
virtual ~ScalarParam();
virtual void param_set_default();
void param_make_integer(bool yes = true);
void param_set_digits(unsigned digits);
{ return value; };
bool integer;
unsigned digits;
double inc_step;
double inc_page;
ScalarParam(const ScalarParam&);
};
} //namespace LivePathEffect
} //namespace Inkscape
#endif
/*
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 :