summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/surface.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-22 17:37:52 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-22 17:37:52 +0000
commitac1b2a664711ce6e66c1bd37565c8066103a722a (patch)
treee8335287eeb2f4abcc860255a2dcf937a297f0c2 /libs/surfaces/mackie/surface.h
parent4901f9d1d20ea5878b34db025a3dc305d3a78c2e (diff)
MCP: another bevy of changes, including working jog wheel
git-svn-id: svn://localhost/ardour2/branches/3.0@12056 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/surface.h')
-rw-r--r--libs/surfaces/mackie/surface.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/surfaces/mackie/surface.h b/libs/surfaces/mackie/surface.h
index 747abad0cf..5ef29ca72a 100644
--- a/libs/surfaces/mackie/surface.h
+++ b/libs/surfaces/mackie/surface.h
@@ -9,7 +9,7 @@
#include "controls.h"
#include "types.h"
-#include "mackie_jog_wheel.h"
+#include "jog_wheel.h"
namespace MIDI {
class Parser;
@@ -131,8 +131,8 @@ public:
// display the first 2 chars of the msg in the 2 char display
// . is appended to the previous character, so A.B. would
// be two characters
- MidiByteArray two_char_display (const std::string & msg, const std::string & dots = " ");
- MidiByteArray two_char_display (unsigned int value, const std::string & dots = " ");
+ void show_two_char_display (const std::string & msg, const std::string & dots = " ");
+ void show_two_char_display (unsigned int value, const std::string & dots = " ");
/**
Timecode display. Only the difference between timecode and last_timecode will
@@ -148,6 +148,9 @@ public:
MackieControlProtocol& mcp() const { return _mcp; }
+ void next_jog_mode ();
+ void set_jog_mode (Mackie::JogWheel::Mode);
+
protected:
private:
@@ -161,7 +164,6 @@ public:
Mackie::JogWheel* _jog_wheel;
Fader* _master_fader;
- void jog_wheel_state_display (Mackie::JogWheel::State state);
void handle_midi_sysex (MIDI::Parser&, MIDI::byte *, size_t count);
MidiByteArray host_connection_query (MidiByteArray& bytes);
MidiByteArray host_connection_confirmation (const MidiByteArray& bytes);