/*
* Copyright (C) Johan Engelen 2012 <j.b.c.engelen@alumnus.utwente.nl>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "live_effects/parameter/originalpath.h"
#include "uri.h"
#include "sp-shape.h"
#include "sp-text.h"
#include "live_effects/effect.h"
#include "inkscape.h"
#include "desktop.h"
#include "selection.h"
#include "ui/icon-names.h"
namespace Inkscape {
namespace LivePathEffect {
{
oncanvas_editable = false;
}
{
}
{
{ // Label
}
{ // Paste path to link button
Gtk::Widget *pIcon = Gtk::manage( sp_icon_get_icon( INKSCAPE_ICON("edit-paste"), Inkscape::ICON_SIZE_BUTTON) );
}
{ // Select original button
Gtk::Widget *pIcon = Gtk::manage( sp_icon_get_icon("edit-select-original", Inkscape::ICON_SIZE_BUTTON) );
pButton->signal_clicked().connect(sigc::mem_fun(*this, &OriginalPathParam::on_select_original_button_click));
}
}
void
{
if (SP_IS_SHAPE(linked_obj)) {
}
if (SP_IS_TEXT(linked_obj)) {
}
// curve invalid, set empty pathvector
} else {
}
must_recalculate_pwd2 = true;
emit_changed();
}
void
OriginalPathParam::linked_transformed_callback(Geom::Affine const * /*rel_transf*/, SPItem * /*moved_item*/)
{
/** \todo find good way to compensate for referenced path transform, like done for normal clones.
* See sp-use.cpp: sp_use_move_compensate */
}
void
{
return;
}
}
} /* 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 :