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,21 +85,19 @@ 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")){
|
||||||
|
@ -115,10 +113,8 @@ void MainWindow::on_pushButton_play_clicked(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
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"){
|
||||||
|
@ -126,4 +122,3 @@ void MainWindow::on_pushButton_fade_clicked(){
|
||||||
sende_befehl();
|
sende_befehl();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue