Skip to content

Commit 90670ec

Browse files
authored
Aircraft - Remove unused base classes (#10955)
* Update RscInGameUI.hpp * Update RscInGameUI.hpp
1 parent e66c88e commit 90670ec

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

addons/aircraft/RscInGameUI.hpp

Lines changed: 3 additions & 30 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,19 +14,9 @@ class RscInGameUI {
1614
idd = 300;
1715
controls[] = {"CA_IGUI_elements_group", "CA_VehicleToggles"};
1816

19-
class VScrollbar;
20-
class HScrollbar;
21-
class CA_IGUI_elements_group: RscControlsGroup {
17+
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
2218
idc = 170;
2319

24-
class VScrollbar: VScrollbar {
25-
width = 0;
26-
};
27-
28-
class HScrollbar: HScrollbar {
29-
height = 0;
30-
};
31-
3220
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
3321
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
3422
w = "53.5 * (0.01875 * SafezoneH)";
@@ -177,17 +165,9 @@ class RscInGameUI {
177165
idd = 300;
178166
controls[] = {"CA_Zeroing", "CA_IGUI_elements_group", "CA_VehicleToggles"};
179167

180-
class CA_IGUI_elements_group: RscControlsGroup {
168+
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
181169
idc = 170;
182170

183-
class VScrollbar: VScrollbar {
184-
width = 0;
185-
};
186-
187-
class HScrollbar: HScrollbar {
188-
height = 0;
189-
};
190-
191171
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
192172
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
193173
w = "53.5 * (0.01875 * SafezoneH)";
@@ -360,16 +340,9 @@ class RscInGameUI {
360340
idd = 300;
361341
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"};
362342

363-
class DriverOpticsGroup: RscControlsGroup {
343+
class DriverOpticsGroup: RscControlsGroupNoScrollbars {
364344
idc = 392;
365345

366-
class VScrollbar: VScrollbar {
367-
width = 0;
368-
};
369-
370-
class HScrollbar: HScrollbar {
371-
height = 0;
372-
};
373346
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
374347
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
375348
w = "53.5 * (0.01875 * SafezoneH)";

0 commit comments

Comments
 (0)