parameter.h revision bdd7add6c064afee52d2eabeaa18f745430e5a4d
/*
* 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 returns pointer to the parameter's widget to be put in the live-effects dialog. Must also create the
// necessary widget if it does not exist yet.
bool oncanvas_editable;
};
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 :