Changeset 32303
- Timestamp:
- 01/11/15 02:51:50 (8 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/infobar.h
r32180 r32303 7 7 struct channel* pipchannel = NULL; 8 8 struct skin* playinfobarpic = getscreen("playinfobarpic"); 9 struct skin* infobar1 = getscreen("infobar"); 10 struct skin* infobar2 = getscreen("infobar2"); 9 10 char* infobar_sel = getskinconfig("infobar2_selection", NULL); 11 char* infobar2_sel = getskinconfig("infobar2_selection", NULL); 12 if(infobar_sel == NULL) ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default 13 if(infobar2_sel == NULL) ostrcat(infobar_sel, "infobar2", 0, 0); // fallback to default 14 15 struct skin* infobar1 = getscreen(infobar_sel); 16 struct skin* infobar2 = getscreen(infobar2_sel); 11 17 struct skin* infobar = infobar1; 12 18 struct skin* infobarm = infobar1; 19 20 free(infobar_sel); infobar_sel=NULL;free(infobar2_sel); infobar2_sel=NULL; 21 13 22 struct skin* standbymenu = NULL; 14 23 char* tmpstr = NULL; char* tmpnr = NULL; -
titan/titan/skinadjust.h
r32302 r32303 251 251 addskinconfigscreencheck("infobar_selection", infobar_sel, "0"); 252 252 if(ostrcmp(oldinfobar_sel,getskinconfig("infobar_selection", NULL)) != 0) reboot = 1; 253 free(oldinfobar_sel); oldinfobar_sel=NULL; 253 254 254 255 char* oldinfobar2_sel = getskinconfig("infobar2_selection", NULL); 255 256 addskinconfigscreencheck("infobar2_selection", infobar2_sel, "0"); 256 257 if(ostrcmp(oldinfobar2_sel,getskinconfig("infobar2_selection", NULL)) != 0) reboot = 1; 258 free(oldinfobar2_sel); oldinfobar2_sel=NULL; 257 259 258 260 writeskinconfigtmp();
Note: See TracChangeset
for help on using the changeset viewer.