Changeset 32302
- Timestamp:
- 01/11/15 02:24:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinadjust.h
r32301 r32302 21 21 struct skin* oled_sel = getscreennode(skinadjust, "oled_sel"); 22 22 struct skin* infobar_sel = getscreennode(skinadjust, "infobar_sel"); 23 struct skin* infobar2_sel = getscreennode(skinadjust, "infobar2_sel"); 23 24 struct skin* pic1 = getscreennode(skinadjust, "pic1"); 24 25 struct skin* pic2 = getscreennode(skinadjust, "pic2"); … … 106 107 setchoiceboxselection(infobar_sel, getskinconfig("infobar_selection", NULL)); 107 108 109 if(checkscreen("infobar2") != status.skinerr) 110 addchoicebox(infobar2_sel, "infobar2", "v1"); 111 if(checkscreen("infobar2_v2") != status.skinerr) 112 addchoicebox(infobar2_sel, "infobar2_v2","v2"); 113 if(checkscreen("infobar2_v3") != status.skinerr) 114 addchoicebox(infobar2_sel, "infobar2_v3","v3"); 115 setchoiceboxselection(infobar2_sel, getskinconfig("infobar2_selection", NULL)); 116 108 117 addchoicebox(showrecfreesize, "0", _("no")); 109 118 addchoicebox(showrecfreesize, "1", _("yes (Text in %)")); … … 242 251 addskinconfigscreencheck("infobar_selection", infobar_sel, "0"); 243 252 if(ostrcmp(oldinfobar_sel,getskinconfig("infobar_selection", NULL)) != 0) reboot = 1; 244 if(ostrcmp(getskinconfig("infobar_selection", NULL), "infobar") != 0) 245 addskinconfigscreencheck("infobar2_selection", "infobar2", "0"); 246 if(ostrcmp(getskinconfig("infobar_selection", NULL), "infobar_v2") != 0) 247 addskinconfigscreencheck("infobar2_selection", "infobar2_v2", "0"); 248 if(ostrcmp(getskinconfig("infobar_selection", NULL), "infobar_v3") != 0) 249 addskinconfigscreencheck("infobar2_selection", "infobar2_v3", "0"); 253 254 char* oldinfobar2_sel = getskinconfig("infobar2_selection", NULL); 255 addskinconfigscreencheck("infobar2_selection", infobar2_sel, "0"); 256 if(ostrcmp(oldinfobar2_sel,getskinconfig("infobar2_selection", NULL)) != 0) reboot = 1; 250 257 251 258 writeskinconfigtmp();
Note: See TracChangeset
for help on using the changeset viewer.