summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-09Moved and renamed some tool-related files.Markus Engel1-527/+0
(bzr r12785)
2013-11-07First step of moving tools into appropriate namespaces.Markus Engel1-21/+28
(bzr r12782)
2013-10-12Units: stop newing Unit objects. pass around pointers to "undeletable" Unit ↵Johan B. C. Engelen1-2/+2
objects in the UnitTable. I think we should move to using indexed units, and pass around the index of the unit in the unittable, or smth like that... ? (bzr r12679)
2013-09-21Rectangles can be drawn inside other shapes again.Markus Engel1-3/+1
Fixed bugs: - https://launchpad.net/bugs/1228393 (bzr r12561)
2013-09-02Fix bug that added transforms to new objects.Matthew Petroff1-0/+1
(bzr r12475.1.11)
2013-07-31Fixed SPObject ctor and dtor; removed singleton.h; some smaller changes.Markus Engel1-14/+6
(bzr r11608.1.110)
2013-07-30Further refactoring of EventContexts.Markus Engel1-2/+2
(bzr r11608.1.109)
2013-07-20Ported away from and removed "sp-metrics.*".Matthew Petroff1-3/+4
(bzr r12380.1.47)
2013-04-28Temporily fix abiguous macros before later removal.Jon A. Cruz1-4/+4
(bzr r12310)
2013-04-27various changesMarkus Engel1-11/+4
(bzr r11608.1.105)
2013-04-21Removed some unused files; more refactoring in EventContext tree.Markus Engel1-4/+4
(bzr r11608.1.104)
2013-04-21More cleaning.Markus Engel1-1/+1
(bzr r11608.1.103)
2013-04-20Some refactoring in RectContext and StarContext.Markus Engel1-181/+134
(bzr r11608.1.101)
2013-04-20Moved factories to different files.Markus Engel1-1/+1
(bzr r11608.1.100)
2013-04-20Merging of EventContext classes complete.Markus Engel1-107/+17
(bzr r11608.1.98)
2013-04-20Further changes to EventContexts; they work without GObjectMarkus Engel1-0/+25
(bzr r11608.1.97)
2013-04-13Replaced casting macros for EventContext tree; added contructors.Markus Engel1-0/+15
(bzr r11608.1.96)
2013-04-12Added prefPaths to contexts; modified SPFactoryMarkus Engel1-0/+3
(bzr r11608.1.94)
2013-04-09Added constructors to EventContext tree / some missing virtual pads.Markus Engel1-7/+15
(bzr r11608.1.90)
2013-04-08Started conversion of SPEventContext tree; added virtual pads to all classes.Markus Engel1-13/+55
(bzr r11608.1.89)
2013-03-30Turned all functions concerning SPRect into member functions.Markus Engel1-4/+6
(bzr r11608.1.60)
2013-01-26More GObject boilerplate reductionAlex Valavanis1-34/+10
(bzr r12064)
2012-10-04code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton1-1/+1
they are not used elsewhere. (bzr r11735)
2012-09-06Fix for 580160 : Deleting a gradient stop using Shape tools deletes the objectJohn Smith1-0/+6
(bzr r11655)
2012-07-05Drop GTK+ 2.20 support.Alex Valavanis1-4/+0
Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
2012-06-05Header cleaning for GTK+3 migrationAlex Valavanis1-1/+0
(bzr r11460)
2012-05-03Eliminated duplication of GTK key defines.Jon A. Cruz1-53/+1
(bzr r11318)
2012-04-09Replace deprecated GDK key symbolsAlex Valavanis1-26/+82
(bzr r11194)
2012-02-15More header cleanup/fwd declarationsAlex Valavanis1-0/+1
(bzr r10986)
2012-02-12Header cleaningAlex Valavanis1-0/+2
(bzr r10963)
2012-01-12Initial C++ification of SPCanvas.Jon A. Cruz1-3/+3
(bzr r10873)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-3/+3
(bzr r10659)
2011-06-24Switch to GObjectAlex Valavanis1-1/+1
(bzr r10350.1.3)
2011-06-23Remove more of libnrKrzysztof Kosi??ski1-2/+2
(bzr r10347.1.2)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-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)
2010-09-06Color preview in cursorJasper van de Gronde1-0/+1
(bzr r9743)
2010-08-11Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop1-0/+3
(bzr r9697)
2010-07-02New Class SPDocumentUndo created which takes care of c++fying some non ↵Abhishek Sharma Public1-2/+2
SPDocument based methods (bzr r9546.1.3)
2010-06-29This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public1-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)
2010-02-14Implementation of snap delay mechanism for guidesDiederik van Lierop1-20/+20
(bzr r9088)
2010-02-06Tiny bit of refactoring (inverting some logic)Diederik van Lierop1-1/+1
(bzr r9059)
2010-01-30Finally introducing the pre-snap indicatorDiederik van Lierop1-0/+7
(bzr r9034)
2010-01-23Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop1-1/+1
specified explicitly) (bzr r9014)
2009-08-01When switching context by pressing a key, while dragging to create a new ↵Diederik van Lierop1-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)
2009-07-18Make the snap delay mechanism easier to implement for the devs, and get rid ↵Diederik van Lierop1-4/+3
of the related warning messages (bzr r8302)
2009-07-08Don't create rectangles that have a zero x or y dimension. When snapping for ↵Diederik van Lierop1-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)
2009-03-30Fix bug #338838: Using double-click on a selected shape to switch to that ↵Diederik van Lierop1-1/+1
shape's tool would give a snap-window-already-closed warning (bzr r7594)
2009-03-29- Move snap delay mechanism to the event context (used to be in SPCanvas)Diederik van Lierop1-3/+3
- Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589)
2009-02-20The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop1-1/+1
displayed "B". (bzr r7335)
2009-01-25- The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop1-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)