0.5
This commit is contained in:
parent
d2b70a89d0
commit
f0242a7ad4
1 changed files with 34 additions and 29 deletions
|
@ -85,19 +85,21 @@ bool MainWindow::sende_befehl(){
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_pause_clicked(){
|
void MainWindow::on_pushButton_pause_clicked(){
|
||||||
|
if(status_auto=="an"){
|
||||||
while(status_loop=="ja")
|
while(status_loop=="ja")
|
||||||
ui->statusbar->showMessage("~");
|
ui->statusbar->showMessage("~");
|
||||||
if(status_player1=="play"){
|
if(status_player1=="play"){
|
||||||
befehl=befehl_pause1;
|
befehl=befehl_pause1;
|
||||||
sende_befehl();
|
sende_befehl();
|
||||||
|
|
||||||
}else if(status_player2=="play"){
|
}else if(status_player2=="play"){
|
||||||
befehl=befehl_pause2;
|
befehl=befehl_pause2;
|
||||||
sende_befehl();
|
sende_befehl();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_play_clicked(){
|
void MainWindow::on_pushButton_play_clicked(){
|
||||||
|
if(status_auto=="an"){
|
||||||
while(status_loop=="ja")
|
while(status_loop=="ja")
|
||||||
ui->statusbar->showMessage("~");
|
ui->statusbar->showMessage("~");
|
||||||
if(!(status_player1=="play") || !(status_player2=="play")){
|
if(!(status_player1=="play") || !(status_player2=="play")){
|
||||||
|
@ -112,13 +114,16 @@ void MainWindow::on_pushButton_play_clicked(){
|
||||||
sende_befehl();
|
sende_befehl();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_pushButton_fade_clicked(){
|
void MainWindow::on_pushButton_fade_clicked(){
|
||||||
|
if(status_auto=="an"){
|
||||||
while(status_loop=="ja")
|
while(status_loop=="ja")
|
||||||
ui->statusbar->showMessage("~");
|
ui->statusbar->showMessage("~");
|
||||||
if(status_player1=="play" || status_player2=="play"){
|
if(status_player1=="play" || status_player2=="play"){
|
||||||
befehl=befehl_fade;
|
befehl=befehl_fade;
|
||||||
sende_befehl();
|
sende_befehl();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue