summaryrefslogtreecommitdiffstats
path: root/src/module.c
AgeCommit message (Collapse)AuthorFilesLines
2016-10-14Fix port position on modules with embedded widgetsDavid Robillard1-14/+17
2016-07-31Fix compilation with C++David Robillard1-1/+1
2016-07-24Fix overlap when port sizes varyDavid Robillard1-18/+10
Fixes #1133
2015-02-21Add API to specify module port order.David Robillard1-55/+68
Also fix various redundant resize/update issues, improve performance. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5592 a436a847-0d15-0410-975c-d299462d15a1
2015-02-16Destroy embedded widget on module destruction.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5579 a436a847-0d15-0410-975c-d299462d15a1
2015-02-14Use the same border width for ports and modules.David Robillard1-5/+5
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-11Line up ports precisely at module border edges.David Robillard1-15/+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
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-04-26Clean up Ganv API.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30Reimplement canvas zoom.David Robillard1-17/+8
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-15Clean up public canvas interface.David Robillard1-3/+3
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-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-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
2013-12-19FDGL: Improve flow-directed layout.David Robillard1-1/+0
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5185 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5088 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Show check box for toggle ports and ellipsis for enumeration (menu) ports.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5033 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Support resizing circles to fit label, and setting radius in ems.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4969 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Implement item stacking.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4876 a436a847-0d15-0410-975c-d299462d15a1
2012-11-14Fix wonky edge selection behaviour when selecting ports.David Robillard1-6/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4814 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix a ton of warnings.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4648 a436a847-0d15-0410-975c-d299462d15a1
2012-05-22Size modules large enough to fit label with downward signal flow.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4438 a436a847-0d15-0410-975c-d299462d15a1
2012-05-15Fix module width in vertical mode.David Robillard1-7/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4419 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Fix dead assignment.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4387 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Fix vertical module port layout.David Robillard1-25/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4302 a436a847-0d15-0410-975c-d299462d15a1
2012-04-26Tidy.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4274 a436a847-0d15-0410-975c-d299462d15a1
2012-04-25Remove icon stuff.David Robillard1-70/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4273 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix font size stuff.David Robillard1-5/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4262 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix downward signal flow display (i.e. port labels disabled).David Robillard1-27/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4260 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Remove stuff from botched last commit.David Robillard1-67/+10
Remove attempts to avoid module resizing and just resize whenever anything changes. At this stage I think this counts as premature optimization and probably isn't that expensive anyway. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4250 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Fix errors when port has no label.ganv/src/port.cDavid Robillard1-12/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4249 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Resize modules when port labels change.David Robillard1-9/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4242 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix wonky port sizes when restoring a patch.David Robillard1-37/+28
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4230 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix various problems with embedding plugin GUIs.David Robillard1-0/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4229 a436a847-0d15-0410-975c-d299462d15a1
2012-03-28Fix control rect colour and label stacking.David Robillard1-1/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4124 a436a847-0d15-0410-975c-d299462d15a1
2012-01-11Fix crash on shutdown and item deletion.David Robillard1-108/+129
Use Item add and remove virtual methods for adding/removing ports instead of special explicit functions. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3933 a436a847-0d15-0410-975c-d299462d15a1
2011-12-18Fix port controls update while dragging/clicking.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3888 a436a847-0d15-0410-975c-d299462d15a1
2011-12-18Fix module layout.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3887 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Draw directly to window cairo context instead of gdk pixmap.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3875 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Make node no longer a subclass of group.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3873 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Custom module point and port draw handlers.David Robillard1-0/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3872 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Make items responsible for drawing their own children.David Robillard1-0/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3868 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Remove libart dependency.David Robillard1-4/+7
Replace unneeded arbitrary per-item affine with simple x, y coordinates. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3867 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Replace ArtUta* redraw_area with cairo_region_t* redraw_region.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3865 a436a847-0d15-0410-975c-d299462d15a1
2011-12-12Remove unused clip_path parameter to item update method.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3860 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Change GanvGroup* to GanvItem* for parent pointers.David Robillard1-8/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3857 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Remove GnomeCanvas dependency.David Robillard1-53/+58
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3842 a436a847-0d15-0410-975c-d299462d15a1