summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-2/+2
| | | | A lot of header clean-up.
* This commit fixes bug #1657874Jabiertxof2017-02-061-1/+1
| | | | | | | | | | | Title Missing handles after reset of rotation center Whats the bug: In a previous commit I do, I change a event on knots from onmove to onmousedown. this seems ok but the problem were if the user click on rotation center without moving it, the onrelease event has a variable move not set and hide the current knots making the needs to switch the tools to reshow. Is in particular a big problem on little elements where the center knot have a big influence and is very easy to click on it on select. Why do this commit that broke: I want have onmousedown fired to allow meshgradient triangle knots updated on mouse down. What fixes: INstras change the place of the signal, I send back to the original position and create a new signal to fire onmousedow a knot. In the gradient code I change the previous calls from undrag to onmousedown. Fixed bugs: - https://launchpad.net/bugs/1657874 (bzr r15486)
* Highlight mesh handles when corner or handle selected.Jabier Arraiza Cenoz2016-12-051-1/+7
| | | | | Highlight mesh control lines when corner/handle hovered over. (bzr r15298)
* Enable node resizing in mesh tool.Jabier Arraiza Cenoz2016-12-031-0/+5
| | | (bzr r15296)
* Select mesh nodes by clicking on control lines.Tavmjong Bah2016-11-231-1/+1
| | | (bzr r15267)
* Keep corner nodes selected when possible for corner operations.Tavmjong Bah2016-11-211-1/+4
| | | (bzr r15264)
* Rename <mesh> to <meshgradient> per SVG 2 CR specificiation.Tavmjong Bah2016-09-271-2/+2
| | | | | Note: <mesh> has been repurposed to be a special shape that tightly wraps a mesh gradient. (bzr r15137)
* Fix undo/redo for mesh gradients.Tavmjong Bah2016-09-261-1/+1
| | | (bzr r15135)
* fix warning (class was a struct)Marc Jeanmougin2015-12-081-1/+1
| | | (bzr r14504.1.10)
* cppification: GSList replaced by vectors (mostly related to gradients and ↵Marc Jeanmougin2015-12-061-10/+13
| | | | | meshes) (bzr r14504.1.2)
* Rename <meshGradient> to <mesh>, <meshRow> to <meshrow>, <meshPatch> to ↵Tavmjong Bah2015-03-011-2/+2
| | | | | | | | <meshpatch>. Remove experimental smoothing types. Add new smoothing 'type' attribute with bicubic smoothing option. Per SVG WG decission at Sydney 2015 face-to-face meeting. (bzr r13956)
* Fix some mismatched tagsAlex Valavanis2014-03-301-1/+1
| | | (bzr r13230)
* Further refactored SPKnot.Markus Engel2014-03-281-9/+7
| | | (bzr r13226)
* First step of refactoring SPKnot.Markus Engel2014-03-271-1/+7
| | | (bzr r13223)
* Remove unused includes to tidy up the code.Martin Owens2014-03-091-1/+0
| | | (bzr r13132)
* Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel2013-07-311-4/+4
| | | (bzr r11608.1.111)
* Fix another load of forward declaration tagsAlex Valavanis2013-03-141-3/+3
| | | (bzr r12205)
* Fix another tonne of forward declaration tagsAlex Valavanis2013-03-141-1/+1
| | | (bzr r12204)
* cppcheck: Convert more C-style pointer casts to GObject or C++Alex Valavanis2012-11-111-1/+1
| | | (bzr r11867)
* cppcheck: get rid of more C-style pointer castsAlex Valavanis2012-10-271-2/+7
| | | (bzr r11840)
* Fix for 1046868 : Gradient tool (trunk): stop selector cannot access stroke ↵John Smith2012-09-071-1/+1
| | | | | gradient stops of objects with two gradients (bzr r11656)
* Add Mesh tool (experimental, requires Cario >= 1.11.4, disabled by default).Tavmjong Bah2012-05-231-1/+10
| | | (bzr r11406)
* Centralized line creation and enhanced visibility.Jon A. Cruz2012-05-091-22/+22
| | | (bzr r11350)
* Fixing to use explicit enum types instead of generic guint & bool.Jon A. Cruz2012-05-081-16/+29
| | | (bzr r11345)
* Fix for 627728 : Make newly added gradient stop activeJohn Smith2012-04-011-0/+1
| | | (bzr r11135)
* 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/+0
| | | | | | Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
* Cleanup for src/forward.h. (About 19 of the affected files did not require ↵Jon A. Cruz2011-10-051-5/+18
| | | | | the contents forward.h at all). (bzr r10667)
* Remove nr-forward.hKrzysztof Kosi??ski2011-08-271-1/+0
| | | (bzr r10582.1.8)
* compatibility patch to compile using gcc 4.6Adib Taraben2011-02-271-0/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/707205 (bzr r10070.1.1)
* Correct behavior of gradient stops to extract color from swatch when color ↵Jon A. Cruz2010-07-181-0/+2
| | | | | is drag-n-drop'ed or selected. (bzr r9620)
* Stop setting of stops from getting url() reference colors.Jon A. Cruz2010-07-111-0/+2
| | | (bzr r9606)
* Suppress gradient handles when editing objects with solid fills.Jon A. Cruz2010-07-031-6/+6
| | | (bzr r9562)
* Gradient editor: don't show pre-snap indicator when hovering above the knot ↵Diederik van Lierop2010-02-141-0/+2
| | | | | of a gradient stop (bzr r9091)
* Reworked internals of color and drag-n-drop.Jon A. Cruz2009-03-081-1/+1
| | | (bzr r7439)
* Merge from fe-movedTed Gould2008-11-211-42/+43
| | | (bzr r6891)
* Next roud of NR ==> Geom conversionMaximilian Albert2008-09-181-1/+1
| | | (bzr r6839)
* replace separate forward declarations by proper forward.h inclusionJohan B. C. Engelen2008-07-071-3/+1
| | | (bzr r6214)
* system clipboard support (bug #170185) from Chris KosińskiMenTaLguY2008-03-261-1/+1
| | | (bzr r5190)
* Add virtual to a lot of the destructors. Note: perhaps it will have to be ↵Johan B. C. Engelen2007-11-041-3/+3
| | | | | reverted for some files to keep them C-compatible. (bzr r4024)
* fix bug [ 1824359 ] Gradient isn't snapping with ctrl pressedJohan B. C. Engelen2007-11-011-2/+3
| | | (bzr r4011)
* add copy-to-clipboard for selected stopsbulia byak2007-10-221-0/+2
| | | (bzr r3942)
* add dropColor; mouseovered knots red; store item for each line, for adding ↵bulia byak2007-10-161-1/+6
| | | | | stops; refactoring (bzr r3907)
* select within rectbulia byak2007-10-121-0/+1
| | | (bzr r3893)
* proper averaging of all selected draggers on query style; select-next/prev ↵bulia byak2007-10-121-2/+2
| | | | | return the new selected dragger (bzr r3891)
* implement moving midstops with arrow keys, some refactoringbulia byak2007-10-111-0/+2
| | | (bzr r3887)
* still more utility functionsbulia byak2007-10-071-0/+4
| | | (bzr r3851)
* hasSelection methodbulia byak2007-10-071-0/+1
| | | (bzr r3848)