summaryrefslogtreecommitdiffstats
path: root/src/knot.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-12Fix blocking bugs in text for Beta (stiling)Jabiertxof1-1/+2
2019-09-12Line height fixesJabiertxof1-1/+30
2019-05-26Rm unused code now Gtk+ >= 3.22 dependency is setAlexander Valavanis1-15/+4
2019-05-20Change the data type of size/width/height of the controls to unsigned intDiederik van Lierop1-2/+2
2019-05-20More pixel-level alignment fixes for various controls, by making all ↵Diederik van Lierop1-1/+1
controls have an odd-integer size (measured in pixels)
2019-01-02modernize loopsMarc Jeanmougin1-4/+4
2018-11-08Clarify licensesMax Gaukler1-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
2018-11-01SPKnot::SPKnot(): improve color style of selected knotsAntonio Ospite1-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.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-19/+19
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-6/+6
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-6/+6
2018-01-03Fix a regrssion in merge branch Allow erase knots in powerstrokeJabier Arraiza1-3/+1
2017-12-27Allow erase knots in powerstrokeJabiertxo Arraiza Cenoz1-1/+3
2017-10-05Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin1-1/+1
2017-07-10Use new GdkSeat API and update gimpcolorwheel commentsAlexander Valavanis1-1/+12
2017-07-01Improving CR feedback. thanks!Jabier Arraiza1-2/+0
2017-07-01Finish add selectable knot shapesJabier Arraiza1-0/+1
2017-07-01working on knots selectionJabier Arraiza1-6/+2
2017-06-30Starting selectable knotsJabier Arraiza1-9/+34
2017-02-06This commit fixes bug #1657874Jabiertxof1-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)
2016-12-29Fix for bug #1652954Jabiertxof1-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)
2016-12-19Add update_helperpaths not member of nodetool class to easy call from outsideJabier Arraiza Cenoz1-10/+2
(bzr r15335)
2016-12-03Add triangle knot.Jabier Arraiza Cenoz1-1/+8
(bzr r15293)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+0
(bzr r15034)
2016-07-28Finish removing GTK+ 2 fallbacksAlex Valavanis1-38/+3
(bzr r15023.2.8)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+0
(bzr r15025)
2015-07-25Cleanup spurious indentationDiederik van Lierop1-121/+121
(bzr r14256)
2015-07-25SPKnot no longer consumes all GDK_KEY_PRESS eventsDiederik van Lierop1-1/+8
Fixed bugs: - https://launchpad.net/bugs/1164964 (bzr r14255)
2014-12-21Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White1-2/+2
(bzr r13820)
2014-12-21Purge sp_desktop_controlsLiam P. White1-1/+1
(bzr r13819)
2014-10-05Move more UI code into ui/Liam P. White1-1/+1
(bzr r13341.1.253)
2014-09-29This push add suport to helper paths redraw to nodes, handles and knots. Jabier Arraiza Cenoz1-0/+10
This redraw at mouse movement. Whith knots also redraw at button release event (bzr r13341.1.227)
2014-08-30Reduce header bloatAlex Valavanis1-0/+1
(bzr r13341.1.184)
2014-08-07Add in some debugging code that will complain when deleted knots are ↵Liam P. White1-0/+3
accessed by snap handler (bzr r13341.1.120)
2014-07-21Revert fix for 1309050 since it causes other regressions...Liam P. White1-2/+2
(bzr r13457)
2014-07-19Workarounds for crash bugs 1309050, 601336; will fix properly in experimentalLiam P. White1-1/+4
Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/1309050 (bzr r13455)
2014-03-28Further refactored SPKnot.Markus Engel1-32/+34
(bzr r13226)
2014-03-27First step of refactoring SPKnot.Markus Engel1-371/+266
(bzr r13223)
2013-11-09Moved and renamed some tool-related files.Markus Engel1-1/+1
(bzr r12785)
2013-11-07First step of moving tools into appropriate namespaces.Markus Engel1-3/+3
(bzr r12782)
2013-09-28Allow pixmaps to specify their width and height to control/knots. Allows ↵Martin Owens1-25/+5
non-square nodes. (bzr r12605)
2012-11-30Step 1. Remove junk and keep functionality.Martin Owens1-0/+1
(bzr r11894.1.1)
2012-07-12Bug #781893 (Crash after moving a Bezier node after Knot path effect)Kris De Gussem1-20/+20
Although issue not solved, prevent Inkscape from crashing. Add some code to make code more robust. (bzr r11547)
2012-07-05Drop GTK+ 2.20 support.Alex Valavanis1-4/+0
Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
2012-06-23Migrate to new device pointer API for GTK+ 3Alex Valavanis1-0/+11
(bzr r11511)
2012-06-09Stop deriving SPCanvasItem from GtkObjectAlex Valavanis1-1/+1
(bzr r11469.1.1)
2012-05-03Eliminated duplication of GTK key defines.Jon A. Cruz1-1/+1
(bzr r11318)
2012-04-10Adopt obsolete GtkAnchorType enum as SPAnchorTypeAlex Valavanis1-2/+2
(bzr r11207)
2012-04-09Replace deprecated gdk_cursor_unrefAlex Valavanis1-0/+4
(bzr r11196)