Changeset 26722
- Timestamp:
- 03/02/14 11:12:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/keyactions.h
r25932 r26722 16 16 struct skin* child = plugin->child; 17 17 struct menulist* mlist = NULL, *mbox = NULL; 18 18 19 // needed for translation 20 char* tmptxt = NULL; 21 tmptxt = ostrcat(tmptxt, _("Extensions List"), 1, 0); 22 tmptxt = ostrcat(tmptxt, _("Auto Resolution"), 1, 0); 23 tmptxt = ostrcat(tmptxt, _("TV / Radio Switch"), 1, 0); 24 tmptxt = ostrcat(tmptxt, _("Softcam Panel"), 1, 0); 25 tmptxt = ostrcat(tmptxt, _("Multi EPG"), 1, 0); 26 tmptxt = ostrcat(tmptxt, _("Graphic Multi EPG"), 1, 0); 27 tmptxt = ostrcat(tmptxt, _("Sleep Timer"), 1, 0); 28 tmptxt = ostrcat(tmptxt, _("Child Protection"), 1, 0); 29 tmptxt = ostrcat(tmptxt, _("Subchannel"), 1, 0); 30 tmptxt = ostrcat(tmptxt, _("Downloads"), 1, 0); 31 free(tmptxt), tmptxt = NULL; 32 19 33 if(flag == 1) 20 34 { … … 48 62 } 49 63 50 //addmenulist(&mlist, _("Extensions List"), NULL, NULL, 0, 0);51 addmenulist(&mlist, _("Auto Resolution"), NULL, "resolution.png", 0, 0);64 //addmenulist(&mlist, "Extensions List", NULL, NULL, 0, 0); 65 addmenulist(&mlist, "Auto Resolution", NULL, "resolution.png", 0, 0); 52 66 if(checkemu() == 1) 53 addmenulist(&mlist, _("Softcam Panel"), NULL, NULL, 0, 0);54 //addmenulist(&mlist, _("TV / Radio Switch"), NULL, NULL, 0, 0);55 addmenulist(&mlist, _("Multi EPG"), NULL, NULL, 0, 0);56 addmenulist(&mlist, _("Graphic Multi EPG"), NULL, NULL, 0, 0);57 addmenulist(&mlist, _("Sleep Timer"), NULL, NULL, 0, 0);58 addmenulist(&mlist, _("Child Protection"), NULL, NULL, 0, 0);59 addmenulist(&mlist, _("Subchannel"), NULL, NULL, 0, 0);60 addmenulist(&mlist, _("Downloads"), NULL, NULL, 0, 0);67 addmenulist(&mlist, "Softcam Panel", NULL, NULL, 0, 0); 68 //addmenulist(&mlist, "TV / Radio Switch", NULL, NULL, 0, 0); 69 addmenulist(&mlist, "Multi EPG", NULL, NULL, 0, 0); 70 addmenulist(&mlist, "Graphic Multi EPG", NULL, NULL, 0, 0); 71 addmenulist(&mlist, "Sleep Timer", NULL, NULL, 0, 0); 72 addmenulist(&mlist, "Child Protection", NULL, NULL, 0, 0); 73 addmenulist(&mlist, "Subchannel", NULL, NULL, 0, 0); 74 addmenulist(&mlist, "Downloads", NULL, NULL, 0, 0); 61 75 62 76 mbox = menulistbox(mlist, NULL, skintitle, NULL, NULL, 1, 0); … … 82 96 83 97 debug(60, "key=%s", keyconf); 84 if(ostrcmp(keyconf, _("Softcam Panel")) == 0)98 if(ostrcmp(keyconf, "Softcam Panel") == 0) 85 99 { 86 100 screensoftcam(); … … 89 103 return; 90 104 } 91 else if(ostrcmp(keyconf, _("Subchannel")) == 0)105 else if(ostrcmp(keyconf, "Subchannel") == 0) 92 106 { 93 107 screenlinkedchannel(); … … 96 110 return; 97 111 } 98 else if(ostrcmp(keyconf, _("Auto Resolution")) == 0)112 else if(ostrcmp(keyconf, "Auto Resolution") == 0) 99 113 { 100 114 keyactions_setres(); … … 103 117 return; 104 118 } 105 else if(ostrcmp(keyconf, _("Extensions List")) == 0)119 else if(ostrcmp(keyconf, "Extensions List") == 0) 106 120 { 107 121 screenkeyactions(1, 1); … … 110 124 return; 111 125 } 112 else if(ostrcmp(keyconf, _("Multi EPG")) == 0)126 else if(ostrcmp(keyconf, "Multi EPG") == 0) 113 127 { 114 128 screenmultiepg(NULL, NULL, 0); … … 117 131 return; 118 132 } 119 else if(ostrcmp(keyconf, _("Graphic Multi EPG")) == 0)133 else if(ostrcmp(keyconf, "Graphic Multi EPG") == 0) 120 134 { 121 135 screengmultiepg(NULL, NULL, 0); … … 124 138 return; 125 139 } 126 else if(ostrcmp(keyconf, _("Sleep Timer")) == 0)140 else if(ostrcmp(keyconf, "Sleep Timer") == 0) 127 141 { 128 142 screenpowerofftimer(); … … 131 145 return; 132 146 } 133 else if(ostrcmp(keyconf, _("Child Protection")) == 0)147 else if(ostrcmp(keyconf, "Child Protection") == 0) 134 148 { 135 149 screenpin(); … … 138 152 return; 139 153 } 140 else if(ostrcmp(keyconf, _("Downloads")) == 0)154 else if(ostrcmp(keyconf, "Downloads") == 0) 141 155 { 142 156 screenbgdownload(0); … … 145 159 return; 146 160 } 147 else if(ostrcmp(keyconf, _("MediaDB Scan Info")) == 0)161 else if(ostrcmp(keyconf, "MediaDB Scan Info") == 0) 148 162 { 149 163 get_mediadb_scan_info();
Note: See TracChangeset
for help on using the changeset viewer.