summaryrefslogtreecommitdiffstats
path: root/src/knot-holder-entity.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added knot holder entitiesvanntile2019-08-171-6/+56
|
* Derive pattern knots off the same subclassNathan Lee2019-07-151-17/+16
|
* Check knot's pattern still exists before updateNathan Lee2019-07-151-0/+4
| | | | | | | Stop crash when pattern changed via swatch palette, and knot is still present. https://gitlab.com/inkscape/inkscape/issues/70
* Add knot ungrabbed eventJabiertxof2019-05-201-0/+5
|
* Clarify licensesMax Gaukler2018-11-081-1/+2
| | | | | | - add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
* KnotHolder: fix knots selection status when a knot is clicked without ShiftAntonio Ospite2018-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-4/+4
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot2018-06-181-8/+8
| | | | | This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
* Allow FER edition on canvasMarc Jeanmougin2018-04-281-0/+10
|
* static code analysisKris De Gussem2015-12-071-1/+4
| | | (bzr r14511)
* Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White2014-08-311-15/+15
| | | | | GThread deprecation errors. (bzr r13341.1.190)
* Allow editing of fill and stroke patterns simultaneously. Fixes #601336, ↵Liam P. White2014-08-041-0/+10
| | | | | | | | | | #604025, #486192 Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/604025 - https://launchpad.net/bugs/486192 (bzr r13489)
* Fix some mismatched tagsAlex Valavanis2014-03-301-3/+2
| | | (bzr r13230)
* Further refactored SPKnot.Markus Engel2014-03-281-0/+1
| | | (bzr r13226)
* const ....Johan B. C. Engelen2013-01-171-4/+4
| | | (bzr r12039)
* Fix "shift disables snapping" for LPEs and for editing objectsDiederik van Lierop2012-10-141-2/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1065931 (bzr r11800)
* cppcheckKris De Gussem2012-06-071-1/+7
| | | (bzr r11465)
* Header cleaning for GTK+3 migrationAlex Valavanis2012-06-051-2/+0
| | | (bzr r11460)
* Adding base configurable sizing of controls/handles.Jon A. Cruz2012-05-031-4/+8
| | | (bzr r11316)
* remove no longer needed knotholderentity complicationJohan B. C. Engelen2012-04-071-8/+0
| | | (bzr r11171)
* cleanup knotholder code for LPEsJohan B. C. Engelen2012-04-071-0/+11
| | | (bzr r11170)
* mixed usage of class and struct for same objectKris De Gussem2011-12-111-1/+1
| | | (bzr r10766.1.1)
* Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis2011-12-081-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
* Cleanup pass on documentation that was dumping garbage into doxygen output.Jon A. Cruz2011-10-251-4/+4
| | | (bzr r10696)
* 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)
* - Snap while rotating an object using the selector toolDiederik van Lierop2010-07-121-1/+1
| | | | | | - Rename the ConstraintLine class to SnapConstraint - Move some duplicated code to 2geom (bzr r9607)
* Remove an unused parameter from the snapping APIDiederik van Lierop2009-06-201-1/+1
| | | (bzr r8119)
* Implement constrained snapping when dragging the position and size handles ↵Diederik van Lierop2009-03-151-1/+1
| | | | | of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497)
* * Implement constrained snapping of knotsDiederik van Lierop2009-03-131-4/+6
| | | | | | * Implement snapping of the rectangle's radius handles * Line snappers: set the snap target in the derived class instead of in findBestSnap() (bzr r7479)
* 2geomify a lot of NR::Points to Geom::PointJohan B. C. Engelen2008-08-011-12/+12
| | | (bzr r6513)
* Formerly static function used for snapping is now a private member of ↵Maximilian Albert2008-08-011-0/+3
| | | | | KnotHolderEntity (bzr r6505)
* Rename isLPEParam() to isDeletable(), create new class LPEKnotHolderEntity ↵Maximilian Albert2008-07-291-4/+10
| | | | | and make inheritance from it a bit less clumsy (bzr r6448)
* LPE knotholder refactoring: PointParams are not knotholder entities any ↵Maximilian Albert2008-07-291-0/+1
| | | | | more; instead, every parameter type can now return entities (and then forget about them) (bzr r6446)
* fix release mouse crash, add missed disconnects, remove unused callbackbulia byak2008-07-271-1/+0
| | | (bzr r6430)
* replace separate forward declarations by proper forward.h inclusionJohan B. C. Engelen2008-07-071-3/+1
| | | (bzr r6214)
* Write all effect parameters to SVG when a LPE knotholder handle is ungrabbedMaximilian Albert2008-06-101-2/+1
| | | (bzr r5870)
* Make knotholders for LPE items finally work; each effect can now overload ↵Maximilian Albert2008-06-081-0/+6
| | | | | | | the addKnotHolderHandles() method to add handles which control its parameters. There is now also a virtual onKnotUngrabbed() method for each knotholder entity which can be used to do cleanup tasks (for LPE parameters it currently writes the value to SVG, although this should probably happen automatically) (bzr r5855)
* Remove warningsBob Jamison2008-06-041-1/+1
| | | (bzr r5806)
* Some cleanup of knotholder code; mostly renaming knot_(get|set|click)_func ↵Maximilian Albert2008-06-041-25/+9
| | | | | --> knot_(get|set_click) for reduced verbosity (bzr r5802)
* C++ify knotholdersMaximilian Albert2008-06-041-3/+59
| | | (bzr r5797)
* two crashes while editing nodes (one of those is reported as bug 1453558).Andrius Ramanauskas2006-04-061-0/+4
| | | | | | | * fixed by making SPKnotHolder a referenced class and adding ref/unref in knot_click_handler (which sometime change attributes and knot handler is destroyed before calling knotholder_update_knots); * fixed another crash by adding ref/unref to sp_knot_handler * also added signal disconnecting (bzr r445)
* moving trunk for module inkscapeMenTaLguY2006-01-161-0/+62
(bzr r1)