mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-24 08:40:01 +01:00
issue #117
This commit is contained in:
@@ -1680,6 +1680,16 @@ void on_loop_pingpong_clicked(GtkWidget *widget, gpointer user_data)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void on_loop_oncenop_clicked(GtkWidget *widget, gpointer user_data)
|
||||
{
|
||||
if(!info->status_lock)
|
||||
{
|
||||
multi_vims(VIMS_SAMPLE_SET_LOOPTYPE,"%d %d",0,4);
|
||||
vj_midi_learning_vims_msg2(info->midi,NULL,VIMS_SAMPLE_SET_LOOPTYPE,0,4);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void on_check_marker_bind_clicked(GtkWidget *widget, gpointer user_data)
|
||||
{
|
||||
|
||||
@@ -2371,6 +2371,8 @@ int get_loop_value()
|
||||
return 2;
|
||||
else if (is_button_toggled("loop_random"))
|
||||
return 3;
|
||||
if( is_button_toggled( "loop_oncenop" ))
|
||||
return 4;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@@ -3311,6 +3313,9 @@ static void update_current_slot(int *history, int pm, int last_pm)
|
||||
case 3:
|
||||
set_toggle_button("loop_random", 1 );
|
||||
break;
|
||||
case 4:
|
||||
set_toggle_button("loop_oncenop", 1 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user