diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-30 00:42:24 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-30 00:42:24 +0000 |
| commit | 189ec94a227498b9d1e3f720bddd4099e9de8652 (patch) | |
| tree | 89278142aafd94d61b00109c316e8e2a82ab1d4c /src/vanishing-point.cpp | |
| parent | Minor fixes (diff) | |
| parent | Removed obsolete header file. (diff) | |
| download | inkscape-189ec94a227498b9d1e3f720bddd4099e9de8652.tar.gz inkscape-189ec94a227498b9d1e3f720bddd4099e9de8652.zip | |
Update to trunk
(bzr r13090.1.38)
Diffstat (limited to 'src/vanishing-point.cpp')
| -rw-r--r-- | src/vanishing-point.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp index a0f3692a5..bb6a2c4d7 100644 --- a/src/vanishing-point.cpp +++ b/src/vanishing-point.cpp @@ -281,18 +281,18 @@ VPDragger::VPDragger(VPDrag *parent, Geom::Point p, VanishingPoint &vp) this->knot->setMode(SP_KNOT_MODE_XOR); this->knot->setFill(VP_KNOT_COLOR_NORMAL, VP_KNOT_COLOR_NORMAL, VP_KNOT_COLOR_NORMAL); this->knot->setStroke(0x000000ff, 0x000000ff, 0x000000ff); - this->knot->update_ctrl(); + this->knot->updateCtrl(); knot->item->ctrlType = CTRL_TYPE_ANCHOR; ControlManager::getManager().track(knot->item); // move knot to the given point - this->knot->set_position(this->point, SP_KNOT_STATE_NORMAL); + this->knot->setPosition(this->point, SP_KNOT_STATE_NORMAL); this->knot->show(); // connect knot's signals - this->_moved_connection = this->knot->_moved_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_moved_handler), this)); - this->_grabbed_connection = this->knot->_grabbed_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_grabbed_handler), this)); - this->_ungrabbed_connection = this->knot->_ungrabbed_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_ungrabbed_handler), this)); + this->_moved_connection = this->knot->moved_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_moved_handler), this)); + this->_grabbed_connection = this->knot->grabbed_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_grabbed_handler), this)); + this->_ungrabbed_connection = this->knot->ungrabbed_signal.connect(sigc::bind(sigc::ptr_fun(vp_knot_ungrabbed_handler), this)); // add the initial VP (which may be NULL!) this->addVP (vp); |
