diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-11 04:02:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-11 04:02:46 +0000 |
commit | 7c9c4d6dc746604eac95d0ee767a9b9f2795366e (patch) | |
tree | 394c74f26eccae161db113498ae6a180d9ca9373 /libs/surfaces/mackie/controls.cc | |
parent | 722defe41a6119cfe6e9f5a66fdcb2408c12a455 (diff) |
MCP: breakout Led class code; remove builder code for Led changes and put it into Led::set_state() which returns the (possibly empty) MIDI data needed to go back to the MCP device to change the LED visible state
git-svn-id: svn://localhost/ardour2/branches/3.0@11886 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/controls.cc')
-rw-r--r-- | libs/surfaces/mackie/controls.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/surfaces/mackie/controls.cc b/libs/surfaces/mackie/controls.cc index 745da21969..972a28cb0d 100644 --- a/libs/surfaces/mackie/controls.cc +++ b/libs/surfaces/mackie/controls.cc @@ -98,16 +98,6 @@ Pot::factory (Surface& surface, int id, const char* name, Group& group) } Control* -Led::factory (Surface& surface, int id, const char* name, Group& group) -{ - Led* l = new Led (id, name, group); - surface.leds[id] = l; - surface.controls.push_back (l); - group.add (*l); - return l; -} - -Control* Jog::factory (Surface& surface, int id, const char* name, Group& group) { Jog* j = new Jog (id, name, group); |