summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.hpp
AgeCommit message (Collapse)AuthorFilesLines
2012-04-28Use "tail" and "head" terminology instead of "src_port" and "dst_port".David Robillard1-3/+3
Use the same types for connect() and disconnect() parameters. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4292 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Lint.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Remove using declarations from headers.David Robillard1-29/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4288 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Remove vestigial edit mode stuff.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4253 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Switch to AGPL3+.David Robillard1-16/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4111 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-13/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-03Don't expose canvas data structures.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3775 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Joinable => Node.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3751 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Connectable => Joinable.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3706 a436a847-0d15-0410-975c-d299462d15a1
2011-10-22De-singleton-ify GUI.David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1
2011-09-24Only store patch canvas coordinates in containing patch.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3483 a436a847-0d15-0410-975c-d299462d15a1
2011-06-10Avoid resizing entirely when adding a port and new size/etc is simple to ↵David Robillard1-1/+1
compute. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3382 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-5/+5
Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-04Make all Canvas data members private.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3357 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Move appropriate client headers to public include directory.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3319 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Remove use of ingen-config.h in soon-to-be-public headers.David Robillard1-3/+5
Make Lilv dependency mandatory. Reduce dependency on ingen-config.h. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3316 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make models const in client code.David Robillard1-11/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-6/+6
Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3222 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Switch to Lilv from SLV2.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3220 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-04-13Consistent local or installed includes for interface headers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3143 a436a847-0d15-0410-975c-d299462d15a1
2011-03-17Show plugin/port documentation in side pane when selected.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3103 a436a847-0d15-0410-975c-d299462d15a1
2010-12-14Apply patch from larsl to tolerate broken LV2 class hierarchies (ticket #529).David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2682 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Cascade when several objects are added via keyboard in sequence.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2522 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Pop up patch context menu on space or menu key press (i.e. ability to add ↵David Robillard1-1/+3
stuff without mouse). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2520 a436a847-0d15-0410-975c-d299462d15a1
2010-03-04Fix FlowCanvas key bindings (arrow scrolling and select-connect with enter).David Robillard1-3/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2517 a436a847-0d15-0410-975c-d299462d15a1
2010-02-26Add center parameter to FlowCanvas::Canvas::arrange with default value trueDavid Robillard1-1/+1
(eqivalent default behaviour to API pre-r2496). Add FlowCanvas::Canvas::move_contents_to to allow apps to move canvas contents to a given location (e.g. the origin or the center), keeping their relative distances the same. This commit preserves centering by default with the option to arrange in the top left, but applications shouldn't assume anything about the origin of coordinates (i.e. applications should manually scroll to where items exist when loading a set of items with coordinates, not simply assume they are centered about a particular location). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2500 a436a847-0d15-0410-975c-d299462d15a1
2010-02-02Use Glib string interning (quarks) to make Path/URI operator== very fast.David Robillard1-1/+1
This avoids a ton of string comparison overhead in Ingen when setting various properties (e.g. "ingen:value" was compared several times every time a port value was changed, now this is just a single pointer comparison and the full round trip of a value change does no string comparison at all, but is still property based and RDFey). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2408 a436a847-0d15-0410-975c-d299462d15a1
2010-02-01Use consistent and more globally unique inclusion guards.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2398 a436a847-0d15-0410-975c-d299462d15a1
2009-11-16Add edit checkbutton to canvas menu for fast mouse based control.David Robillard1-17/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2271 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Hide empty classes in plugin context menu (ticket #295).David Robillard1-1/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2084 a436a847-0d15-0410-975c-d299462d15a1
2009-05-27Remove 'new_patch', 'new_node', and 'new_port' from interface in favour of ↵David Robillard1-2/+0
generic 'put'. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2011 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-11Remove unused flag.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1979 a436a847-0d15-0410-975c-d299462d15a1
2009-05-11O(nlogn) plugin menu generation (previously O(n^2)) where n = number of ↵David Robillard1-3/+5
plugin classes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1978 a436a847-0d15-0410-975c-d299462d15a1
2009-05-11* New ontology.David Robillard1-3/+8
* Display human names on patch ports on creation, if enabled. * Fix copy/paste of subpatches. * Split properties into "properties" (class properties) and "variables" (instance properties). * Names are kind of a legacy leftover... * Remove special set poly / enable / etc events in favour of just setting properties (less API, extensible, RDF compatible). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1973 a436a847-0d15-0410-975c-d299462d15a1
2009-05-03Update waf configuration header for new waf scheme (in 1.5.6).David Robillard1-1/+1
Split low-level LV2 event buffer into separate class from EventBuffer (for reuse). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1958 a436a847-0d15-0410-975c-d299462d15a1
2008-12-21Change configuration header name to something less likely to conflict.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1887 a436a847-0d15-0410-975c-d299462d15a1
2008-12-16Trim include dependency tree.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1870 a436a847-0d15-0410-975c-d299462d15a1
2008-12-02Rewrite pretty much everything to do with paths in Serialiser to actually ↵David Robillard1-0/+1
make an ounce of sense. Fix various things with nested patches (fix tickets #286 #289). Cascade successive pastes nicely. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1840 a436a847-0d15-0410-975c-d299462d15a1
2008-11-22Vertical or Horizontal (i.e. hide port labels or show port labels) canvas ↵David Robillard1-0/+1
ordering option. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1770 a436a847-0d15-0410-975c-d299462d15a1
2008-11-22Add option to hide port labels.David Robillard1-5/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1767 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-10-12Remove meaningless/non-LV2/kludgey 'event' 'midi' and 'osc' distinction.David Robillard1-4/+0
Expose event ports to jack midi, again. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1665 a436a847-0d15-0410-975c-d299462d15a1
2008-10-07Add support for plugin class multiple inheritance (multiple menu entires for ↵David Robillard1-1/+1
a single plugin class). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1629 a436a847-0d15-0410-975c-d299462d15a1
2008-10-07Separate building skeleton plugin menu from adding plugins, and add plugins ↵David Robillard1-3/+13
on the fly (fix invisible plugin menu on startup problem). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1628 a436a847-0d15-0410-975c-d299462d15a1
2008-10-03Support building locally against header-only libraries in autowaf.David Robillard1-1/+1
Remove CONFIG_H_PATH define and replace with just "config.h" (define messed up dependency tracking). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1600 a436a847-0d15-0410-975c-d299462d15a1