Changeset 30972
- Timestamp:
- 11/13/14 08:48:02 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinadjust.h
r30952 r30972 16 16 struct skin* showrecfreesize = getscreennode(skinadjust, "showrecfreesize"); 17 17 struct skin* listboxselect = getscreennode(skinadjust, "listboxselect"); 18 struct skin* tithek_selectcol = getscreennode(skinadjust, "tithek_selectcol"); 19 struct skin* filelistselect = getscreennode(skinadjust, "filelistselect"); 20 18 21 struct skin* oled_sel = getscreennode(skinadjust, "oled_sel"); 19 22 struct skin* pic1 = getscreennode(skinadjust, "pic1"); … … 100 103 101 104 addchoicebox(listboxselect, "0", _("press red")); 105 addchoicebox(tithek_selectcol, "1", _("press green")); 106 addchoicebox(filelistselect, "2", _("press yellow")); 102 107 103 108 drawscreen(skinadjust, 0, 0); … … 178 183 } 179 184 185 if(rcret == getrcconfigint("rcgreen", NULL)) 186 { 187 if(listbox->select != NULL && ostrcmp(listbox->select->name, "tithek_selectcol") == 0) 188 { 189 long oldtithek_selectcol = convertcol("tithek_selectcol"); 190 char* tmpstr = screencolorpicker(getskinconfig("tithek_selectcol", NULL), 0, 0, 0); 191 if(tmpstr != NULL) 192 addskinconfigtmp("tithek_selectcol", tmpstr); 193 if(oldtithek_selectcol != convertcol("tithek_selectcol")) reboot = 1; 194 drawscreen(skinadjust, 0, 0); 195 } 196 197 continue; 198 } 199 200 if(rcret == getrcconfigint("rcyellow", NULL)) 201 { 202 if(listbox->select != NULL && ostrcmp(listbox->select->name, "filelistselect") == 0) 203 { 204 long oldfilelistselect = convertcol("filelistselect"); 205 char* tmpstr = screencolorpicker(getskinconfig("filelistselect", NULL), 0, 0, 0); 206 if(tmpstr != NULL) 207 addskinconfigtmp("filelistselect", tmpstr); 208 if(oldfilelistselect != convertcol("filelistselect")) reboot = 1; 209 drawscreen(skinadjust, 0, 0); 210 } 211 212 continue; 213 } 214 180 215 if(rcret == getrcconfigint("rcok", NULL)) 181 216 {
Note: See TracChangeset
for help on using the changeset viewer.