summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* KnotHolder: fix knots selection status when a knot is clicked without ShiftAntonio Ospite2018-11-011-24/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | When there are already selected knots, and _another_ knot is clicked without the Shift key pressed, the user would expects the previously selected knots to be unselected immediately, but this does not happen until the mouse button is released. Steps to replicate: 1. Change size of a rect using one corner. 2. Change the size using the opposite corner (without pressing Shift). Observed behavior: The first corner looks still selected during grab. Expected behavior: The first corner gets unelected as soon as the mouse button is pressed.. This happens because the knots selection status is not updated until the mouse button is released, i.e. in the click/ungrabbed signal handler. In order to have a more immediate feedback of the knot selection status, add a "mousedown" signal handler and update the selection status in there. While at it also remove the knot_holder local variable in knot_clicked_handler() which seems to be unnecessary.
* KnotHolder: remove stale commentAntonio Ospite2018-11-011-1/+0
| | | | | The code in knot_ungrabbed_handler does not use the click signal, so the comment does not apply there.
* KnotHolder: misc cosmetic cleanupsAntonio Ospite2018-11-011-4/+4
| | | | Remove some trailing spaces and reindent with spaces instad of tabs.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Allow FER edition on canvasMarc Jeanmougin2018-04-281-0/+12
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-19/+26
| | | | A lot of header clean-up.
* Fix the editing of clipping and masking objectsStefano Facchini2017-10-011-3/+10
| | | | | | | | By passing along an edit_transform matrix, as done for clipping paths. Cleanups: - remove some unused methods - use member initialization
* Fix a bug with select knots and modifiersJabier Arraiza2017-07-041-16/+22
|
* Improving CR feedback. thanks!Jabier Arraiza2017-07-011-14/+60
|
* Finish add selectable knot shapesJabier Arraiza2017-07-011-1/+0
|
* working on knots selectionJabier Arraiza2017-07-011-0/+12
|
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-4/+0
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+4
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-4/+0
| | | (bzr r15025)
* Warning cleanup.Jon A. Cruz2015-03-151-1/+2
| | | (bzr r14006)
* Update to trunk r13638Liam P. White2014-10-251-43/+49
|\ | | | | (bzr r13341.1.286)
| * Initial removal of box3d outdated GTKish macros.Jon A. Cruz2014-10-241-30/+45
| | | | | | (bzr r13634)
* | Update to experimental r13460Liam P. White2014-08-061-6/+26
|\| | | | | (bzr r13090.1.98)
| * Allow editing of fill and stroke patterns simultaneously. Fixes #601336, ↵Liam P. White2014-08-041-6/+26
| | | | | | | | | | | | | | | | | | | | #604025, #486192 Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/604025 - https://launchpad.net/bugs/486192 (bzr r13489)
* | I'm an idiotLiam P. White2014-07-311-1/+1
| | | | | | (bzr r13090.1.97)
* | Minor thingsLiam P. White2014-04-151-2/+9
| | | | | | (bzr r13090.1.58)
* | Prevent crash on "three knot" issueLiam P. White2014-04-041-3/+8
| | | | | | (bzr r13090.1.47)
* | Begin first stage of resolving issue with duplicate knotsLiam P. White2014-04-041-6/+8
|/ | | (bzr r13090.1.46)
* First step of refactoring SPKnot.Markus Engel2014-03-271-3/+1
| | | (bzr r13223)
* Added some consts. Turned functions to member functions.Markus Engel2014-03-021-4/+4
| | | (bzr r13089)
* Moved and renamed some tool-related files.Markus Engel2013-11-091-4/+4
| | | (bzr r12785)
* Seamlessly switch between SVG circle, ellipse, and path (arc) elements while ↵Tavmjong Bah2013-10-081-1/+1
| | | | | using the Circle, Ellipse, and Arc tool. (bzr r12670)
* C++Johan B. C. Engelen2013-10-041-1/+1
| | | (bzr r12660)
* Reactivated independent reference counting in the SPObject tree.Markus Engel2013-04-081-2/+5
| | | (bzr r11608.1.88)
* Merged Shape and subclasses. Cleaned up a bit.Markus Engel2013-04-051-2/+2
| | | (bzr r11608.1.76)
* Header cleaning for GTK+3 migrationAlex Valavanis2012-06-051-0/+1
| | | (bzr r11460)
* Adding base configurable sizing of controls/handles.Jon A. Cruz2012-05-031-25/+38
| | | (bzr r11316)
* Additional cleanup.Jon A. Cruz2012-04-101-2/+2
| | | (bzr r11206)
* fix possible crasher in knot_clicked_handlerJohan B. C. Engelen2012-04-071-11/+12
| | | (bzr r11174)
* remove no longer needed knotholderentity complicationJohan B. C. Engelen2012-04-071-7/+1
| | | (bzr r11171)
* Header cleaningAlex Valavanis2012-02-121-0/+2
| | | (bzr r10963)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-2/+2
| | | (bzr r10659)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-4/+2
| | | | | | | item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
* Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz2011-02-211-6/+6
| | | (bzr r10060)
* update to latest 2geom !Johan B. C. Engelen2011-02-021-1/+1
| | | (bzr r10025)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-13/+15
|\ | | | | (bzr r9945.1.1)
| * SPShape c++ified to the extent it was possible and more changes done for XML ↵Abhishek Sharma Public2010-07-141-2/+2
| | | | | | | | | | privatisation. Major changes yet to come. (bzr r9546.1.7)
| * C++ification of SPObject continued along with the onset of XML ↵Abhishek Sharma Public2010-07-061-1/+2
| | | | | | | | | | Privatisation. Users may checkout [grep -Ir XML Tree *] in the source code and all the places where the XML node/Tree is being used shall be reflected. (bzr r9546.1.5)
| * 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-3/+3
| | | | | | | | | | 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)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-0/+15
| | | (bzr r9034)
* decrease header dependenciesJohan B. C. Engelen2009-11-231-0/+1
| | | (bzr r8841)
* label editbulia byak2009-10-021-1/+1
| | | (bzr r8690)
* Make the snap delay mechanism easier to implement for the devs, and get rid ↵Diederik van Lierop2009-07-181-2/+0
| | | | | of the related warning messages (bzr r8302)