Skip to content

Commit 7bd814a

Browse files
committed
Update RscInGameUI.hpp
1 parent b8afd95 commit 7bd814a

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

addons/aircraft/RscInGameUI.hpp

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ class RscPicture;
55
class RscOpticsText;
66
class RscIGProgress;
77
class RscOpticsValue;
8-
class VScrollbar;
9-
class HScrollbar;
108
class RscLadderPicture;
119
class RscControlsGroupNoScrollbars;
1210

@@ -16,17 +14,9 @@ class RscInGameUI {
1614
idd = 300;
1715
controls[] = {"CA_IGUI_elements_group", "CA_VehicleToggles"};
1816

19-
class CA_IGUI_elements_group: RscControlsGroup {
17+
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
2018
idc = 170;
2119

22-
class VScrollbar: VScrollbar {
23-
width = 0;
24-
};
25-
26-
class HScrollbar: HScrollbar {
27-
height = 0;
28-
};
29-
3020
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
3121
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
3222
w = "53.5 * (0.01875 * SafezoneH)";
@@ -175,17 +165,9 @@ class RscInGameUI {
175165
idd = 300;
176166
controls[] = {"CA_Zeroing", "CA_IGUI_elements_group", "CA_VehicleToggles"};
177167

178-
class CA_IGUI_elements_group: RscControlsGroup {
168+
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
179169
idc = 170;
180170

181-
class VScrollbar: VScrollbar {
182-
width = 0;
183-
};
184-
185-
class HScrollbar: HScrollbar {
186-
height = 0;
187-
};
188-
189171
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
190172
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
191173
w = "53.5 * (0.01875 * SafezoneH)";
@@ -358,16 +340,9 @@ class RscInGameUI {
358340
idd = 300;
359341
controls[] = {"WeaponInfoControlsGroupRight", "CA_BackgroundVehicle", "CA_BackgroundVehicleTitle", "CA_BackgroundVehicleTitleDark", "CA_BackgroundFuel", "CA_Vehicle", "CA_VehicleRole", "CA_HitZones", "CA_SpeedBackground", "CA_SpeedUnits", "CA_Speed", "CA_ValueFuel", "CA_AltBackground", "CA_AltUnits", "CA_Alt", "CA_VehicleToggles", "CA_Radar", "DriverOpticsGroup"};
360342

361-
class DriverOpticsGroup: RscControlsGroup {
343+
class DriverOpticsGroup: RscControlsGroupNoScrollbars {
362344
idc = 392;
363345

364-
class VScrollbar: VScrollbar {
365-
width = 0;
366-
};
367-
368-
class HScrollbar: HScrollbar {
369-
height = 0;
370-
};
371346
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
372347
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
373348
w = "53.5 * (0.01875 * SafezoneH)";

0 commit comments

Comments
 (0)