summaryrefslogtreecommitdiffstats
path: root/src/port.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-18Add missing casts for C++ compatibilityDavid Robillard1-1/+1
2020-07-18Remove spurious semicolonsDavid Robillard1-4/+4
2018-09-16Remove use of deprecated g_type_class_add_private()David Robillard1-5/+3
2018-09-16Rename private implementation types according to new Gtk conventionsDavid Robillard1-12/+12
2016-10-02Make ganv_port_show_control() idempotentDavid Robillard1-1/+5
2016-10-02Round reported value for integer control portsDavid Robillard1-1/+1
2016-09-18Update copyright datesDavid Robillard1-1/+1
2015-10-26Resize value labels when font size changesDavid Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5791 a436a847-0d15-0410-975c-d299462d15a1
2015-03-15Add support for beveled box corners.David Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5631 a436a847-0d15-0410-975c-d299462d15a1
2015-02-24Add light theme for typesettable canvas export.David Robillard1-16/+16
Don't show edge handles on export. Fix port control drawing to be pixel perfect. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5605 a436a847-0d15-0410-975c-d299462d15a1
2015-02-24Fix port label vertical alignment.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5604 a436a847-0d15-0410-975c-d299462d15a1
2015-02-21Add API to specify module port order.David Robillard1-9/+13
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-14Fix label alignment in ports without value labels.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5569 a436a847-0d15-0410-975c-d299462d15a1
2015-02-14Indicate sequence ports with an arrow tag.David Robillard1-9/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5568 a436a847-0d15-0410-975c-d299462d15a1
2015-02-14Show type tags for more port types.David Robillard1-43/+58
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 Robillard1-2/+2
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-11Clip control rectangles to radiused ports.David Robillard1-8/+39
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
2014-04-26Clean up Ganv API.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30Reimplement canvas zoom.David Robillard1-6/+4
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-6/+6
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-04Make only control inputs controllable by user.David Robillard1-2/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5251 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Draw and layout performance improvements.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5248 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Don't abuse show_label property for vertical/horizontal mode.David Robillard1-3/+4
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-27Remove dead code.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5215 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Performance improvements.David Robillard1-8/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5214 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Redraw control slider when range changes.David Robillard1-10/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5139 a436a847-0d15-0410-975c-d299462d15a1
2013-06-08Fix sizing for ports with enumeration or integer tag labels.David Robillard1-3/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5123 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-03Port control performance improvements (further improvement for #879).David Robillard1-42/+48
Only request a redraw, not a full update, where appropriate. Use a raw double instead of GVariant for port control-changed signal. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5045 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02GUI support for integer controls.David Robillard1-6/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5034 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Show check box for toggle ports and ellipsis for enumeration (menu) ports.David Robillard1-37/+136
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5033 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Fix strange bug where canvas stops updating entirely on node removal.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5025 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Fix text on circles.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4926 a436a847-0d15-0410-975c-d299462d15a1
2012-11-14Fix wonky edge selection behaviour when selecting ports.David Robillard1-6/+4
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-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4648 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix unnecessary implicit float=>double conversions.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4645 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix prototypes.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4632 a436a847-0d15-0410-975c-d299462d15a1
2012-05-24Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4456 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix glib variant reference warnings.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4373 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Fix warnings about non-parent items.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4304 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix port resizing when reducing font size.David Robillard1-4/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4263 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix downward signal flow display (i.e. port labels disabled).David Robillard1-15/+70
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4260 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Fix errors when port has no label.ganv/src/port.cDavid Robillard1-15/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4249 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix wonky port sizes when restoring a patch.David Robillard1-23/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4230 a436a847-0d15-0410-975c-d299462d15a1
2012-03-28Fix control rect colour and label stacking.David Robillard1-1/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4124 a436a847-0d15-0410-975c-d299462d15a1
2012-03-12Make port controls actually do something.David Robillard1-6/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4051 a436a847-0d15-0410-975c-d299462d15a1
2012-01-11Fix crash on shutdown and item deletion.David Robillard1-3/+2
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-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3888 a436a847-0d15-0410-975c-d299462d15a1
2011-12-18Fix module layout.David Robillard1-7/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3887 a436a847-0d15-0410-975c-d299462d15a1