point.cpp revision 5dae8b7fdd5f82060b96b68ac7abcc524b855e7b
/*
* 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/point.h"
#include "live_effects/effect.h"
#include "svg/stringstream.h"
#include <gtkmm.h>
#include "ui/widget/registered-widget.h"
#include "inkscape.h"
#include "verbs.h"
// needed for on-canvas editting:
#include "tools-switch.h"
#include "node-context.h"
#include "shape-editor.h"
#include "desktop.h"
#include "selection.h"
#define LPEPOINTPARAM_DEBUG // undefine to disable all on-canvas editing code for PointParam
namespace Inkscape {
namespace LivePathEffect {
{
#ifdef LPEPOINTPARAM_DEBUG
oncanvas_editable = true;
#endif
}
PointParam::~PointParam()
{
}
void
{
}
bool
{
if (success == 2) {
return true;
}
return false;
}
gchar *
PointParam::param_writeSVGValue() const
{
return str;
}
{
*param_wr,
param_effect->getRepr(),
param_effect->getSPDoc() ) );
#ifndef LPEPOINTPARAM_DEBUG
pButton->set_sensitive(false);
#endif
}
void
{
}
void
{
}
void
{
// If not already in nodecontext, goto it!
}
shape_editor->set_item_lpe_point_parameter(item, SP_OBJECT(param_effect->getLPEObj()), param_key.c_str());
}
void
{
param_set_and_write_new_value( (*this) * postmul );
}
// CALLBACKS:
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 :