parameter.cpp revision 3a188d4abb933f79ee43aaf9621c7bfb90b1e34b
/*
* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "live_effects/parameter/parameter.h"
#include "live_effects/effect.h"
#include "ui/widget/registered-widget.h"
#include "svg/stringstream.h"
#include "verbs.h"
#define noLPEREALPARAM_DEBUG
namespace Inkscape {
namespace LivePathEffect {
oncanvas_editable(false),
widget_is_visible(true),
{
}
void
{
}
/*###########################################
* REAL PARAM
*/
min(-G_MAXDOUBLE),
integer(false),
digits(2),
inc_step(0.1),
inc_page(1),
add_slider(false)
{
}
{
}
bool
{
double newval;
if (success == 1) {
return true;
}
return false;
}
gchar *
ScalarParam::param_getSVGValue() const
{
return str;
}
void
{
}
void
{
if (integer)
}
void
{
}
void
{
digits = 0;
inc_step = 1;
inc_page = 10;
}
{
Inkscape::UI::Widget::RegisteredScalar *rsu = Gtk::manage( new Inkscape::UI::Widget::RegisteredScalar(
param_label, param_tooltip, param_key, *param_wr, param_effect->getRepr(), param_effect->getSPDoc() ) );
//BSpline
if(lpe_bsp){
}
//BSpline End
rsu->setProgrammatically = false;
if (add_slider) {
}
}
void
{
}
void
{
}
} /* namespace LivePathEffect */
} /* namespace Inkscape */
/*
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 :