Changeset 32298
- Timestamp:
- 01/11/15 01:40:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinadjust.h
r30972 r32298 18 18 struct skin* tithek_selectcol = getscreennode(skinadjust, "tithek_selectcol"); 19 19 struct skin* filelistselect = getscreennode(skinadjust, "filelistselect"); 20 20 21 21 struct skin* oled_sel = getscreennode(skinadjust, "oled_sel"); 22 struct skin* infobar_sel = getscreennode(skinadjust, "infobar_sel"); 22 23 struct skin* pic1 = getscreennode(skinadjust, "pic1"); 23 24 struct skin* pic2 = getscreennode(skinadjust, "pic2"); 24 25 25 26 struct skin* tmp = NULL; 26 27 … … 33 34 addchoicebox(listboxselecttype, "3", _("picture")); 34 35 setchoiceboxselection(listboxselecttype, getskinconfig("listboxselecttype", NULL)); 35 36 36 37 changeinput(osdtransparent, "0\n5\n10\n15\n20\n25\n30\n35\n40\n45\n50\n55\n60\n65\n70"); 37 38 setchoiceboxselection(osdtransparent, getskinconfig("osdtransparent", NULL)); … … 91 92 if(checkscreen("OLED_nemesis_v6") != status.skinerr) 92 93 addchoicebox(oled_sel, "OLED_nemesis_v6","v6"); 93 94 94 95 setchoiceboxselection(oled_sel, getskinconfig("OLED_nemesis", NULL)); 95 96 } … … 97 98 oled_sel->hidden = YES; 98 99 100 if(checkscreen("infobar") != status.skinerr) 101 addchoicebox(infobar_sel, "infobar", "v1"); 102 if(checkscreen("infobar_v2") != status.skinerr) 103 addchoicebox(infobar_sel, "infobar_v2","v2"); 104 if(checkscreen("infobar_v3") != status.skinerr) 105 addchoicebox(infobar_sel, "infobar_v3","v3"); 106 setchoiceboxselection(infobar_sel, getskinconfig("infobarselection", NULL)); 107 99 108 addchoicebox(showrecfreesize, "0", _("no")); 100 109 addchoicebox(showrecfreesize, "1", _("yes (Text in %)")); 101 110 addchoicebox(showrecfreesize, "2", _("yes (Text in MB)")); 102 111 setchoiceboxselection(showrecfreesize, getconfig("showrecfreesize", NULL)); 103 112 104 113 addchoicebox(listboxselect, "0", _("press red")); 105 114 addchoicebox(tithek_selectcol, "1", _("press green")); … … 120 129 if(status.leftoffset != getconfigint("fbleftoffset", NULL)) offsetchange = 1; 121 130 status.leftoffset = getconfigint("fbleftoffset", NULL); 122 131 123 132 addconfigscreencheck("fbrightoffset", rightoffset, "0"); 124 133 if(status.rightoffset != getconfigint("fbrightoffset", NULL)) offsetchange = 1; 125 134 status.rightoffset = getconfigint("fbrightoffset", NULL); 126 135 127 136 addconfigscreencheck("fbtopoffset", topoffset, "0"); 128 137 if(status.topoffset != getconfigint("fbtopoffset", NULL)) offsetchange = 1; 129 138 status.topoffset = getconfigint("fbtopoffset", NULL); 130 139 131 140 addconfigscreencheck("fbbottomoffset", bottomoffset, "0"); 132 141 if(status.bottomoffset != getconfigint("fbbottomoffset", NULL)) offsetchange = 1; 133 142 status.bottomoffset = getconfigint("fbbottomoffset", NULL); 134 143 135 144 if(offsetchange == 1 && (ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0)) clearfball(); 136 145 … … 140 149 setfbosd(); 141 150 #endif 142 151 143 152 if((rcret == getrcconfigint("rcleft", NULL) || rcret == getrcconfigint("rcright", NULL)) && checkbox("ATEMIO-NEMESIS") == 1 && listbox->select != NULL && ostrcmp(listbox->select->name, "oled_sel") == 0) 144 153 { … … 153 162 free(tmpstr);tmpstr=NULL; 154 163 } 155 164 156 165 if(rcret == getrcconfigint("rcexit", NULL)) 157 166 { … … 179 188 drawscreen(skinadjust, 0, 0); 180 189 } 181 182 continue; 190 191 continue; 183 192 } 184 193 … … 194 203 drawscreen(skinadjust, 0, 0); 195 204 } 196 197 continue; 205 206 continue; 198 207 } 199 208 … … 209 218 drawscreen(skinadjust, 0, 0); 210 219 } 211 212 continue; 220 221 continue; 213 222 } 214 223 … … 218 227 addskinconfigscreencheck("fontsizeadjust", fontsizeadjust, "0"); 219 228 if(oldfontsizeadjust != getskinconfigint("fontsizeadjust", NULL)) reboot = 1; 220 status.fontsizeadjust = getskinconfigint("fontsizeadjust", NULL); 221 229 status.fontsizeadjust = getskinconfigint("fontsizeadjust", NULL); 230 222 231 addskinconfigscreencheck("listboxselecttype", listboxselecttype, "0"); 223 232 status.listboxselecttype = getskinconfigint("listboxselecttype", NULL); … … 229 238 if(checkbox("ATEMIO-NEMESIS")) 230 239 addskinconfigscreencheck("OLED_nemesis", oled_sel, "0"); 231 240 241 char* oldinfobar_sel = getskinconfig("infobarselection", NULL); 242 addskinconfigscreencheck("infobarselection", infobar_sel, "0"); 243 if(ostrcmp(oldinfobar_sel,getskinconfig("infobarselection", NULL)) != 0) reboot = 1; 244 status.infobar_sel = getskinconfig("infobarselection", NULL); 245 232 246 writeskinconfigtmp(); 233 247 if(reboot == 1) … … 236 250 oshutdown(3, 0); 237 251 } 238 252 239 253 break; 240 254 }
Note: See TracChangeset
for help on using the changeset viewer.