Changeset 33004
- Timestamp:
- 02/14/15 23:39:41 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinadjust.h
r32307 r33004 18 18 struct skin* tithek_selectcol = getscreennode(skinadjust, "tithek_selectcol"); 19 19 struct skin* filelistselect = getscreennode(skinadjust, "filelistselect"); 20 struct skin* bordercolselect = getscreennode(skinadjust, "bordercolselect"); 20 21 21 22 struct skin* oled_sel = getscreennode(skinadjust, "oled_sel"); … … 123 124 addchoicebox(tithek_selectcol, "1", _("press green")); 124 125 addchoicebox(filelistselect, "2", _("press yellow")); 126 addchoicebox(bordercolselect, "2", _("press blue")); 125 127 126 128 drawscreen(skinadjust, 0, 0); … … 231 233 } 232 234 235 if(rcret == getrcconfigint("rcblue", NULL)) 236 { 237 if(listbox->select != NULL && ostrcmp(listbox->select->name, "bordercolselect") == 0) 238 { 239 long oldbordercolselect = convertcol("bordercolselect"); 240 char* tmpstr = screencolorpicker(getskinconfig("bordercolselect", NULL), 0, 0, 0); 241 if(tmpstr != NULL) 242 addskinconfigtmp("bordercolselect", tmpstr); 243 if(oldbordercolselect != convertcol("bordercolselect")) reboot = 1; 244 drawscreen(skinadjust, 0, 0); 245 } 246 247 continue; 248 } 249 233 250 if(rcret == getrcconfigint("rcok", NULL)) 234 251 {
Note: See TracChangeset
for help on using the changeset viewer.