Changeset 15271


Ignore:
Timestamp:
04/15/12 02:36:34 (10 years ago)
Author:
nit
Message:

[titan] add bgpic= to skinconfig, a background picture for all screens

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/defaults.h

    r15006 r15271  
    7777        status.listboxselecttype = getskinconfigint("listboxselecttype", NULL);
    7878        status.borderradius = getskinconfigint("borderradius", NULL);
     79        status.bgpic = getskinconfig("bgpic", NULL);
    7980        status.httpauth = ostrcat(getconfig("httpauth", NULL), NULL, 0, 0);
    8081        status.showchanneltimeline = getconfigint("showchanneltimeline", NULL);
  • titan/titan/skin.h

    r15262 r15271  
    28092809                        drawbgcol(node);
    28102810        }
     2811        if(node->child != NULL && status.bgpic != NULL)
     2812                drawpic(status.bgpic, node->iposx, node->iposy, node->iwidth, node->iheight, node->iwidth, node->iheight, node->halign, node->valign);
    28112813        if(node->gradient > 0)
    28122814                drawbggradient(node);
  • titan/titan/struct.h

    r15261 r15271  
    10551055        int topoffset;
    10561056        int bottomoffset;
     1057        //background picture for all screens
     1058        char* bgpic;
    10571059} status;
    10581060
Note: See TracChangeset for help on using the changeset viewer.