Add support for saving/loading midi-controlled models

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1042 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-06-02 05:48:53 +00:00
parent 248dfcb1ee
commit fa5b0a0fec
3 changed files with 42 additions and 13 deletions

View File

@@ -36,6 +36,7 @@
#include "controller.h"
#include "controller_dialog.h"
#include "lfo_controller.h"
#include "midi_controller.h"
unsigned int controller::s_frames = 0;
@@ -154,6 +155,10 @@ controller * controller::create( ControllerTypes _ct, model * _parent )
c = new lfoController( _parent );
break;
case MidiController:
c = new midiController( _parent );
break;
default:
break;
}