mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
add hint for bpm limits
This commit is contained in:
parent
ac6d1fc4cc
commit
fe77d3ca63
1 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,9 @@ static void gmastertrack_button_callback(Fl_Widget *w, void *data)
|
|||
|
||||
} else if ( strcmp( w->label(), "Tap" ) == 0 ) {
|
||||
if ( Fl::event_button() == FL_RIGHT_MOUSE ) {
|
||||
const char* answer = fl_input("Enter BPM value: ");
|
||||
string question = "Enter BPM value (between " + to_string(MIN_TEMPO) + " and "
|
||||
+ to_string(MAX_TEMPO) + "):";
|
||||
const char* answer = fl_input(question.c_str());
|
||||
if(answer) {
|
||||
int bpm = atoi(answer);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue