Changeset 28339
- Timestamp:
- 04/02/14 23:36:46 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r28211 r28339 1816 1816 if(checkbox("ATEMIO5200") == 1) 1817 1817 { 1818 if(ostrcmp("skinadjust", child->name) == 0) child->locked = 1;1818 // if(ostrcmp("skinadjust", child->name) == 0) child->locked = 1; 1819 1819 if(ostrcmp("system_backup", child->name) == 0) child->locked = 1; 1820 1820 } -
titan/titan/skinadjust.h
r27781 r28339 10 10 struct skin* listboxselecttype = getscreennode(skinadjust, "listboxselecttype"); 11 11 struct skin* osdtransparent = getscreennode(skinadjust, "osdtransparent"); 12 struct skin* leftoffset = getscreennode(skinadjust, "leftoffset"); 13 struct skin* rightoffset = getscreennode(skinadjust, "rightoffset"); 14 struct skin* topoffset = getscreennode(skinadjust, "topoffset"); 15 struct skin* bottomoffset = getscreennode(skinadjust, "bottomoffset"); 12 if(checkbox("ATEMIO5200") != 1) 13 { 14 struct skin* leftoffset = getscreennode(skinadjust, "leftoffset"); 15 struct skin* rightoffset = getscreennode(skinadjust, "rightoffset"); 16 struct skin* topoffset = getscreennode(skinadjust, "topoffset"); 17 struct skin* bottomoffset = getscreennode(skinadjust, "bottomoffset"); 18 } 16 19 struct skin* showrecfreesize = getscreennode(skinadjust, "showrecfreesize"); 17 20 struct skin* listboxselect = getscreennode(skinadjust, "listboxselect"); … … 65 68 tmp = listbox->select; 66 69 67 addconfigscreencheck("fbleftoffset", leftoffset, "0"); 68 if(status.leftoffset != getconfigint("fbleftoffset", NULL)) offsetchange = 1; 69 status.leftoffset = getconfigint("fbleftoffset", NULL); 70 if(checkbox("ATEMIO5200") != 1) 71 { 72 addconfigscreencheck("fbleftoffset", leftoffset, "0"); 73 if(status.leftoffset != getconfigint("fbleftoffset", NULL)) offsetchange = 1; 74 status.leftoffset = getconfigint("fbleftoffset", NULL); 75 76 addconfigscreencheck("fbrightoffset", rightoffset, "0"); 77 if(status.rightoffset != getconfigint("fbrightoffset", NULL)) offsetchange = 1; 78 status.rightoffset = getconfigint("fbrightoffset", NULL); 79 80 addconfigscreencheck("fbtopoffset", topoffset, "0"); 81 if(status.topoffset != getconfigint("fbtopoffset", NULL)) offsetchange = 1; 82 status.topoffset = getconfigint("fbtopoffset", NULL); 83 84 addconfigscreencheck("fbbottomoffset", bottomoffset, "0"); 85 if(status.bottomoffset != getconfigint("fbbottomoffset", NULL)) offsetchange = 1; 86 status.bottomoffset = getconfigint("fbbottomoffset", NULL); 87 88 if(offsetchange == 1 && (ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0)) clearfball(); 89 } 70 90 71 addconfigscreencheck("fbrightoffset", rightoffset, "0");72 if(status.rightoffset != getconfigint("fbrightoffset", NULL)) offsetchange = 1;73 status.rightoffset = getconfigint("fbrightoffset", NULL);74 75 addconfigscreencheck("fbtopoffset", topoffset, "0");76 if(status.topoffset != getconfigint("fbtopoffset", NULL)) offsetchange = 1;77 status.topoffset = getconfigint("fbtopoffset", NULL);78 79 addconfigscreencheck("fbbottomoffset", bottomoffset, "0");80 if(status.bottomoffset != getconfigint("fbbottomoffset", NULL)) offsetchange = 1;81 status.bottomoffset = getconfigint("fbbottomoffset", NULL);82 83 if(offsetchange == 1 && (ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0)) clearfball();84 85 91 drawscreen(skinadjust, 0, 0); 86 92 87 93 if(rcret == getrcconfigint("rcexit", NULL)) 88 94 { 89 addconfigint("fbleftoffset", oleftoffset); 90 status.leftoffset = getconfigint("fbleftoffset", NULL); 91 addconfigint("fbrightoffset", orightoffset); 92 status.rightoffset = getconfigint("fbrightoffset", NULL); 93 addconfigint("fbtopoffset", otopoffset); 94 status.topoffset = getconfigint("fbtopoffset", NULL); 95 addconfigint("fbbottomoffset", obottomoffset); 96 status.bottomoffset = getconfigint("fbbottomoffset", NULL); 97 clearfball(); 95 if(checkbox("ATEMIO5200") != 1) 96 { 97 addconfigint("fbleftoffset", oleftoffset); 98 status.leftoffset = getconfigint("fbleftoffset", NULL); 99 addconfigint("fbrightoffset", orightoffset); 100 status.rightoffset = getconfigint("fbrightoffset", NULL); 101 addconfigint("fbtopoffset", otopoffset); 102 status.topoffset = getconfigint("fbtopoffset", NULL); 103 addconfigint("fbbottomoffset", obottomoffset); 104 status.bottomoffset = getconfigint("fbbottomoffset", NULL); 105 clearfball(); 106 } 98 107 break; 99 108 }
Note: See TracChangeset
for help on using the changeset viewer.