From d7d3bddd56c603c4b5c46e4fcc8950c3efe48265 Mon Sep 17 00:00:00 2001 From: Jee-Bee Date: Tue, 3 Mar 2020 15:37:28 +0100 Subject: [PATCH] Change play stop to play pause symbols and test midi support to transport button --- src/controller/controller.hxx | 1 + src/gmastertrack.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controller/controller.hxx b/src/controller/controller.hxx index b577a172..6fd47282 100644 --- a/src/controller/controller.hxx +++ b/src/controller/controller.hxx @@ -68,6 +68,7 @@ public: virtual void masterVolume(float f) {} virtual void masterReturnVolume(float f) {} virtual void metronomeEnable(bool b) {} + virtual void EventTransportState(bool b) {} // add play pause to midi controller? /// FX virtual void trackSend(int t, int send, float v) {} diff --git a/src/gmastertrack.cxx b/src/gmastertrack.cxx index a25106ae..f05d013f 100644 --- a/src/gmastertrack.cxx +++ b/src/gmastertrack.cxx @@ -117,12 +117,12 @@ static void gmastertrack_transport_callback(Fl_Widget *w, void *data) if( b->value() ) { EventTransportState e = EventTransportState( TRANSPORT_ROLLING ); writeToDspRingbuffer( &e ); - w->label( "Stop" ); + w->label( "@#||" ); // Changed stop to pause symbol b->value( 0 ); } else { EventTransportState e = EventTransportState( TRANSPORT_STOPPED ); writeToDspRingbuffer( &e ); - w->label( "Play" ); + w->label( "@#>" ); // play symbol b->value( 1 ); }