Ignore:
Timestamp:
09/06/16 01:48:54 (6 years ago)
Author:
obi
Message:

add dynamic default skin infobar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r38001 r38592  
    2929        struct skin* infobar = infobar1;
    3030        struct skin* infobarm = infobar1;
     31
     32// dynamic default skin infobar start
     33        struct skin* infobar1_bottombar = getscreennode(infobar1, "bottombar");
     34        status.getepgaktstart = 0;
     35        status.getepgaktend = 0;
     36        status.getepgakttitle = 0;
     37        status.getepgakttimeremaining = 0;
     38        status.getepgnextstart = 0;
     39        status.getepgnextend = 0;
     40        status.getepgnexttitle = 0;
     41        status.getepgnexttimeremaining = 0;
     42
     43        if(status.fontsizeadjust > 0)
     44        {
     45                infobar1->height += (status.fontsizeadjust * 2);
     46                infobar1->posy -= (status.fontsizeadjust * 2);
     47                infobar1_bottombar->posy += (status.fontsizeadjust * 2);
     48
     49//              infobar2->height += (status.fontsizeadjust * 2);
     50//              infobar2->posy -= (status.fontsizeadjust * 4);
     51                infobar2->posy -= (status.fontsizeadjust * 2);
     52        }
     53// dynamic default skin infobar end
    3154
    3255        struct skin* standbymenu = NULL;
Note: See TracChangeset for help on using the changeset viewer.