ACE3/addons/common/MenuConfig.hpp

928 lines
32 KiB
C++
Raw Normal View History

#define HSPACE 0.3
#define VSPACE 0.3
#define BORDER 0.1
2015-01-13 19:56:02 +00:00
class GVAR(Interactive_Button_Base) {
2015-01-12 21:34:01 +00:00
tooltip = "";
action = "";
idc = -1;
access = 0;
style = 0;
type = 1;
text = "";
font = "PuristaMedium";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
shadow = 2;
x = 0;
y = 0;
w = 0;
h = 0;
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
borderSize = 0;
colorText[] = {1,1,1,1};
colorDisabled[] = {0.5,0.5,0.5,1};
colorBackground[] = {0,0,0,0.8};
colorBackgroundDisabled[] = {0,0,0,0.8};
colorBackgroundActive[] = {1,1,1,0.8};
colorFocused[] = {0,0,0,0};
colorShadow[] = {0,0,0,0};
colorBorder[] = {1,1,1,0.8};
soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1};
soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1};
soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1};
soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1};
};
#define HSPACE2 0.05
#define VSPACE2 0.05
#define BORDER 0.1
2015-01-13 19:56:02 +00:00
class GVAR(Text_Button_Base) {
2015-01-12 21:34:01 +00:00
idc = 2;
moving = 0;
text = "";
font = "PuristaMedium";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
lineSpacing = 0;
access = 0;
type = 0;
style = 2 + 0x800;
size = 1;
colorBackground[] = {0,0,0,0.8};
colorText[] = {1,1,1,1};
x = 0;
y = 0;
w = 0;
h = 0;
};
2015-01-13 19:56:02 +00:00
class GVAR(OptionsMenu_Dialog) {
2015-01-12 21:34:01 +00:00
idd = -1;
movingEnable = true;
2015-01-13 19:56:02 +00:00
onLoad = QUOTE(_dlgMenuDialog = _this select 0; for '_a' from 20 to 32 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 100 to 119 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 200 to 219 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 300 to 319 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 400 to 419 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 500 to 519 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(MenuDialog)),_dlgMenuDialog)];);
2015-01-12 21:34:01 +00:00
objects[] = {};
class controlsBackground {
class Background {
idc = 1;
moving = 0;
font = "TahomaB";
text = "";
sizeEx = 0;
lineSpacing = 0;
access = 0;
type = 0;
style = 0 + 0x800;
size = 1;
//colorBackground[] = {0, 0.265, 0, 0.5};
colorBackground[] = {0, 0, 0, 0.5};
colorText[] = {0, 0, 0, 0};
x = HSPACE2 / 2 * safezoneW + safezoneX;
y = VSPACE2 / 2 * safezoneH + safezoneY;
w = (1 - 2 * HSPACE2 / 2) * safezoneW;
h = (1 - 2 * VSPACE2 / 2) * safezoneH;
};
class Header {
idc = 2;
moving = 0;
text = "$STR_ACE_Common_Options";
font = "PuristaMedium";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
lineSpacing = 0;
access = 0;
type = 0;
style = 1 + 0x800;
size = 1;
//colorBackground[] = {0,0,0,0};
colorBackground[] = {1, 0.647, 0, 0.5};
colorText[] = {1,1,1,1};
x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 0.5 * 0.04) * safezoneH + safezoneY;
w = 4.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class ACE_Logo: GVAR(Interactive_Button_Base) {
2015-01-12 21:34:01 +00:00
action = "closeDialog 0;";
type = 0;
style = 48;
onMouseEnter = "hint ('_' + str(_this))";
tooltip = "";
text = "";//"\ACE_common\rsc\bwlogo.paa";
idc = 2;
x = ((1 - 2 * HSPACE2 / 2) - (HSPACE2 + 0.5 * 0.1)) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 1.0 / 16 * safezoneW;
h = 1.0 / 9 * safezoneH;
};
};
class controls {
2015-01-13 19:56:02 +00:00
class Text_Button0: GVAR(Text_Button_Base) {
2015-01-12 21:34:01 +00:00
idc = 100;
style = 0 + 0x800;
x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 4.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Text_Button1: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 101;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button2: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 102;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button3: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 103;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button4: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 104;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button5: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 105;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button6: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 106;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button7: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 107;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button8: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 108;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button9: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 109;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button10: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 110;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button11: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 111;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button12: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 112;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button13: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 113;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button14: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 114;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button15: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 115;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button16: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 116;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button17: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 117;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button18: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 118;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Button19: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 119;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
2015-01-13 19:56:02 +00:00
class Interactive_Button0: GVAR(Interactive_Button_Base) {
action = QUOTE(GVAR(keySet) = -1; [0] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
sizeEx = "0.8 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 200;
style = 2 + 0x800;
x = (HSPACE2 + 3 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 3.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button1: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [1] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 201;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button2: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [2] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 202;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button3: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [3] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 203;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button4: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [4] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 204;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button5: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [5] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 205;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button6: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [6] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 206;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button7: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [7] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 207;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button8: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [8] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 208;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button9: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [9] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 209;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button10: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [10] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 210;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button11: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [11] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 211;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button12: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [12] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 212;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button13: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [13] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 213;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button14: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [14] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 214;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button15: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [15] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 215;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button16: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [16] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 216;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button17: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [17] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 217;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button18: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [18] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 218;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Button19: Interactive_Button0 {
action = QUOTE(GVAR(keySet) = -1; [19] spawn GVAR(editKey));
2015-01-12 21:34:01 +00:00
idc = 219;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox0: Text_Button0 {
2015-01-12 21:34:01 +00:00
action = "hint '0'";
idc = 300;
//type = 0;
style = 48;
2015-01-13 05:14:27 +00:00
text = QUOTE(PATHTOF(UI\box_unchecked_ca.paa));
2015-01-12 21:34:01 +00:00
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
x = (HSPACE2 + 3 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 0.3 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox1: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 301;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox2: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 302;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox3: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 303;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox4: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 304;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox5: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 305;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox6: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 306;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox7: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 307;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox8: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 308;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox9: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 309;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox10: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 310;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox11: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 311;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox12: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 312;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox13: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 313;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox14: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 314;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox15: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 315;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox16: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 316;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox17: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 317;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox18: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 318;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_Checkbox19: Interactive_Checkbox0 {
2015-01-12 21:34:01 +00:00
action = "";
idc = 319;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
2015-01-13 19:56:02 +00:00
class Text_Checkbox0: Text_Button0 {
2015-01-12 21:34:01 +00:00
idc = 400;
x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 4.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox1: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 401;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox2: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 402;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox3: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 403;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox4: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 404;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox5: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 405;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox6: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 406;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox7: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 407;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox8: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 408;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox9: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 409;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox10: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 410;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox11: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 411;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox12: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 412;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox13: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 413;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox14: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 414;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox15: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 415;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox16: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 416;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox17: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 417;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox18: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 418;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Text_Checkbox19: Text_Checkbox0 {
2015-01-12 21:34:01 +00:00
idc = 419;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton0: GVAR(Interactive_Button_Base) {
action = QUOTE([0] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 500;
colorBackground[] = {0, 0, 0, 0};
colorBackgroundActive[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
x = (HSPACE2 + 3 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY;
w = 0.3 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton1: Interactive_CheckboxButton0 {
action = QUOTE([1] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 501;
y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton2: Interactive_CheckboxButton0 {
action = QUOTE([2] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 502;
y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton3: Interactive_CheckboxButton0 {
action = QUOTE([3] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 503;
y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton4: Interactive_CheckboxButton0 {
action = QUOTE([4] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 504;
y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton5: Interactive_CheckboxButton0 {
action = QUOTE([5] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 505;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton6: Interactive_CheckboxButton0 {
action = QUOTE([6] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 506;
y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton7: Interactive_CheckboxButton0 {
action = QUOTE([7] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 507;
y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton8: Interactive_CheckboxButton0 {
action = QUOTE([8] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 508;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton9: Interactive_CheckboxButton0 {
action = QUOTE([9] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 509;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton10: Interactive_CheckboxButton0 {
action = QUOTE([10] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 510;
y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton11: Interactive_CheckboxButton0 {
action = QUOTE([11] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 511;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton12: Interactive_CheckboxButton0 {
action = QUOTE([12] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 512;
y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton13: Interactive_CheckboxButton0 {
action = QUOTE([13] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 513;
y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton14: Interactive_CheckboxButton0 {
action = QUOTE([14] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 514;
y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton15: Interactive_CheckboxButton0 {
action = QUOTE([15] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 515;
y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton16: Interactive_CheckboxButton0 {
action = QUOTE([16] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 516;
y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton17: Interactive_CheckboxButton0 {
action = QUOTE([17] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 517;
y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton18: Interactive_CheckboxButton0 {
action = QUOTE([18] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 518;
y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class Interactive_CheckboxButton19: Interactive_CheckboxButton0 {
action = QUOTE([19] call GVAR(toggleState));
2015-01-12 21:34:01 +00:00
idc = 519;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
};
//////////////////////////////////////////////////
2015-01-13 19:56:02 +00:00
class TextBox_KeyChange: Text_Button0 {
2015-01-12 21:34:01 +00:00
text = "";
idc = 20;
style = 2 + 0x800;
x = (6 * 0.1) * safezoneW + safezoneX;
y = (8 * 0.04) * safezoneH + safezoneY;
w = (6.0 / 16 - HSPACE2 / 2) * safezoneW;
h = (3.0 / 9 - VSPACE2 / 2) * safezoneH;
};
2015-01-13 19:56:02 +00:00
/*class TextBox_Key_Shift: TextBox_KeyChange {
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Shift";
idc = 21;
colorText[] = {0.25,0.25,0.25,1};
colorBackground[] = {0,0,0,0};
x = (3 / 4 * HSPACE2 + 5.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Control: TextBox_Key_Shift {
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Ctrl";
idc = 22;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Alt: TextBox_Key_Shift {
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Alt";
idc = 23;
x = (3 / 4 * HSPACE2 + 7.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};*/
2015-01-13 19:56:02 +00:00
class TextBox_Key_Shift: Interactive_Button0 {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(42,[ARR_3(false,false,false)],42)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Shift";
sizeEx = "0.7 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 21;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0};
x = (3 / 4 * HSPACE2 + 6 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
w = 1.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Control: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(29,[ARR_3(false,false,false)],29)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Ctrl";
idc = 22;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Alt: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(56,[ARR_3(false,false,false)],56)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Alt";
idc = 23;
x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Shift_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(54,[ARR_3(false,false,false)],54)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Shift_Right";
idc = 27;
x = (3 / 4 * HSPACE2 + 6 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Control_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(157,[ARR_3(false,false,false)],157)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Ctrl_Right";
idc = 28;
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Alt_Right: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(184,[ARR_3(false,false,false)],184)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Alt_Right";
idc = 29;
x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Action: TextBox_KeyChange {
2015-01-12 21:34:01 +00:00
text = "";
idc = 30;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0};
sizeEx = "0.8 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_Default: TextBox_Key_Shift {
action = QUOTE(call GVAR(keysetDefault));
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_KeyDefault";
idc = 31;
x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key_None: TextBox_Key_Shift {
action = QUOTE(GVAR(keyNewTemp) = [ARR_3(0,[ARR_3(false,false,false)],0)];);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_KeyNone";
idc = 32;
x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY;
};
2015-01-13 19:56:02 +00:00
class TextBox_Key: TextBox_KeyChange {
2015-01-12 21:34:01 +00:00
text = "";
idc = 24;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0};
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
x = (3 / 4 * HSPACE2 + 6.75 * 0.1 - 2.0 / 16) * safezoneW + safezoneX;
y = (VSPACE2 + 8.5 * 0.04) * safezoneH + safezoneY;
w = 6.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonV: Interactive_Button0 {
action = QUOTE(ACE_Common_keySet = 1);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Save";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 25;
colorBackground[] = {0,0,0,0};
x = (HSPACE2 + 6 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonW: Interactive_ButtonV {
action = QUOTE(GVAR(keySet) = -1);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Cancel";
idc = 26;
x = (HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonX: Interactive_Button0 {
action = QUOTE(GVAR(keySave) = 1; closeDialog 0);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Save";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 10;
x = ((1 - 2 * HSPACE2 / 2) - (HSPACE2 + 2.5 * 0.1)) * safezoneW + safezoneX;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonY: Interactive_Button0 {
action = QUOTE(GVAR(keySave) = -1; closeDialog 0);
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Cancel";
sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs";
idc = 11;
x = ((1 - 2 * HSPACE2 / 2) - (HSPACE2 + 1 * 0.1)) * safezoneW + safezoneX;
y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY;
w = 2.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonA: GVAR(Interactive_Button_Base) {
action = QUOTE(false call GVAR(nextKeys));
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Prev";
idc = 12;
style = 2 + 0x800;
x = (HSPACE2 + 3 * 0.1) * safezoneW + safezoneX;
y = (VSPACE2 + 0.5 * 0.04) * safezoneH + safezoneY;
w = 1.0 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonB: Interactive_ButtonA {
action = QUOTE(true call GVAR(nextKeys));
2015-01-12 21:34:01 +00:00
text = "$STR_ACE_Common_Next";
idc = 13;
x = (HSPACE2 + 3 * 0.1 + 2.0 / 16) * safezoneW + safezoneX;
};
2015-01-13 19:56:02 +00:00
class Interactive_ButtonC: GVAR(Text_Button_Base) {
2015-01-12 21:34:01 +00:00
text = "";
idc = 14;
style = 2 + 0x800;
x = (HSPACE2 + 3 * 0.1 + 1.25 / 16) * safezoneW + safezoneX;
y = (VSPACE2 + 0.5 * 0.04) * safezoneH + safezoneY;
w = 0.5 / 16 * safezoneW;
h = 0.3 / 9 * safezoneH;
};
};
};