Changeset 25582 for titan/titan
- Timestamp:
- 01/10/14 12:01:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/titan.c
r25581 r25582 843 843 addconfig("firststart", "0"); 844 844 } 845 846 if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) 847 { 848 struct menulist* mlist = NULL, *mbox = NULL; 849 addmenulist(&mlist, "RemoteControl Old Version", "0", NULL, 0, 0); 850 addmenulist(&mlist, "RemoteControl Long Version", "1", NULL, 0, 0); 845 851 852 mbox = menulistbox(mlist, "remotecontrol", "Select Your Remote Control", NULL, NULL, 3, 0); 853 if(mbox != NULL) 854 { 855 debug(10, "mbox->name %s", mbox->name); 856 debug(10, "mbox->text %s", mbox->text); 857 addconfig("remotecontrol", mbox->text); 858 writeallconfig(1); 859 } 860 } 861 846 862 //first wizzard 847 863 if(getconfigint("nofirstwizzard", NULL) < 2) … … 854 870 855 871 autoresolution(); 856 872 857 873 if(getconfigint("nofirstwizzard", NULL) == 0) 858 874 { … … 867 883 // resettvpic(); 868 884 869 if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) 885 screentunerconfig(); 886 resettvpic(); 887 screenscanconfig(1); 888 resettvpic(); 889 // screennetwork_adapter(); 890 // resettvpic(); 891 writevfd("Setting OK ?"); 892 if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2) 870 893 { 871 struct menulist* mlist = NULL, *mbox = NULL; 872 addmenulist(&mlist, "RemoteControl Old Version", "1", NULL, 0, 0); 873 addmenulist(&mlist, "RemoteControl Long Version", "0", NULL, 0, 0); 874 875 // mbox = menulistbox(mlist, "playlistmenu", NULL, "%pluginpath%/mc/skin", NULL, 1, 0); 876 mbox = menulistbox(mlist, "remotecontrol", "Select Your Remote Control", NULL, NULL, 3, 0); 877 if(mbox != NULL) 878 { 879 debug(10, "mbox->name %s", mbox->name); 880 debug(10, "mbox->text %s", mbox->text); 881 addconfig("remotecontrol", mbox->text); 882 writeallconfig(1); 883 } 894 goto firstwizzardstep1; 884 895 } 885 else 886 { 887 screentunerconfig(); 888 resettvpic(); 889 screenscanconfig(1); 890 resettvpic(); 891 // screennetwork_adapter(); 892 // resettvpic(); 893 writevfd("Setting OK ?"); 894 if(textbox(_("First Wizzard"), _("Settings OK ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 2) 895 { 896 goto firstwizzardstep1; 897 } 898 } 899 resettvpic(); 900 } 896 } 897 resettvpic(); 901 898 902 899 char* msg = NULL;
Note: See TracChangeset
for help on using the changeset viewer.