Changeset 25556


Ignore:
Timestamp:
01/09/14 22:50:21 (9 years ago)
Author:
obi
Message:

remove rcswitch from adjust

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/adjust.h

    r25550 r25556  
    5050        struct skin* playerbufferseektime = getscreennode(adjust, "playerbufferseektime");
    5151        struct skin* sataswitch = getscreennode(adjust, "sataswitch");
    52         struct skin* rcswitch = getscreennode(adjust, "rcswitch");
    5352
    5453        struct skin* tmp = NULL;
     
    248247        else
    249248                sataswitch->hidden = YES;
    250 
    251         if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)
    252         {
    253                 rcswitch->hidden = NO;
    254                 addchoicebox(rcswitch, "0", _("old"));
    255                 addchoicebox(rcswitch, "1", _("new"));
    256                 setchoiceboxselection(rcswitch, getconfig("rcswitch", NULL));
    257         }
    258         else
    259                 rcswitch->hidden = YES;
    260249       
    261250        addchoicebox(playerbuffersize, "0", _("no"));
     
    369358                                addconfigscreencheck("usecec", usecec, "0");
    370359
    371                         if(checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)
    372                                 addconfigscreencheck("rcswitch", rcswitch, "0");
    373 
    374360                        if(checkbox("ATEMIO7600") == 1)
    375361                        {
  • titan/titan/infobar.h

    r25548 r25556  
    132132                }
    133133
    134                 if(rcret == getrcconfigint("rcpause", NULL) || (((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && ostrcmp(getconfig("rcswitch", NULL), "0") == 0) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0))
     134                if(rcret == getrcconfigint("rcpause", NULL) || ((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0))
    135135                {
    136136                        //timeshift
     
    163163                        if(rcret == getrcconfigint("rcplay", NULL))
    164164                        {
    165                                 if((checkbox("ATEMIO520") != 1 && checkbox("ATEMIO530") != 1 && status.timeshifttype == 1) || (ostrcmp(getconfig("rcswitch", NULL), "1") == 1 && (checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1)))
     165                                if(checkbox("ATEMIO520") != 1 && checkbox("ATEMIO530") != 1 && status.timeshifttype == 1)
    166166                                {
    167167                                        if(status.playing == 0 || (status.playspeed == 0 && status.slowspeed == 0 && status.pause == 0))
Note: See TracChangeset for help on using the changeset viewer.