Changeset 18731


Ignore:
Timestamp:
11/23/12 21:06:20 (11 years ago)
Author:
nit
Message:

[titan] show records in gmultiepg

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/gmultiepg.h

    r18596 r18731  
    160160                                        if(gridbr == 0)
    161161                                        {
    162                                                 chnode1->titlesize = 1;
    163                                                 chnode1->type = TEXTBOX | GRIDBR;
     162                                                //used for left/right scroll
     163                                                chnode1->titlealign = 1;
     164                                                chnode1->type = TEXTBOX | GRIDBR | MULTIPROGRESSBAR;
    164165                                                if(tmpchannel == aktchannel)
    165166                                                {
     
    169170                                        }
    170171                                        else
    171                                                 chnode1->type = TEXTBOX;
     172                                                chnode1->type = TEXTBOX | MULTIPROGRESSBAR;
    172173                                        chnode1->wrap = YES;
    173174                                        gridbr = 1;
     
    195196                                                chnode1->deaktivcol = deaktivcol;
    196197                                       
    197                                         //TODO: record timeline
    198                                         //chnode1->type = MULTIPROGRESSBAR;
    199                                         //chnode1->progresscol = listbox->progresscol;
    200                                         //chnode1->epgrecord = getepgrecord(tmpchannel, epgnode);
     198                                        //record timeline
     199                                        chnode1->progresscol = listbox->progresscol;
     200                                        chnode1->epgrecord = getepgrecord(tmpchannel, epgnode);
    201201               
    202202                                        changetext(chnode1, epgnode->title);
     
    207207                                                if(marklast == 1 && tmpchannel == aktchannel)
    208208                                                        listbox->aktline = *aktline;
    209                                                 chnode1->titlesize += 2;
     209                                                //used for left/right scroll
     210                                                chnode1->titlealign += 2;
    210211                                                chnode1->width = listbox->iwidth - chnode1->posx;
    211212                                                break;
     
    215216                        }
    216217                       
    217                         if(chnode1 != NULL && chnode1->titlesize < 2) chnode1->titlesize += 2;
     218                        if(chnode1 != NULL && chnode1->titlealign < 2) chnode1->titlealign += 2;
    218219                       
    219220                        if(gridbr == 0)
     
    223224                                if(chnode1 != NULL)
    224225                                {
    225                                         chnode1->titlesize = 3;
     226                                        //used for left/right scroll
     227                                        chnode1->titlealign = 3;
    226228                                        (*aktline)++;
    227229                                        if(tmpchannel == aktchannel)
     
    675677                }
    676678
    677                 if((listbox->select != NULL && (listbox->select->titlesize == 1 || listbox->select->titlesize == 3) && rcret == getrcconfigint("rcright", NULL)) || rcret == getrcconfigint("rcff", NULL) || rcret == getrcconfigint("rcfav", NULL))
     679                if((listbox->select != NULL && (listbox->select->titlealign == 1 || listbox->select->titlealign == 3) && rcret == getrcconfigint("rcright", NULL)) || rcret == getrcconfigint("rcff", NULL) || rcret == getrcconfigint("rcfav", NULL))
    678680                {
    679681                        time_t tmptime = 0;
     
    769771                }
    770772
    771                 if((listbox->select != NULL && (listbox->select->titlesize == 2 || listbox->select->titlesize == 3) && rcret == getrcconfigint("rcleft", NULL)) || rcret == getrcconfigint("rcfr", NULL))
     773                if((listbox->select != NULL && (listbox->select->titlealign == 2 || listbox->select->titlealign == 3) && rcret == getrcconfigint("rcleft", NULL)) || rcret == getrcconfigint("rcfr", NULL))
    772774                {
    773775                        akttime -= addtime;
  • titan/titan/skin.h

    r18422 r18731  
    29012901
    29022902                if(val2 > val1)
    2903                         fillrect(node->rposx + node->bordersize + val1, node->rposy + node->bordersize, val2 - val1, node->iheight, node->progresscol, node->transparent);
     2903                        fillrect(node->rposx + node->bordersize + node->bgspace + val1, node->rposy + node->bgspace + node->bordersize, val2 - val1 + (node->bgspace * 2), node->iheight + (node->bgspace * 2), node->progresscol, node->transparent);
    29042904                epgrecord = epgrecord->next;
    29052905        }
Note: See TracChangeset for help on using the changeset viewer.