aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaCanvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2007-04-17Event handling fixes.David Robillard1-3/+7
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-06Icon fixes.David Robillard1-7/+0
git-svn-id: http://svn.drobilla.net/lad/machina@402 a436a847-0d15-0410-975c-d299462d15a1
2007-04-05Code cleanups.David Robillard1-48/+0
git-svn-id: http://svn.drobilla.net/lad/machina@399 a436a847-0d15-0410-975c-d299462d15a1
2007-04-05Selector states.David Robillard1-0/+4
Togglable edge and state labels. Builder fixes. GUI/input/etc fixes. git-svn-id: http://svn.drobilla.net/lad/machina@398 a436a847-0d15-0410-975c-d299462d15a1
2007-03-31Fixed tempo skew (record vs playback).David Robillard1-1/+1
Recording/building algorithm fixes. Polished up GUI things. git-svn-id: http://svn.drobilla.net/lad/machina@384 a436a847-0d15-0410-975c-d299462d15a1
2007-03-31Realtime MIDI recording.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@383 a436a847-0d15-0410-975c-d299462d15a1
2007-03-30Canvas auto-layout uses durations like graphviz diagrams.David Robillard1-11/+11
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-26Deleting selected states with delete key.David Robillard1-1/+0
Fixed loading all states as initial. git-svn-id: http://svn.drobilla.net/lad/machina@378 a436a847-0d15-0410-975c-d299462d15a1