source: titan/titan/scart.h @ 15272

Last change on this file since 15272 was 12501, checked in by obi, 10 years ago

[titan] change all textboxes ok/exit always allowed and change exit/ok to ok/exit

File size: 797 bytes
Line 
1#ifndef SCART_H
2#define SCART_H
3
4void screenscart()
5{
6        debug(1000, "in");
7        int rcret = 0;
8        char* tmpstr = NULL;
9
10        tmpstr = getvideomode();
11        if(ostrncmp("576i", tmpstr, 4) == 0 || ostrcmp("pal", tmpstr) == 0)
12        {
13                textbox(_("Message"), _("Change to scart"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
14                setinput("scart");
15                while(1)
16                {
17                        rcret = waitrc(NULL, 0, 0);
18                        if(rcret == getrcconfigint("rcback", NULL))
19                        {
20                                setinput("encoder");
21                                break;
22                        }
23                }
24        }
25        else
26                textbox(_("Message"), _("Videomode must be 576i for Scart"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
27        free(tmpstr); tmpstr = NULL;
28        debug(1000, "out");
29        return;
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.