mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added more GUI elements to structure the ATragMX main page
This commit is contained in:
parent
ae3dad4f36
commit
454c6dfbfe
@ -263,7 +263,31 @@ class ATragMX_Display {
|
||||
idc=-1;
|
||||
x=0.55*safezoneW+safezoneX+0.315;
|
||||
};
|
||||
|
||||
|
||||
class TEXT_GUN_FRAME: ATragMX_RscText {
|
||||
idc=1001;
|
||||
style=64;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
y=0.265*safezoneH+safezoneY+0.25;
|
||||
w=0.0925;
|
||||
h=0.205;
|
||||
text="";
|
||||
};
|
||||
class TEXT_ATMOSPHERE_FRAME: TEXT_GUN_FRAME {
|
||||
idc=1002;
|
||||
x=0.550*safezoneW+safezoneX+0.205;
|
||||
};
|
||||
class TEXT_TARGET_FRAME: TEXT_GUN_FRAME {
|
||||
idc=1003;
|
||||
x=0.550*safezoneW+safezoneX+0.3;
|
||||
};
|
||||
class TEXT_RESULT_FRAME: TEXT_GUN_FRAME {
|
||||
idc=1004;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
y=0.265*safezoneH+safezoneY+0.46;
|
||||
w=0.2825;
|
||||
h=0.15;
|
||||
};
|
||||
class TEXT_GUN_PROFILE: ATragMX_RscText {
|
||||
idc=1000;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
@ -438,13 +462,13 @@ class ATragMX_Display {
|
||||
text="B";
|
||||
action=QUOTE(1 call FUNC(change_target_slot));
|
||||
};
|
||||
class TEXT_TARGET_C: TEXT_TARGET_B {
|
||||
class TEXT_TARGET_C: TEXT_TARGET_A {
|
||||
idc=502;
|
||||
x=0.550*safezoneW+safezoneX+0.2512;
|
||||
text="C";
|
||||
action=QUOTE(2 call FUNC(change_target_slot));
|
||||
};
|
||||
class TEXT_TARGET_D: TEXT_TARGET_B {
|
||||
class TEXT_TARGET_D: TEXT_TARGET_A {
|
||||
idc=503;
|
||||
x=0.550*safezoneW+safezoneX+0.2743;
|
||||
text="D";
|
||||
@ -511,7 +535,7 @@ class ATragMX_Display {
|
||||
class TEXT_ELEVATION: TEXT_GUN_PROFILE {
|
||||
idc=40;
|
||||
w=0.05;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
x=0.550*safezoneW+safezoneX+0.115;
|
||||
y=0.265*safezoneH+safezoneY+0.50;
|
||||
text="Elev";
|
||||
};
|
||||
@ -570,7 +594,7 @@ class ATragMX_Display {
|
||||
class TEXT_LEAD: TEXT_GUN {
|
||||
idc=42;
|
||||
w=0.05;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
x=0.550*safezoneW+safezoneX+0.115;
|
||||
y=0.265*safezoneH+safezoneY+0.57;
|
||||
text="Lead";
|
||||
action=QUOTE(GVAR(showWind2) = !GVAR(showWind2); call FUNC(update_result); call FUNC(update_target));
|
||||
@ -679,6 +703,7 @@ class ATragMX_Display {
|
||||
h=0.45;
|
||||
x=0.550*safezoneW+safezoneX+0.11;
|
||||
y=0.265*safezoneH+safezoneY+0.24;
|
||||
sizeEx=0.025;
|
||||
colorSelectBackground[]={0.15,0.21,0.23,0.3};
|
||||
colorSelectBackground2[]={0.15,0.21,0.23,0.3};
|
||||
onMouseButtonDblClick=QUOTE(true call FUNC(toggle_gun_list));
|
||||
|
@ -18,7 +18,7 @@
|
||||
GVAR(showMainPage) = _this;
|
||||
|
||||
{ctrlShow [_x, _this]} forEach [10, 100, 11, 110, 12, 120, 13, 130, 14, 140, 20, 200, 21, 210, 22, 220, 23, 230, 30, 300, 31, 310, 32, 320, 33, 330, 34, 340, 40, 400, 401, 402, 403, 41, 410, 411, 412, 42, 420,
|
||||
500, 501, 502, 503, 600, 601, 602, 603, 1000, 2000, 3000, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008];
|
||||
500, 501, 502, 503, 600, 601, 602, 603, 1000, 1001, 1002, 1003, 1004, 2000, 3000, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008];
|
||||
|
||||
if (_this) then {
|
||||
if (GVAR(atmosphereModeTBH)) then {
|
||||
|
Loading…
Reference in New Issue
Block a user