aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaCanvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-02-02More generic Atom class.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@5024 a436a847-0d15-0410-975c-d299462d15a1
2013-01-14Fix creation of broken arcs when double clicking nodes.David Robillard1-4/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4985 a436a847-0d15-0410-975c-d299462d15a1
2013-01-14Fix deletion of nodes and edges.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4981 a436a847-0d15-0410-975c-d299462d15a1
2013-01-14Make quantize spinner control step record and new node length.David Robillard1-1/+2
Only quantize non-step recording if quantize checkbox is enabled. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4977 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Add two connect modes for fast chaining and fanning.David Robillard1-21/+31
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4962 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Lint.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4960 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-32/+33
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-13Show nodes after recording.David Robillard1-1/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4948 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Use lowercase namespace names.David Robillard1-11/+11
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-27/+29
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-12Fix MIDI import.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4932 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Add missing file.David Robillard1-7/+11
Break up deeply nested code. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4930 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Bulk reformat.David Robillard1-16/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Make double click show properties window.David Robillard1-0/+5
Fix crash on bad arc notifications. Show note label on nodes. Fix clash of machina_Edge and machina_MidiAction (duh). git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4927 a436a847-0d15-0410-975c-d299462d15a1
2013-01-11Bring Machina back into the fold (fix #844).David Robillard1-14/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4921 a436a847-0d15-0410-975c-d299462d15a1
2011-12-07Remove cruft from public API.David Robillard1-3/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3828 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Store C items in Canvas.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3792 a436a847-0d15-0410-975c-d299462d15a1
2011-12-03Don't expose canvas data structures.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3775 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-12-01Move color stuff down to C level.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3733 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Wrapper for signals.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3731 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Remove menu stuff from FlowCanvas.David Robillard1-5/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3717 a436a847-0d15-0410-975c-d299462d15a1
2011-11-29Remove libgnomecanvasmm dependency.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3685 a436a847-0d15-0410-975c-d299462d15a1
2011-11-28Remove Canvas::select_dash and Connection handle style stuff.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3668 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Handle adding and removing connections internally like with items.David Robillard1-8/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3635 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-10/+7
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-2/+2
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-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-01-10Rewrite with UI/engine split.David Robillard1-114/+78
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-18Remove LearnRequest from public engine API.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2763 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-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-27Build without eugene.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1944 a436a847-0d15-0410-975c-d299462d15a1
2008-11-17Run... almostDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1756 a436a847-0d15-0410-975c-d299462d15a1
2008-11-17Compile.David Robillard1-3/+7
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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-01-02Fix canvas scroll buttons.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/machina@1007 a436a847-0d15-0410-975c-d299462d15a1
2007-12-07It's evolution, baby.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/machina@958 a436a847-0d15-0410-975c-d299462d15a1
2007-12-06Rename uselessley verbose MachineMutation.[ch]ppDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/machina@953 a436a847-0d15-0410-975c-d299462d15a1
2007-12-05Working mutation operators.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@952 a436a847-0d15-0410-975c-d299462d15a1
2007-12-05Add preliminary mutation to machina (only random edge probability mutation ↵David Robillard1-3/+13
so far). git-svn-id: http://svn.drobilla.net/lad/machina@951 a436a847-0d15-0410-975c-d299462d15a1
2007-12-03Use dashed outline for selector nodes.David Robillard1-2/+3
Fix various selector node visual problems. git-svn-id: http://svn.drobilla.net/lad/machina@942 a436a847-0d15-0410-975c-d299462d15a1
2007-10-21Fix (most of the) basic machina functionality.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/machina@889 a436a847-0d15-0410-975c-d299462d15a1
2007-07-26Make canvas grab events.David Robillard1-1/+1
Remove silly ctrl+click zoom event grabs. Add concept of "edit mode", old behaviour = edit mode, edit mode off = no connections or module moving. git-svn-id: http://svn.drobilla.net/lad/machina@641 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-3/+3
git-svn-id: http://svn.drobilla.net/lad/machina@529 a436a847-0d15-0410-975c-d299462d15a1