Compare commits
No commits in common. "0.5" and "0.4" have entirely different histories.
1 changed files with 26 additions and 31 deletions
|
@ -85,45 +85,40 @@ bool MainWindow::sende_befehl(){
|
|||
}
|
||||
|
||||
void MainWindow::on_pushButton_pause_clicked(){
|
||||
if(status_auto=="an"){
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(status_player1=="play"){
|
||||
befehl=befehl_pause1;
|
||||
sende_befehl();
|
||||
}else if(status_player2=="play"){
|
||||
befehl=befehl_pause2;
|
||||
sende_befehl();
|
||||
}
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(status_player1=="play"){
|
||||
befehl=befehl_pause1;
|
||||
sende_befehl();
|
||||
|
||||
}else if(status_player2=="play"){
|
||||
befehl=befehl_pause2;
|
||||
sende_befehl();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_pushButton_play_clicked(){
|
||||
if(status_auto=="an"){
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(!(status_player1=="play") || !(status_player2=="play")){
|
||||
if(status_player1=="pause"){
|
||||
befehl=befehl_play1;
|
||||
sende_befehl();
|
||||
}else if(status_player2=="pause"){
|
||||
befehl=befehl_play2;
|
||||
sende_befehl();
|
||||
}else{
|
||||
befehl=befehl_play1;
|
||||
sende_befehl();
|
||||
}
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(!(status_player1=="play") || !(status_player2=="play")){
|
||||
if(status_player1=="pause"){
|
||||
befehl=befehl_play1;
|
||||
sende_befehl();
|
||||
}else if(status_player2=="pause"){
|
||||
befehl=befehl_play2;
|
||||
sende_befehl();
|
||||
}else{
|
||||
befehl=befehl_play1;
|
||||
sende_befehl();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_pushButton_fade_clicked(){
|
||||
if(status_auto=="an"){
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(status_player1=="play" || status_player2=="play"){
|
||||
befehl=befehl_fade;
|
||||
sende_befehl();
|
||||
}
|
||||
while(status_loop=="ja")
|
||||
ui->statusbar->showMessage("~");
|
||||
if(status_player1=="play" || status_player2=="play"){
|
||||
befehl=befehl_fade;
|
||||
sende_befehl();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue