~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/node-context.cpp

  • Committer: cilix42
  • Date: 2008-09-18 17:48:42 UTC
  • Revision ID: cilix42@users.sourceforge.net-20080918174842-1ad33a7d7gqhv2hq
Next roud of NR ==> Geom conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
442
442
            if (event->type == GDK_BUTTON_RELEASE) {
443
443
                event_context->xp = event_context->yp = 0;
444
444
                if (event->button.button == 1) {
445
 
                    boost::optional<NR::Rect> b = Inkscape::Rubberband::get(desktop)->getRectangle();
 
445
                    boost::optional<Geom::Rect> b = Inkscape::Rubberband::get(desktop)->getRectangle();
446
446
 
447
447
                    if (nc->shape_editor->hits_curve() && !event_context->within_tolerance) { //drag curve
448
448
                        nc->shape_editor->finish_drag();
625
625
                    break;
626
626
                case GDK_Escape:
627
627
                {
628
 
                    boost::optional<NR::Rect> const b = Inkscape::Rubberband::get(desktop)->getRectangle();
 
628
                    boost::optional<Geom::Rect> const b = Inkscape::Rubberband::get(desktop)->getRectangle();
629
629
                    if (b) {
630
630
                        Inkscape::Rubberband::get(desktop)->stop();
631
631
                        nc->current_state = SP_NODE_CONTEXT_INACTIVE;