Ignore:
Timestamp:
01/04/14 23:20:52 (10 years ago)
Author:
gost
Message:

[plugins] tsSchnitt fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tsSchnitt/tsSchnitt.c

    r25453 r25455  
    102102                        {
    103103                                ischnitt = 2;
    104                                 textbox(_("INFO"), _("Schnitt erfolgreich beended"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
     104                                textbox(_("INFO"), _("Schnitt erfolgreich beendet"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);
    105105                        }
    106106                        else
     
    170170        struct skin* schnittprog = getscreennode(tsschnitt, "schnittprog");
    171171        struct skin* tmp = NULL;
     172        struct skin* load = getscreen("loading");
    172173       
    173174        while(1)
     
    214215               
    215216                if(imarker == 0)
    216                         changetext(marker, "no");
     217                        changetext(marker, "nein");
    217218                else if(imarker == 2)
    218                         changetext(marker, "yes");
     219                        changetext(marker, "ja");
    219220       
    220221                schnittprog->progresssize = 0;
     
    288289                                if(tsSchnittThread == NULL)
    289290                                {
     291                                        drawscreen(load, 0, 0);
    290292                                        tsSchnittThread = addtimer(&tsSchnitt_thread, START, 10000, 1, NULL, NULL, NULL);
    291293                                        sleep(1);
     294                                        clearscreen(load);
    292295                                        break;
    293296                                }
     
    299302                        if (rcret == getrcconfigint("rcred", NULL) && tsSchnittThread != NULL)
    300303                        {
     304                                drawscreen(load, 0, 0);
    301305                                tsSchnittThread->aktion = STOP;
    302306                                sleep(2);
     307                                clearscreen(load);
    303308                                break;
    304309                        }
Note: See TracChangeset for help on using the changeset viewer.