parameter.cpp revision 9156dfbf1a53d8eb5e892870b01c67dfa3d9dd3a
/*
* 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 "libnr/nr-values.h"
#include <gtkmm.h>
#include "svg/stringstream.h"
#include "verbs.h"
#define noLPEREALPARAM_DEBUG
namespace Inkscape {
namespace LivePathEffect {
{
param_label = label;
param_tooltip = tip;
}
/*###########################################
* REAL PARAM
*/
{
integer = false;
}
{
if (rsu)
delete rsu;
}
bool
{
double newval;
if (success == 1) {
return true;
}
return false;
}
gchar *
ScalarParam::param_writeSVGValue() const
{
return str;
}
void
{
}
void
{
if (integer)
}
void
{
if (rsu)
}
void
{
if (rsu) {
}
}
{
if (!rsu) {
rsu->init(param_label, param_tooltip, param_key, *param_wr, param_effect->getRepr(), param_effect->getSPDoc());
if (integer)
}
}
} /* 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 :