bool.cpp revision 3ab4e87511c6a42f29370bf22a9afcf759ca1d0d
/*
* 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/registered-widget.h"
#include "live_effects/parameter/bool.h"
#include "live_effects/effect.h"
#include "svg/stringstream.h"
#include "inkscape.h"
#include "verbs.h"
#include "helper-fns.h"
namespace Inkscape {
namespace LivePathEffect {
: Parameter(label, tip, key, wr, effect), value(default_value), defvalue(default_value), hide_widget(no_widget)
{
}
{
}
void
{
}
bool
{
return true; // not correct: if value is unacceptable, should return false!
}
gchar *
BoolParam::param_getSVGValue() const
{
return str;
}
{
if(!hide_widget){
*param_wr,
false,
param_effect->getRepr(),
param_effect->getSPDoc()) );
checkwdg->setProgrammatically = false;
} else {
return NULL;
}
}
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 :