summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/mackie_midi_builder.h
diff options
context:
space:
mode:
authorJohn Anderson <ardour@semiosix.com>2007-07-30 11:18:00 +0000
committerJohn Anderson <ardour@semiosix.com>2007-07-30 11:18:00 +0000
commitaee603ea9d7d2c317cf93783bdbafeec43d2ada4 (patch)
tree10850babac9dac58afab3ada40a35e3c91b12f86 /libs/surfaces/mackie/mackie_midi_builder.h
parent3451e48530ca681d34dab23da5bf1f2521b414ad (diff)
pass a Strip & to strip_display instead of integer. Implement and use strip_display_blank.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2186 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/mackie_midi_builder.h')
-rw-r--r--libs/surfaces/mackie/mackie_midi_builder.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/surfaces/mackie/mackie_midi_builder.h b/libs/surfaces/mackie/mackie_midi_builder.h
index d039fb43d1..96e4b3f0f9 100644
--- a/libs/surfaces/mackie/mackie_midi_builder.h
+++ b/libs/surfaces/mackie/mackie_midi_builder.h
@@ -62,6 +62,7 @@ public:
MidiByteArray build_fader( const Fader & fader, float pos );
/// return bytes that will reset all controls to their zero positions
+ /// And blank the display for the strip
MidiByteArray zero_strip( const Strip & strip );
// provide bytes to zero the given control
@@ -73,9 +74,11 @@ public:
MidiByteArray two_char_display( const std::string & msg, const std::string & dots = " " );
MidiByteArray two_char_display( unsigned int value, const std::string & dots = " " );
- /// for displaying a particular strip name
- /// index is zero-based
- MidiByteArray strip_display( unsigned int strip_index, unsigned int line_number, const std::string & line );
+ /// for displaying characters on the strip LCD
+ MidiByteArray strip_display( const Strip & strip, unsigned int line_number, const std::string & line );
+
+ /// blank the strip LCD, ie write all spaces
+ MidiByteArray strip_display_blank( const Strip & strip, unsigned int line_number );
/// for generating all strip names
MidiByteArray all_strips_display( std::vector<std::string> & lines1, std::vector<std::string> & lines2 );