Changeset 22355


Ignore:
Timestamp:
07/12/13 10:42:17 (11 years ago)
Author:
nit
Message:

[titan] test change select color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinadjust.h

    r22350 r22355  
    1616        struct skin* piconpath = getscreennode(skinadjust, "piconpath");
    1717        struct skin* showrecfreesize = getscreennode(skinadjust, "showrecfreesize");
     18        struct skin* listboxselect = getscreennode(skinadjust, "listboxselect");
    1819        struct skin* tmp = NULL;
    1920        char* ret = NULL;
     
    122123                                continue;
    123124                        }
     125                       
     126                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "listboxselect") == 0)
     127                        {
     128                                char* tmpstr = screencolorpicer(getskinconfig("listboxselect", NULL), 0, 0, 0);
     129                                if(tmpstr != NULL)
     130                                        addskinconfig("listboxselect", tmpstr);
     131                                drawscreen(skinadjust, 0, 0);
     132                                continue;
     133                        }
    124134
    125135                        break;
Note: See TracChangeset for help on using the changeset viewer.