summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Temporily fix abiguous macros before later removal.Jon A. Cruz2013-04-281-4/+4
| | | (bzr r12310)
* More GObject boilerplate reductionAlex Valavanis2013-01-261-34/+10
| | | (bzr r12064)
* code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton2012-10-041-1/+1
| | | | | they are not used elsewhere. (bzr r11735)
* Fix for 580160 : Deleting a gradient stop using Shape tools deletes the objectJohn Smith2012-09-061-0/+6
| | | (bzr r11655)
* Drop GTK+ 2.20 support.Alex Valavanis2012-07-051-4/+0
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
* Header cleaning for GTK+3 migrationAlex Valavanis2012-06-051-1/+0
| | | (bzr r11460)
* Eliminated duplication of GTK key defines.Jon A. Cruz2012-05-031-53/+1
| | | (bzr r11318)
* Replace deprecated GDK key symbolsAlex Valavanis2012-04-091-26/+82
| | | (bzr r11194)
* More header cleanup/fwd declarationsAlex Valavanis2012-02-151-0/+1
| | | (bzr r10986)
* Header cleaningAlex Valavanis2012-02-121-0/+2
| | | (bzr r10963)
* Initial C++ification of SPCanvas.Jon A. Cruz2012-01-121-3/+3
| | | (bzr r10873)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-3/+3
| | | (bzr r10659)
* Merge from trunkKrzysztof Kosi??ski2011-07-061-1/+1
|\ | | | | (bzr r10347.1.5)
| * Switch to GObjectAlex Valavanis2011-06-241-1/+1
| | | | | | (bzr r10350.1.3)
* | Remove more of libnrKrzysztof Kosi??ski2011-06-231-2/+2
|/ | | (bzr r10347.1.2)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-9/+11
|\ | | | | (bzr r9945.1.1)
| * New Class SPDocumentUndo created which takes care of c++fying some non ↵Abhishek Sharma Public2010-07-021-2/+2
| | | | | | | | | | SPDocument based methods (bzr r9546.1.3)
| * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-1/+1
| | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
* | Color preview in cursorJasper van de Gronde2010-09-061-0/+1
| | | | | | (bzr r9743)
* | Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-0/+3
|/ | | (bzr r9697)
* 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)