aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/EdgeView.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-02-22Make edges opaque.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@5595 a436a847-0d15-0410-975c-d299462d15a1
2013-02-23Move Atom implementation out of Raul so it can depend on LV2.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@5076 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02More generic Atom class.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@5024 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Update copyright headers.David Robillard1-16/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4959 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Change model to have a single initial node.David Robillard1-3/+8
Merge multiple recording into branches off the same initial node. Make transport state sane with 3 distinct states. Handle announcing objects several times correctly. Don't send useless zero coordinates for new nodes, position in visible area. Rewrite and clean up Machine code. Update help. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4954 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Use lowercase namespace names.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4945 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Remove Raul::SharedPtr and switch to std::shared_ptr.David Robillard1-5/+9
Use project local short type aliases for shared_ptr and friends. Move Raul::Disposable and Raul::Manageable into Raul::Maid. Use sets to store machina nodes and edges to avoid O(n) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4939 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Bulk reformat.David Robillard1-18/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Don't use curved edges.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4928 a436a847-0d15-0410-975c-d299462d15a1
2013-01-11Bring Machina back into the fold (fix #844).David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4921 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Remove redundant _canvas field from Item.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3783 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Connection => Edge.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3745 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Remove redundant Connection::_source and Connection::_dest.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3708 a436a847-0d15-0410-975c-d299462d15a1
2011-11-30Remove old Connection handle stuff.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3703 a436a847-0d15-0410-975c-d299462d15a1
2011-11-28Remove Canvas::select_dash and Connection handle style stuff.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3668 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-2/+2
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/machina@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard1-1/+1
Instead, just store a pointer to the containing canvas in Items, since it should not be possible for an Item to outlive its containing Canvas anyway. Shrinks Item memory overhead a tad and gives a minor performance boost as an added bonus. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Avoid the awful Gnome::Canvas::Text entirely, saving a ton of memory.David Robillard1-3/+2
Instead, render the text to a Gnome::Canvas::Pixbuf, and simply render that, which consumes far less memory. Also, trim memory overhead per Node/Port/Connection considerably (mostly by using canvas object properties rather than redundant fields in classes, which are now removed). git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3350 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-6/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-01-10Rewrite with UI/engine split.David Robillard1-24/+40
Note some things aren't quite working right again yet... git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2821 a436a847-0d15-0410-975c-d299462d15a1
2010-12-22Update license to GPLv3.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2780 a436a847-0d15-0410-975c-d299462d15a1
2010-12-22Assign all objects a numeric ID at creation time.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2778 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Tidy.David Robillard1-13/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2765 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2590 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1999 a436a847-0d15-0410-975c-d299462d15a1
2008-11-17Compile.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1755 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1677 a436a847-0d15-0410-975c-d299462d15a1
2007-12-03Several machina-style canvas improvements (colour edges, edge handles, ↵David Robillard1-7/+50
better colour choices, etc). git-svn-id: http://svn.drobilla.net/lad/machina@941 a436a847-0d15-0410-975c-d299462d15a1
2007-10-21Fix (most of the) basic machina functionality.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@889 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Consistently rename all C++ files .cpp/.hpp.David Robillard1-1/+1
Fix (some) inclusion guard names to not clash with other libs. git-svn-id: http://svn.drobilla.net/lad/machina@613 a436a847-0d15-0410-975c-d299462d15a1
2007-06-06Nicer Flowcanvas naming.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/machina@529 a436a847-0d15-0410-975c-d299462d15a1
2007-04-17Event handling fixes.David Robillard1-10/+10
Changed button assignments to not conflict with canvas zooming. git-svn-id: http://svn.drobilla.net/lad/machina@450 a436a847-0d15-0410-975c-d299462d15a1
2007-04-06Email address and FSF copyright address updates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@405 a436a847-0d15-0410-975c-d299462d15a1
2007-04-02Edge label toggling.David Robillard1-3/+18
Made state properties dialog actually work. Other things... git-svn-id: http://svn.drobilla.net/lad/machina@390 a436a847-0d15-0410-975c-d299462d15a1
2007-03-30Canvas auto-layout uses durations like graphviz diagrams.David Robillard1-0/+7
Learning fixes. Added duration spinbutton to MIDI Import dialog. git-svn-id: http://svn.drobilla.net/lad/machina@381 a436a847-0d15-0410-975c-d299462d15a1
2007-03-12Removed name-based interface for FlowCanvas (using the view as a model = ↵David Robillard1-5/+5
evil), related performance improvements (especially for Machina). Updates for FlowCanvas API changes. Machina SMF import performance improvements (temporarily disabled node labels). git-svn-id: http://svn.drobilla.net/lad/machina@356 a436a847-0d15-0410-975c-d299462d15a1
2007-02-21Tempo based time in Machina (and related utilities added to Raul).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/machina@324 a436a847-0d15-0410-975c-d299462d15a1
2007-02-20New double buffer class in Raul (used for realtime-safe thread-safe writes ↵David Robillard1-0/+67
to variables used in the realtime audio thead). Manipulation of edge labels in Machina (left click and right click). git-svn-id: http://svn.drobilla.net/lad/machina@323 a436a847-0d15-0410-975c-d299462d15a1