Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 3 additions & 30 deletions addons/aircraft/RscInGameUI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ class RscPicture;
class RscOpticsText;
class RscIGProgress;
class RscOpticsValue;
class VScrollbar;
class HScrollbar;
class RscLadderPicture;
class RscControlsGroupNoScrollbars;

Expand All @@ -16,19 +14,9 @@ class RscInGameUI {
idd = 300;
controls[] = {"CA_IGUI_elements_group", "CA_VehicleToggles"};

class VScrollbar;
class HScrollbar;
class CA_IGUI_elements_group: RscControlsGroup {
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
idc = 170;

class VScrollbar: VScrollbar {
width = 0;
};

class HScrollbar: HScrollbar {
height = 0;
};

x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
w = "53.5 * (0.01875 * SafezoneH)";
Expand Down Expand Up @@ -177,17 +165,9 @@ class RscInGameUI {
idd = 300;
controls[] = {"CA_Zeroing", "CA_IGUI_elements_group", "CA_VehicleToggles"};

class CA_IGUI_elements_group: RscControlsGroup {
class CA_IGUI_elements_group: RscControlsGroupNoScrollbars {
idc = 170;

class VScrollbar: VScrollbar {
width = 0;
};

class HScrollbar: HScrollbar {
height = 0;
};

x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
w = "53.5 * (0.01875 * SafezoneH)";
Expand Down Expand Up @@ -360,16 +340,9 @@ class RscInGameUI {
idd = 300;
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"};

class DriverOpticsGroup: RscControlsGroup {
class DriverOpticsGroup: RscControlsGroupNoScrollbars {
idc = 392;

class VScrollbar: VScrollbar {
width = 0;
};

class HScrollbar: HScrollbar {
height = 0;
};
x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
w = "53.5 * (0.01875 * SafezoneH)";
Expand Down