summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-02-14Show type tags for more port types.David Robillard3-50/+81
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5567 a436a847-0d15-0410-975c-d299462d15a1
2015-02-14Use the same border width for ports and modules.David Robillard3-13/+13
Makes edges line up more nicely, if at a wee cost to space. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5560 a436a847-0d15-0410-975c-d299462d15a1
2015-02-11Pad edges so ports don't overlap radiused border.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5555 a436a847-0d15-0410-975c-d299462d15a1
2015-02-11Clip control rectangles to radiused ports.David Robillard3-37/+83
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5554 a436a847-0d15-0410-975c-d299462d15a1
2015-02-11Join connections precisely at port borders.David Robillard1-8/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5553 a436a847-0d15-0410-975c-d299462d15a1
2015-02-11Line up ports precisely at module border edges.David Robillard2-16/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5552 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Fix size of vertical flow modules.David Robillard1-1/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5546 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Add support for exporting canvas as PDF or PS.David Robillard4-59/+100
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5543 a436a847-0d15-0410-975c-d299462d15a1
2015-02-05Fix crash when destroying canvas.David Robillard1-1/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5532 a436a847-0d15-0410-975c-d299462d15a1
2014-11-07Fix compilation with --no-fdgl (patch from Vlad Glagolev).David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5480 a436a847-0d15-0410-975c-d299462d15a1
2014-09-01Fix unexpected node jumping when dragging new connections.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5463 a436a847-0d15-0410-975c-d299462d15a1
2014-08-30More obvious highlighting.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5460 a436a847-0d15-0410-975c-d299462d15a1
2014-08-29Fix positioning of embedded widgets when changing layout.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5457 a436a847-0d15-0410-975c-d299462d15a1
2014-08-29Fix positioning of embedded widgets during sprung layout.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5455 a436a847-0d15-0410-975c-d299462d15a1
2014-07-13Fix bug where edges would not update when nodes are moved after the canvas ↵David Robillard1-0/+1
is cleared. (Fix stuck connections in Patchage after refresh). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5412 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Fix compilation on old glib.David Robillard1-9/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5396 a436a847-0d15-0410-975c-d299462d15a1
2014-04-28Fix comments for GIR.David Robillard5-15/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5382 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Fix gtk-doc comment format.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5380 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Fix layout of nodes with partners.David Robillard2-2/+8
Reduce oscillation by adding force noise. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5378 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Clean up Ganv API.David Robillard13-389/+572
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-04-10Fix dragging when modules and ports are both selected.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5365 a436a847-0d15-0410-975c-d299462d15a1
2014-04-08Fix input port selection (regression in previous commit).David Robillard1-11/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5364 a436a847-0d15-0410-975c-d299462d15a1
2014-04-07Fix selecting input ports without controls.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5363 a436a847-0d15-0410-975c-d299462d15a1
2014-04-07Hide invisible "partner" alignment edges in DOT export.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5362 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Use the same padding for arrange and zoom to fit.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5352 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Fix ganv_canvas_for_each_edge().David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5349 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30Reimplement canvas zoom.David Robillard12-231/+155
Make select rectangle translucent. Make ctrl+scroll wheel zoom, not change font size. Add separate controls in Patchage for zoom (scale) and font size. Banish canvas coordinates from item implementations. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5345 a436a847-0d15-0410-975c-d299462d15a1
2014-03-16Don't trigger layout when node is selected (fix #959).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5342 a436a847-0d15-0410-975c-d299462d15a1
2014-03-16Allow user to enable or disable sprung layout.David Robillard1-2/+29
This setting is saved with the patch so sprung patches remain sprung when loaded again, but manually arranged patches won't be mangled. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5340 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Clean up public canvas interface.David Robillard2-190/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5339 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Clean up public canvas interface.David Robillard8-1012/+959
Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5338 a436a847-0d15-0410-975c-d299462d15a1
2014-01-18Fix some minor issues found by clang.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5318 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11FDGL: Reduce oscillation.David Robillard2-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5305 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Stop layout while connect dragging.David Robillard2-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5304 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Merge GanvCanvasBase and GanvCanvas.David Robillard11-1873/+1830
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Make some functions private.David Robillard4-28/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5301 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Move item implementation to item.c.David Robillard3-779/+825
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5298 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Remove debug printf.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5296 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Twiddle physics to reduce oscillation.David Robillard2-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5291 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix sizing of vertical modules with embedded widgets.David Robillard1-6/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5259 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix documentation pane.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5256 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix control updating with animated canvas.David Robillard2-1/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5254 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Make only control inputs controllable by user.David Robillard3-4/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5251 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix select rectangle drag from bottom right to top left.David Robillard4-70/+105
Simplify layout code. Calculate rectangle distance instead of center distance to minimize overlap. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5250 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Improve performance by avoiding unnecessary i2w conversions.David Robillard4-7/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5249 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Draw and layout performance improvements.David Robillard6-90/+76
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5248 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Make graph input ports controllable outputs and remove double port kludge.David Robillard2-1/+27
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5247 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Don't abuse show_label property for vertical/horizontal mode.David Robillard4-36/+31
Don't use g_object_get to get x and y coordinates of items. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5246 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Make repelling forces directionally proportional to area for tighter ↵David Robillard2-3/+5
spacing. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5241 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Increase maximum simulation time to converge faster on larger graphs.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5238 a436a847-0d15-0410-975c-d299462d15a1