Skip to content

Commit

Permalink
Merge pull request #419 from CBATeam/safe162Keybinds
Browse files Browse the repository at this point in the history
Safe Pre/Post 1.62 changes for keybind GUI
  • Loading branch information
commy2 committed Jul 11, 2016
2 parents 61229a4 + 3fc99fe commit a429a07
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions addons/keybinding/gui/gui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class RscDisplayConfigure {
idc = 4302;
text = CSTRING(configureAddons);
onButtonClick = "_this call cba_keybinding_fnc_onButtonClick_configure";
x = "20.15 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX)";
y = "23 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))";
x = "20.15 * (((safezoneW / safezoneH) min 1.2) / 40) + ([safezoneX, safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2] select ((productVersion select 2) >= 162))";
y = "23 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/([1,2] select ((productVersion select 2) >= 162)))";
w = "12.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
Expand All @@ -44,8 +44,8 @@ class RscDisplayConfigure {
{
idc = 4303;
text = "$STR_A3_RscDisplayConfigure_ButtonKeyboard";
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX)";
y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))";
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + ([safezoneX, safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2] select ((productVersion select 2) >= 162))";
y = "2.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/([1,2] select ((productVersion select 2) >= 162)))";
w = "8 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
Expand All @@ -59,8 +59,8 @@ class RscDisplayConfigure {
};
idc = 4301;
enableDisplay = 0;
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + (safezoneX)";
y = "3.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))";
x = "1 * (((safezoneW / safezoneH) min 1.2) / 40) + ([safezoneX, safezoneX + (safezoneW - ((safezoneW / safezoneH) min 1.2))/2] select ((productVersion select 2) >= 162))";
y = "3.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + (safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))/([1,2] select ((productVersion select 2) >= 162)))";
w = "38 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "19.6 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";

Expand Down

0 comments on commit a429a07

Please sign in to comment.