Changeset 38473 for titan


Ignore:
Timestamp:
09/02/16 19:52:31 (6 years ago)
Author:
obi
Message:

move minitv to skinadjust

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/adjust.h

    r37139 r38473  
    4646        struct skin* crosscontrol = getscreennode(adjust, "crosscontrol");
    4747        struct skin* emucontrol = getscreennode(adjust, "emucontrol");
    48         struct skin* minitv = getscreennode(adjust, "choiceminitv");
    4948        struct skin* usecec = getscreennode(adjust, "usecec");
    5049        struct skin* playerbuffersize = getscreennode(adjust, "playerbuffersize");
     
    235234        addchoicebox(emucontrol, "1", _("yes"));
    236235        setchoiceboxselection(emucontrol, getconfig("emucontrol", NULL));
    237 
    238         addchoicebox(minitv, "0", _("no"));
    239         addchoicebox(minitv, "1", _("yes"));
    240         setchoiceboxselection(minitv, getconfig("minitv", NULL));
    241236
    242237        addchoicebox(usecec, "0", _("no"));
     
    568563                        addconfigscreencheck("emucontrol", emucontrol, "0");
    569564
    570                         if(ostrcmp(minitv->ret, "1") == 0) resettvpic();
    571                         addconfigscreencheck("minitv", minitv, "0");
    572 
    573565                        if(checkbox("ATEMIO510") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1 || checkbox("ATEMIO7600") == 1 || checkbox("UFS912") == 1 || checkbox("UFS913") == 1 || checkbox("SPARK") == 1 || checkbox("SPARK7162") == 1)
    574566                                addconfigscreencheck("usecec", usecec, "0");
  • titan/titan/skinadjust.h

    r38463 r38473  
    5353        struct skin* emurunningcol = getscreennode(skinadjust, "emurunningcol");
    5454        struct skin* favcol = getscreennode(skinadjust, "favcol");
     55        struct skin* minitv = getscreennode(skinadjust, "choiceminitv");
    5556
    5657        struct skin* infobar_sel = getscreennode(skinadjust, "infobar_sel");
     
    178179        addchoicebox(showrecfreesize, "2", _("GB"));
    179180        setchoiceboxselection(showrecfreesize, getconfig("showrecfreesize", NULL));
     181
     182        addchoicebox(minitv, "0", _("no"));
     183        addchoicebox(minitv, "1", _("yes"));
     184        setchoiceboxselection(minitv, getskinconfig("minitv", NULL));
    180185
    181186        addchoicebox(listboxselect, "0", getskinconfig("listboxselect", NULL));
     
    844849                                oshutdown(3, 0);
    845850                        }
    846                        
     851
     852                        if(ostrcmp(minitv->ret, "1") == 0) resettvpic();
     853                        addskinconfigscreencheck("minitv", minitv, "0");
     854
    847855                        int oldfontsizeadjust = getskinconfigint("fontsizeadjust", NULL);
    848856                        addskinconfigscreencheck("fontsizeadjust", fontsizeadjust, "0");
Note: See TracChangeset for help on using the changeset viewer.