summaryrefslogtreecommitdiffstats
path: root/src/knot.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix blocking bugs in text for Beta (stiling)Jabiertxof2019-09-121-1/+2
|
* Line height fixesJabiertxof2019-09-121-1/+30
|
* Rm unused code now Gtk+ >= 3.22 dependency is setAlexander Valavanis2019-05-261-15/+4
|
* Change the data type of size/width/height of the controls to unsigned intDiederik van Lierop2019-05-201-2/+2
|
* More pixel-level alignment fixes for various controls, by making all ↵Diederik van Lierop2019-05-201-1/+1
| | | | controls have an odd-integer size (measured in pixels)
* modernize loopsMarc Jeanmougin2019-01-021-4/+4
|
* 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
* SPKnot::SPKnot(): improve color style of selected knotsAntonio Ospite2018-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Starting from commit ff04a08000 (working on knots selection, 2017-07-01) it is possible to select knots for shapes, but the selection style can be confusing. The current default colors for knots states are: NORMAL -> white MOUSEOVER -> red DRAGGING -> blue SELECTED -> red Using the same color for the MOUSEOVER and SELECTED states looks like a contradiction considering that the former is an instantaneous indicator while the latter represents a more persistent state. MOUSEOVER and DRAGGING are more similar (in either state the mouse button is pressed), so switch to the following style: NORMAL -> white MOUSEOVER -> red DRAGGING -> red SELECTED -> blue The new style also matches what path nodes look like.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-19/+19
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-6/+6
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-6/+6
|
* Fix a regrssion in merge branch Allow erase knots in powerstrokeJabier Arraiza2018-01-031-3/+1
|
* Allow erase knots in powerstrokeJabiertxo Arraiza Cenoz2017-12-271-1/+3
|
* Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin2017-10-051-1/+1
|
* Use new GdkSeat API and update gimpcolorwheel commentsAlexander Valavanis2017-07-101-1/+12
|
* Improving CR feedback. thanks!Jabier Arraiza2017-07-011-2/+0
|
* Finish add selectable knot shapesJabier Arraiza2017-07-011-0/+1
|
* working on knots selectionJabier Arraiza2017-07-011-6/+2
|
* Starting selectable knotsJabier Arraiza2017-06-301-9/+34
|
* This commit fixes bug #1657874Jabiertxof2017-02-061-2/+2
| | | | | | | | | | | 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)
* Fix for bug #1652954Jabiertxof2016-12-291-2/+0
| | | | | | | | | | | | Title: Critical warning when dragging a selection handle Affect to trunk(r15238) and 0.92(r15293). Not affect 0.91 Bug: When trying to transform an element we recibe a critical warning, this commit fix it Why: The knot fire two timed the grabber event. Originaly this not happends but in r15238 we add again this event to update triangle knots on click, not only on move. Fix: Remove the original knot grabb event fired after the click event that now is who marck a knot to drag. Fixed bugs: - https://launchpad.net/bugs/1652954 (bzr r15371)
* Add update_helperpaths not member of nodetool class to easy call from outsideJabier Arraiza Cenoz2016-12-191-10/+2
| | | (bzr r15335)
* Add triangle knot.Jabier Arraiza Cenoz2016-12-031-1/+8
| | | (bzr r15293)
* End GTK+ 2 support and remove GDL forkAlex Valavanis2016-08-041-38/+3
|\ | | | | (bzr r15038)
| * Finish removing GTK+ 2 fallbacksAlex Valavanis2016-07-281-38/+3
| | | | | | (bzr r15023.2.8)
* | Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+0
| | | | | | (bzr r15034)
* | Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+2
| | | | | | (bzr r15027)
* | Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+0
|/ | | (bzr r15025)
* Cleanup spurious indentationDiederik van Lierop2015-07-251-121/+121
| | | (bzr r14256)
* SPKnot no longer consumes all GDK_KEY_PRESS eventsDiederik van Lierop2015-07-251-1/+8
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1164964 (bzr r14255)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-2/+2
| | | (bzr r13820)
* Purge sp_desktop_controlsLiam P. White2014-12-211-1/+1
| | | (bzr r13819)
* Move more UI code into ui/Liam P. White2014-10-051-1/+1
| | | (bzr r13341.1.253)
* This push add suport to helper paths redraw to nodes, handles and knots. Jabier Arraiza Cenoz2014-09-291-0/+10
| | | | | This redraw at mouse movement. Whith knots also redraw at button release event (bzr r13341.1.227)
* Reduce header bloatAlex Valavanis2014-08-301-0/+1
| | | (bzr r13341.1.184)
* Add in some debugging code that will complain when deleted knots are ↵Liam P. White2014-08-071-0/+3
| | | | | accessed by snap handler (bzr r13341.1.120)
* Revert fix for 1309050 since it causes other regressions...Liam P. White2014-07-211-2/+2
| | | (bzr r13457)
* Workarounds for crash bugs 1309050, 601336; will fix properly in experimentalLiam P. White2014-07-191-1/+4
| | | | | | | Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/1309050 (bzr r13455)
* Further refactored SPKnot.Markus Engel2014-03-281-32/+34
| | | (bzr r13226)
* First step of refactoring SPKnot.Markus Engel2014-03-271-371/+266
| | | (bzr r13223)
* Moved and renamed some tool-related files.Markus Engel2013-11-091-1/+1
| | | (bzr r12785)
* First step of moving tools into appropriate namespaces.Markus Engel2013-11-071-3/+3
| | | (bzr r12782)
* Allow pixmaps to specify their width and height to control/knots. Allows ↵Martin Owens2013-09-281-25/+5
| | | | | non-square nodes. (bzr r12605)
* Step 1. Remove junk and keep functionality.Martin Owens2012-11-301-0/+1
| | | (bzr r11894.1.1)
* Bug #781893 (Crash after moving a Bezier node after Knot path effect)Kris De Gussem2012-07-121-20/+20
| | | | | Although issue not solved, prevent Inkscape from crashing. Add some code to make code more robust. (bzr r11547)
* Drop GTK+ 2.20 support.Alex Valavanis2012-07-051-4/+0
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
* Migrate to new device pointer API for GTK+ 3Alex Valavanis2012-06-231-0/+11
| | | (bzr r11511)
* Stop deriving SPCanvasItem from GtkObjectAlex Valavanis2012-06-091-1/+1
| | | (bzr r11469.1.1)
* Eliminated duplication of GTK key defines.Jon A. Cruz2012-05-031-1/+1
| | | (bzr r11318)
* Adopt obsolete GtkAnchorType enum as SPAnchorTypeAlex Valavanis2012-04-101-2/+2
| | | (bzr r11207)