remove scrollbars from javelin scope (#4618)

This commit is contained in:
commy2 2016-10-30 14:46:31 +01:00 committed by GitHub
parent e84cdef817
commit 18e5fa2849

View File

@ -1,14 +1,11 @@
class RscOpticsValue; class RscOpticsValue;
class RscControlsGroup; class RscControlsGroupNoScrollbars;
class RscPicture; class RscPicture;
class RscMapControl; class RscMapControl;
class VScrollbar;
class HScrollbar;
class RscLine; class RscLine;
// Taken from AGM for optics management. // Taken from AGM for optics management.
class RscInGameUI { class RscInGameUI {
class ACE_RscOptics_javelin { class ACE_RscOptics_javelin {
idd = 300; idd = 300;
@ -16,24 +13,13 @@ class RscInGameUI {
onLoad = QUOTE(_this call FUNC(onOpticLoad)); onLoad = QUOTE(_this call FUNC(onOpticLoad));
onUnload = QUOTE(_this call FUNC(onOpticUnload)); onUnload = QUOTE(_this call FUNC(onOpticUnload));
class GVAR(elements_group): RscControlsGroup class GVAR(elements_group): RscControlsGroupNoScrollbars {
{
x = "SafezoneX"; x = "SafezoneX";
y = "SafezoneY"; y = "SafezoneY";
w = "SafezoneW"; w = "SafezoneW";
h = "SafezoneH"; h = "SafezoneH";
idc = 170; idc = 170;
class VScrollbar {
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
color[] = {1,1,1,0};
width = 0.001;
};
class HScrollbar {
color[] = {1,1,1,0};
height = 0.001;
};
class Controls { class Controls {
class CA_Distance: RscOpticsValue { class CA_Distance: RscOpticsValue {
idc = 151; idc = 151;
@ -63,23 +49,13 @@ class RscInGameUI {
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX"; x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\wfov_co.paa"; text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\wfov_co.paa";
}; };
class GVAR(WFOV_mode_group): RscControlsGroup { class GVAR(WFOV_mode_group): RscControlsGroupNoScrollbars {
x = "SafezoneX"; x = "SafezoneX";
y = "SafezoneY"; y = "SafezoneY";
w = "SafezoneW"; w = "SafezoneW";
h = "SafezoneH"; h = "SafezoneH";
idc = 163; idc = 163;
class VScrollbar {
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
color[] = {1,1,1,0};
width = 0.001;
};
class HScrollbar {
color[] = {1,1,1,0};
height = 0.001;
};
class Controls { class Controls {
class StadiaL: RscLine { class StadiaL: RscLine {
x = "0.4899*SafezoneW - SafezoneX"; x = "0.4899*SafezoneW - SafezoneX";
@ -131,23 +107,13 @@ class RscInGameUI {
x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX"; x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\nfov_co.paa"; text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\nfov_co.paa";
}; };
class GVAR(NFOV_mode_group): RscControlsGroup { class GVAR(NFOV_mode_group): RscControlsGroupNoScrollbars {
x = "SafezoneX"; x = "SafezoneX";
y = "SafezoneY"; y = "SafezoneY";
w = "SafezoneW-SafezoneX"; w = "SafezoneW-SafezoneX";
h = "SafezoneH-SafezoneY"; h = "SafezoneH-SafezoneY";
idc = 162; idc = 162;
class VScrollbar {
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
color[] = {1,1,1,0};
width = 0.001;
};
class HScrollbar {
color[] = {1,1,1,0};
height = 0.001;
};
class Controls { class Controls {
class StadiaL: RscLine { class StadiaL: RscLine {
x = "0.4788*SafezoneW - SafezoneX"; x = "0.4788*SafezoneW - SafezoneX";
@ -251,7 +217,7 @@ class RscInGameUI {
}; };
}; };
}; };
class ACE_Targeting : RscControlsGroup { class ACE_Targeting: RscControlsGroupNoScrollbars {
idc = 6999; idc = 6999;
x = "SafezoneX"; x = "SafezoneX";
@ -261,24 +227,14 @@ class RscInGameUI {
enabled = 0; enabled = 0;
class Controls { class Controls {
class ACE_TargetingConstrains: RscControlsGroup { class ACE_TargetingConstrains: RscControlsGroupNoScrollbars {
x = "SafezoneX"; x = "SafezoneX";
y = "SafezoneY"; y = "SafezoneY";
w = "SafezoneW-SafezoneX"; w = "SafezoneW-SafezoneX";
h = "SafezoneH-SafezoneY"; h = "SafezoneH-SafezoneY";
enabled = 0; enabled = 0;
class VScrollbar {
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
color[] = {1,1,1,0};
width = 0.001;
};
class HScrollbar {
color[] = {1,1,1,0};
height = 0.001;
};
class Controls { class Controls {
class Top: RscPicture { class Top: RscPicture {
idc = 699101; idc = 699101;