summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of snap delay mechanism for guidesDiederik van Lierop2010-02-141-20/+20
| | | (bzr r9088)
* Tiny bit of refactoring (inverting some logic)Diederik van Lierop2010-02-061-1/+1
| | | (bzr r9059)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-0/+7
| | | (bzr r9034)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-1/+1
| | | | | specified explicitly) (bzr r9014)
* When switching context by pressing a key, while dragging to create a new ↵Diederik van Lierop2009-08-011-0/+17
| | | | | shape, the original context should be finished properly and sp_canvas_item_ungrab should be called. set_event_context() was looking for e.g. sp_rect_context_finish, but this wasn't implemented for any of the shape tools. This closes bug #195101 (bzr r8375)
* Make the snap delay mechanism easier to implement for the devs, and get rid ↵Diederik van Lierop2009-07-181-4/+3
| | | | | of the related warning messages (bzr r8302)
* Don't create rectangles that have a zero x or y dimension. When snapping for ↵Diederik van Lierop2009-07-081-5/+38
| | | | | example to the same point twice then just cancel the rect creation (Fixes bug #375975). And while we're at it, make the rectangle tool escapeable by pressing esc. See also rev. #21706 which was similar but applied to ellipses instead. (bzr r8237)
* Fix bug #338838: Using double-click on a selected shape to switch to that ↵Diederik van Lierop2009-03-301-1/+1
| | | | | shape's tool would give a snap-window-already-closed warning (bzr r7594)
* - Move snap delay mechanism to the event context (used to be in SPCanvas)Diederik van Lierop2009-03-291-3/+3
| | | | | | - Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-1/+1
| | | | | displayed "B". (bzr r7335)
* - The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop2009-01-251-5/+8
| | | | | | | be turned on and off explicitely within each context. This prevents delayed snapping events from being fired after the context or context's state has changed. - Creating single dots now snaps (bzr r7172)
* switch to using shape_editor, instead of separate knotholders and listeners; ↵bulia byak2009-01-081-50/+10
| | | | | fixes a lot of crashes, simplifies code (bzr r7097)
* Make all tools consider full parent transform (up to document, not just up ↵Thomas Holder2008-12-081-1/+1
| | | | | | | to root) See http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo (bzr r6974)
* NR -> 2Geom few more filesJoshua L. Blocher2008-12-051-7/+7
| | | (bzr r6959)
* From trunkTed Gould2008-10-271-16/+15
| | | (bzr r6885)
* NR => Geom for context-fnsJohan B. C. Engelen2008-08-301-6/+6
| | | (bzr r6733)
* Modify the parameters required for setting up the SnapManagerDiederik van Lierop2008-08-281-1/+1
| | | (bzr r6722)
* Get rid of a whole bunch of further instances of SP_ACTIVE_DESKTOP (where ↵Maximilian Albert2008-08-141-15/+1
| | | | | the desktop is readily available in the calling function) (bzr r6629)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-3/+4
| | | (bzr r6606)
* I'm an idiot who forgot that MOTION_HINT_MASK still needs MOTION_MASKMenTaLguY2008-07-081-0/+1
| | | (bzr r6222)
* enable motion hints for non-freehand actionsMenTaLguY2008-07-081-1/+1
| | | (bzr r6220)
* C++ify knotholdersMaximilian Albert2008-06-041-2/+2
| | | (bzr r5797)
* Improve snapping behaviour when creating new shapesDiederik van Lierop2008-05-201-5/+5
| | | (bzr r5721)
* Eliminate some redundant snapping callsDiederik van Lierop2008-05-181-6/+1
| | | (bzr r5693)
* Fix a regression in the snapper, caused by me. Sorry!Diederik van Lierop2008-05-161-9/+10
| | | (bzr r5680)
* Add a centralized check (i.e. in the snapper mechanism) whether we've ↵Diederik van Lierop2008-05-121-4/+3
| | | | | snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured. (bzr r5659)
* - Major refactoring of snapping related code...Diederik van Lierop2008-04-301-15/+8
| | | | | - Enabling snap indicator for all remaining tools (bzr r5556)
* Refactor snapper and snapindicator (in order to enable the snapindicator in ↵Diederik van Lierop2008-04-071-4/+4
| | | | | the selector tool) (bzr r5374)
* No more NRMatrix or NRPoint.Jasper van de Gronde2008-03-211-1/+1
| | | (bzr r5149)
* add snapindicator to rect tool but not satisfactory yet...Johan B. C. Engelen2008-03-041-4/+14
| | | (bzr r4962)
* Applying fixes for gcc 4.3 build issues (closes LP: #169115)Bryce Harrington2008-01-311-0/+2
| | | (bzr r4629)
* Add possibility to convert objects (only rectangles and 3D boxes currently) ↵Maximilian Albert2008-01-111-0/+9
| | | | | to guidelines. Also see corresponding post on the mailing list; in particular, feel free to revert it if this is inappropriate during Frost phase. (bzr r4462)
* Use golden ratio as additional constrained ratio during Ctrl+dragging ↵Maximilian Albert2007-12-171-1/+18
| | | | | rectangles (fixes bug/RFE #170540) (bzr r4248)
* Fundamentally reworked version of the 3D box tool (among many other things, ↵Maximilian Albert2007-12-131-0/+14
| | | | | this fixes bugs #168900 and #168868). See mailing list for details. Sorry for this single large commit but it was unfeasible to keep the history. (bzr r4224)
* In ellipse and rect tool: include info about width/height ratio in status ↵Maximilian Albert2007-08-291-3/+17
| | | | | messages when Ctrl+dragging (bzr r3609)
* gobble more of motion events; make statusbar messages immediate for better ↵bulia byak2007-08-211-2/+2
| | | | | visual feedback (bzr r3561)
* Only in the selector tool we should snap in bbox mode (PointType = ↵Diederik van Lierop2007-08-071-2/+2
| | | | | SNAPPOINT_BBOX) (bzr r3415)
* due to the order of processing events, we must disable lmb handling in ↵bulia byak2007-07-291-4/+4
| | | | | children contexts so that parent event context can handle it for space panning (bzr r3341)
* 1) Changes to snapping preferences dialogDiederik van Lierop2007-07-281-2/+2
| | | | | | 2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes 3) Renaming of some constants to improve readability (bzr r3331)
* fix crash when pressing space while drawing a shapebulia byak2007-04-181-0/+15
| | | (bzr r2922)
* Fix bug #1511262: don't snap rect to itselfDiederik van Lierop2007-03-161-1/+1
| | | (bzr r2675)
* patch 1665648 by Diederik to snap to grid when drawing rectanglesbulia byak2007-02-241-1/+6
| | | (bzr r2428)
* start switching sp_repr_new* over to XML::Document::create*, and rename ↵MenTaLguY2007-01-211-1/+2
| | | | | create methods to match DOM (bzr r2253)
* remove color cursorsJosh Andler2006-10-191-6/+0
| | | (bzr r1811)
* Other tools now also retain there specific statusbar text when pressing ↵Johan B. C. Engelen2006-10-011-4/+7
| | | | | alt/shift/ctrl. (bzr r1748)
* Added forced redraws to other toolsJohn Bintz2006-09-241-4/+8
| | | (bzr r1719)
* Initial reworking of forced redraw to work better with interruptible displayJohn Bintz2006-09-061-4/+0
| | | (bzr r1696)
* Force non-interruptible canvas redraws to ensure accurate display while ↵John Bintz2006-09-041-0/+4
| | | | | creating objects (bzr r1679)
* undo annotationsgustav_b2006-07-091-2/+2
| | | (bzr r1380)
* patch from Gustav Broberg: undo annotations and history dialogbulia byak2006-06-291-1/+2
| | | (bzr r1315)