ACE3/addons/atragmx/RscTitles.hpp

1050 lines
36 KiB
C++
Raw Normal View History

#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
2015-04-07 21:03:30 +00:00
class ATragMX_RscText {
2015-04-07 20:44:26 +00:00
idc=-1;
type=0;
style=256;
colorDisabled[]={0,0,0,0.0};
colorBackground[]={0,0,0,0};
colorText[]={0,0,0,1};
text="";
x=0;
y=0;
h=0.037;
w=0.30;
font="TahomaB";
SizeEx=0.03;
shadow=0;
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
text="";
colorText[]={0,0,0,1};
colorDisabled[]={0,0,0,0.0};
colorBackground[]={0,0,0,0};
colorBackgroundDisabled[]={0,0,0,0};
colorBackgroundActive[]={0,0,0,0};
colorFocused[]={0,0,0,0};
colorShadow[]={0,0,0,0};
colorBorder[]={0,0,0,1};
soundEnter[]={"",0,1};
soundPush[]={"",0,1};
soundClick[]={"",0,1};
soundEscape[]={"",0,1};
type=1;
style="0x02+0x100";
x=0;
y=0;
w=0.03;
h=0.03;
font="TahomaB";
SizeEx=0.025;
offsetX=0.003;
offsetY=0.003;
offsetPressedX=0.0020;
offsetPressedY=0.0020;
borderSize=0;
shadow=0;
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
access=0;
type=2;
style=ST_RIGHT;
x=0;
y=0;
w=0.05;
h=0.03;
colorDisabled[]={0,0,0,0.0};
colorBackground[]={0,0,0,0};
colorText[]={0,0,0,1};
colorSelection[]={0,0,0,0.25};
font="TahomaB";
sizeEx=0.025;
text="";
size=0.2;
autocomplete="";
shadow=0;
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscToolbox {
2015-04-07 20:44:26 +00:00
type=6;
style=ST_LEFT;
x=0;
y=0;
w=0.2;
h=0.03;
colorDisabled[]={0,0,0,0.0};
colorBackground[]={1,1,1,1};
colorText[]={0,0,0,1};
color[]={0,0,0,0};
colorTextSelect[]={0.8,0.8,0.8,1};
colorSelect[]={0,0,0,1};
colorSelectedBg[]={0,0,0,1};
colorTextDisable[]={0.4,0.4,0.4,1};
2015-04-07 21:03:30 +00:00
colorDisable[]={0.4,0.4,0.4,1};
2015-04-07 20:44:26 +00:00
font="TahomaB";
sizeEx=0.027;
rows=1;
columns=2;
strings[]={"Entry 1","Entry 2"};
values[]={1,0};
onToolBoxSelChanged="";
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscListBox {
2015-04-07 20:44:26 +00:00
idc=-1;
type=5;
style=0;
font="TahomaB";
sizeEx=0.028;
rowHeight=0.03;
2015-04-07 20:44:26 +00:00
colorDisabled[]={0,0,0,0.0};
colorBackground[]={1,1,1,1};
colorText[]={0,0,0,1};
colorScrollbar[]={0.95,0.95,0.95,1};
colorSelect[]={0,0,0,1};
colorSelect2[]={0,0,0,1};
colorSelectBackground[]={0.925,0.925,0.925,1};
colorSelectBackground2[]={0.925,0.925,0.925,1};
period=0;
maxHistoryDelay=1.0;
autoScrollSpeed=-1;
autoScrollDelay=5;
autoScrollRewind=0;
soundSelect[]={"",0.09,1};
2015-04-07 21:03:30 +00:00
2015-04-07 20:44:26 +00:00
class ScrollBar {
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
2015-04-14 10:34:27 +00:00
//thumb="\ca\ui\data\igui_scrollbar_thumb_ca.paa";
//arrowFull="\ca\ui\data\igui_arrow_top_active_ca.paa";
//arrowEmpty="\ca\ui\data\igui_arrow_top_ca.paa";
//border="\ca\ui\data\igui_border_scroll_ca.paa";
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
2015-04-07 20:44:26 +00:00
class ListScrollBar : ScrollBar {
};
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscListNBox: ATragMX_RscListBox {
2015-04-07 20:44:26 +00:00
idc=-1;
type=102;
columns[]={0.0, 0.225, 0.475, 0.725};
drawSideArrows=0;
idcLeft=-1;
idcRight=-1;
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscControlsGroup {
2015-04-07 20:44:26 +00:00
type=15;
idc=-1;
style=16;
x=0;
y=0;
w=1;
h=1;
shadow=0;
2015-04-07 21:03:30 +00:00
class VScrollbar {
2015-04-07 20:44:26 +00:00
color[]={1,1,1,0.6};
width=0.021;
autoScrollSpeed=-1;
autoScrollDelay=5;
autoScrollRewind=0;
shadow=0;
};
2015-04-07 21:03:30 +00:00
class HScrollbar {
2015-04-07 20:44:26 +00:00
color[]={1,1,1,0.6};
height=0.028;
shadow=0;
};
2015-04-07 21:03:30 +00:00
class ScrollBar {
2015-04-07 20:44:26 +00:00
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
thumb="#(argb,8,8,3)color(1,1,1,1)";
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
border="#(argb,8,8,3)color(1,1,1,1)";
};
2015-04-07 21:03:30 +00:00
class Controls {
2015-04-07 20:44:26 +00:00
};
};
2015-04-07 21:03:30 +00:00
class ATragMX_RscLineBreak {
2015-04-07 20:44:26 +00:00
idc=-1;
type=98;
shadow=0;
};
2015-04-07 21:03:30 +00:00
class ATragMX_Display {
2015-04-07 20:44:26 +00:00
name="ATragMX_Display";
idd=-1;
onLoad="uiNamespace setVariable ['ATragMX_Display', (_this select 0)]";
movingEnable=1;
controlsBackground[]={};
objects[]={};
2015-04-07 21:03:30 +00:00
class controls {
class BACKGROUND {
2015-04-07 20:44:26 +00:00
moving=1;
type=0;
font="TahomaB";
SizeEX=0.025;
idc=-1;
style=48;
x=0.55*safezoneW+safezoneX-0.256;
y=0.265*safezoneH+safezoneY-0.1;
w=1.024;
h=1.024*4/3;
colorBackground[]={1,1,1,1};
colorText[]={1,1,1,1};
text=PATHTOF(UI\atrag.paa);
};
2015-04-07 21:03:30 +00:00
class POWER: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.145;
y=0.265*safezoneH+safezoneY+0.94;
w=0.045;
h=0.045*4/3;
colorBackground[]={0,0,0,0.0};
action="closeDialog 0";
};
2015-04-07 21:03:30 +00:00
class BACK: POWER {
2015-04-07 20:44:26 +00:00
idc=-1;
w=0.06;
x=0.55*safezoneW+safezoneX+0.3122;
action=QUOTE(call FUNC(init); call FUNC(update_target_selection));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class WINDOWS: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.130;
y=0.265*safezoneH+safezoneY+0.88;
w=0.035;
h=0.035*4/3;
colorBackground[]={0,0,0,0.0};
};
2015-04-07 21:03:30 +00:00
class OK: WINDOWS {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.347;
y=0.265*safezoneH+safezoneY+0.878;
};
2015-04-07 21:03:30 +00:00
class TOP: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.242;
y=0.265*safezoneH+safezoneY+0.85;
w=0.03;
h=0.03;
colorBackground[]={0,0,0,0.0};
action=QUOTE((GVAR(currentGun) + (count GVAR(gunList)) - 1) % (count GVAR(gunList)) call FUNC(change_gun));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class BOTTOM: TOP {
2015-04-07 20:44:26 +00:00
idc=-1;
y=0.265*safezoneH+safezoneY+0.955;
action=QUOTE((GVAR(currentGun) + (count GVAR(gunList)) + 1) % (count GVAR(gunList)) call FUNC(change_gun));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class LEFT: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.1925;
y=0.265*safezoneH+safezoneY+0.9;
w=0.05;
h=0.03;
colorBackground[]={0,0,0,0};
action=QUOTE(((4 + GVAR(currentTarget) - 1) % 4) call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class RIGHT: LEFT {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.2725;
action=QUOTE(((4 + GVAR(currentTarget) + 1) % 4) call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TOP_LEFT: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.162;
y=0.265*safezoneH+safezoneY+0.82;
w=0.031;
h=0.031*4/3;
colorBackground[]={0,0,0,0.0};
};
2015-04-07 21:03:30 +00:00
class TOP_RIGHT: TOP_LEFT {
2015-04-07 20:44:26 +00:00
idc=-1;
x=0.55*safezoneW+safezoneX+0.315;
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_PROFILE: ATragMX_RscText {
2015-04-07 20:44:26 +00:00
idc=1000;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.20;
w=0.18;
h=0.03;
style=ST_LEFT;
sizeEx=0.025;
text="";
};
2015-04-07 21:03:30 +00:00
class TEXT_D: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=600;
w=0.0231;
x=0.550*safezoneW+safezoneX+0.29;
y=0.265*safezoneH+safezoneY+0.20;
colorText[]={0,0,0,1};
colorDisabled[]={0.8,0.8,0.8,1};
colorBackgroundDisabled[]={0,0,0,1};
colorBackgroundActive[]={0,0,0,0};
text="D";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(currentUnit)=0; call FUNC(update_unit_selection));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_E: TEXT_D {
2015-04-07 20:44:26 +00:00
idc=601;
x=0.550*safezoneW+safezoneX+0.3131;
text="E";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(currentUnit)=1; call FUNC(update_unit_selection));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_M: TEXT_E {
2015-04-07 20:44:26 +00:00
idc=602;
2015-04-07 21:03:30 +00:00
x=0.550*safezoneW+safezoneX+0.3362;
2015-04-07 20:44:26 +00:00
text="M";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(currentUnit)=2; call FUNC(update_unit_selection));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD: TEXT_D {
2015-04-07 20:44:26 +00:00
idc=603;
w=0.03;
x=0.550*safezoneW+safezoneX+0.36;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="RC";
action=QUOTE(call FUNC(toggle_range_card));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=4000;
w=0.0925;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.25;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="Gun";
};
2015-04-07 21:03:30 +00:00
class TEXT_BORE_HEIGHT: TEXT_GUN_PROFILE {
2015-04-07 20:44:26 +00:00
idc=10;
style=ST_LEFT;
y=0.265*safezoneH+safezoneY+0.285;
text="BH";
};
2015-04-07 21:03:30 +00:00
class TEXT_BORE_HEIGHT_INPUT: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=100;
w=0.058;
x=0.550*safezoneW+safezoneX+0.145;
y=0.265*safezoneH+safezoneY+0.285;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_solution)});
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_BULLET_MASS: TEXT_BORE_HEIGHT {
2015-04-07 20:44:26 +00:00
idc=11;
style=ST_LEFT;
y=0.265*safezoneH+safezoneY+0.320;
text="BW";
};
2015-04-07 21:03:30 +00:00
class TEXT_BULLET_MASS_INPUT: TEXT_BORE_HEIGHT_INPUT {
2015-04-07 20:44:26 +00:00
idc=110;
y=0.265*safezoneH+safezoneY+0.320;
};
2015-04-07 21:03:30 +00:00
class TEXT_AIR_FRICTION: TEXT_BORE_HEIGHT {
2015-04-07 20:44:26 +00:00
idc=12;
y=0.265*safezoneH+safezoneY+0.355;
text="C1";
};
2015-04-07 21:03:30 +00:00
class TEXT_AIR_FRICTION_INPUT: TEXT_BORE_HEIGHT_INPUT {
2015-04-07 20:44:26 +00:00
idc=120;
y=0.265*safezoneH+safezoneY+0.355;
};
2015-04-07 21:03:30 +00:00
class TEXT_MUZZLE_VELOCITY: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=13;
style=0;
w=0.03;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.390;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="MV";
};
2015-04-07 21:03:30 +00:00
class TEXT_MUZZLE_VELOCITY_INPUT: TEXT_BORE_HEIGHT_INPUT {
2015-04-07 20:44:26 +00:00
idc=130;
y=0.265*safezoneH+safezoneY+0.390;
};
2015-04-07 21:03:30 +00:00
class TEXT_ZERO_RANGE: TEXT_BORE_HEIGHT {
2015-04-07 20:44:26 +00:00
idc=14;
y=0.265*safezoneH+safezoneY+0.425;
text="ZR";
};
2015-04-07 21:03:30 +00:00
class TEXT_ZERO_RANGE_INPUT: TEXT_BORE_HEIGHT_INPUT {
2015-04-07 20:44:26 +00:00
idc=140;
y=0.265*safezoneH+safezoneY+0.425;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(update_zero_range)});
};
2015-04-07 21:03:30 +00:00
class TEXT_ATMOSPHERE: TEXT_GUN {
2015-04-07 20:44:26 +00:00
idc=4001;
x=0.550*safezoneW+safezoneX+0.205;
text="Atmsphr";
};
2015-04-07 21:03:30 +00:00
class TEXT_TEMPERATURE: TEXT_BULLET_MASS {
2015-04-07 20:44:26 +00:00
idc=20;
x=0.550*safezoneW+safezoneX+0.20;
text="Tmp";
};
2015-04-07 21:03:30 +00:00
class TEXT_TEMPERATURE_INPUT: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=200;
w=0.050;
x=0.550*safezoneW+safezoneX+0.245;
y=0.265*safezoneH+safezoneY+0.320;
text="";
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_solution)});
};
2015-04-07 21:03:30 +00:00
class TEXT_BAROMETRIC_PRESSURE: TEXT_AIR_FRICTION {
2015-04-07 20:44:26 +00:00
idc=21;
x=0.550*safezoneW+safezoneX+0.20;
text="BP";
};
2015-04-07 21:03:30 +00:00
class TEXT_BAROMETRIC_PRESSURE_INPUT: TEXT_TEMPERATURE_INPUT {
2015-04-07 20:44:26 +00:00
idc=210;
y=0.265*safezoneH+safezoneY+0.355;
};
2015-04-07 21:03:30 +00:00
class TEXT_RELATIVE_HUMIDITY: TEXT_AIR_FRICTION {
2015-04-07 20:44:26 +00:00
idc=22;
x=0.550*safezoneW+safezoneX+0.20;
y=0.265*safezoneH+safezoneY+0.390;
text="RH";
};
2015-04-07 21:03:30 +00:00
class TEXT_RELATIVE_HUMIDITY_INPUT: TEXT_TEMPERATURE_INPUT {
2015-04-07 20:44:26 +00:00
idc=220;
y=0.265*safezoneH+safezoneY+0.390;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_A: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=500;
w=0.0231;
x=0.550*safezoneW+safezoneX+0.205;
y=0.265*safezoneH+safezoneY+0.425;
colorText[]={0,0,0,1};
colorDisabled[]={0.8,0.8,0.8,1};
colorBackgroundDisabled[]={0,0,0,1};
colorBackgroundActive[]={0,0,0,0};
text="A";
action=QUOTE(0 call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_B: TEXT_TARGET_A {
2015-04-07 20:44:26 +00:00
idc=501;
x=0.550*safezoneW+safezoneX+0.2281;
text="B";
action=QUOTE(1 call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_C: TEXT_TARGET_B {
2015-04-07 20:44:26 +00:00
idc=502;
x=0.550*safezoneW+safezoneX+0.2512;
text="C";
action=QUOTE(2 call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_D: TEXT_TARGET_B {
2015-04-07 20:44:26 +00:00
idc=503;
x=0.550*safezoneW+safezoneX+0.2743;
text="D";
action=QUOTE(3 call FUNC(change_target_slot));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET: TEXT_GUN {
2015-04-07 20:44:26 +00:00
idc=4002;
x=0.550*safezoneW+safezoneX+0.3;
text="Target";
};
2015-04-07 21:03:30 +00:00
class TEXT_WIND_SPEED: TEXT_BORE_HEIGHT {
2015-04-07 20:44:26 +00:00
idc=30;
x=0.550*safezoneW+safezoneX+0.3;
text="WS";
};
2015-04-07 21:03:30 +00:00
class TEXT_WIND_SPEED_INPUT: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=300;
w=0.058;
x=0.550*safezoneW+safezoneX+0.335;
y=0.265*safezoneH+safezoneY+0.285;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_solution)});
text="0";
};
2015-04-07 21:03:30 +00:00
class TEXT_WIND_DIRECTION: TEXT_BULLET_MASS {
2015-04-07 20:44:26 +00:00
idc=31;
x=0.550*safezoneW+safezoneX+0.3;
text="WD";
};
2015-04-07 21:03:30 +00:00
class TEXT_WIND_DIRECTION_INPUT: TEXT_WIND_SPEED_INPUT {
2015-04-07 20:44:26 +00:00
idc=310;
y=0.265*safezoneH+safezoneY+0.32;
};
2015-04-07 21:03:30 +00:00
class TEXT_INCLINATION_ANGLE: TEXT_AIR_FRICTION {
2015-04-07 20:44:26 +00:00
idc=32;
x=0.550*safezoneW+safezoneX+0.3;
text="IA";
};
2015-04-07 21:03:30 +00:00
class TEXT_INCLINATION_ANGLE_INPUT: TEXT_WIND_SPEED_INPUT {
2015-04-07 20:44:26 +00:00
idc=320;
y=0.265*safezoneH+safezoneY+0.355;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED: TEXT_MUZZLE_VELOCITY {
2015-04-07 20:44:26 +00:00
idc=33;
x=0.550*safezoneW+safezoneX+0.3;
text="TS";
action=QUOTE(call FUNC(toggle_target_speed_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_INPUT: TEXT_WIND_SPEED_INPUT {
2015-04-07 20:44:26 +00:00
idc=330;
y=0.265*safezoneH+safezoneY+0.39;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE: TEXT_TARGET_SPEED {
2015-04-07 20:44:26 +00:00
idc=34;
y=0.265*safezoneH+safezoneY+0.425;
text="TR";
action=QUOTE(0 call FUNC(toggle_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_INPUT: TEXT_WIND_SPEED_INPUT {
2015-04-07 20:44:26 +00:00
idc=340;
y=0.265*safezoneH+safezoneY+0.425;
};
2015-04-07 21:03:30 +00:00
class TEXT_ELEVATION: TEXT_GUN_PROFILE {
2015-04-07 20:44:26 +00:00
idc=40;
w=0.05;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.50;
text="Elev";
};
2015-04-07 21:03:30 +00:00
class TEXT_ABSOLUTE: TEXT_GUN_PROFILE {
2015-04-07 20:44:26 +00:00
idc=4003;
w=0.07;
style=ST_CENTER;
x=0.550*safezoneW+safezoneX+0.17;
y=0.265*safezoneH+safezoneY+0.47;
text="Abs";
};
2015-04-07 21:03:30 +00:00
class TEXT_RELATIVE: TEXT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=4004;
x=0.550*safezoneW+safezoneX+0.245;
text="Rel";
};
2015-04-07 21:03:30 +00:00
class TEXT_CURRENT: TEXT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=4005;
x=0.550*safezoneW+safezoneX+0.32;
text="Cur";
};
2015-04-07 21:03:30 +00:00
class TEXT_ELEVATION_OUTPUT_ABSOLUTE: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=400;
w=0.07;
x=0.550*safezoneW+safezoneX+0.17;
y=0.265*safezoneH+safezoneY+0.50;
text="";
};
2015-04-07 21:03:30 +00:00
class TEXT_ELEVATION_OUTPUT_RELATIVE: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=401;
x=0.550*safezoneW+safezoneX+0.2465;
};
2015-04-07 21:03:30 +00:00
class TEXT_ELEVATION_INPUT_CURRENT: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=402;
x=0.550*safezoneW+safezoneX+0.323;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(parse_input); call FUNC(update_result)});
};
2015-04-07 21:03:30 +00:00
class TEXT_WINDAGE: TEXT_ELEVATION {
2015-04-07 20:44:26 +00:00
idc=41;
y=0.265*safezoneH+safezoneY+0.535;
text="Wind";
};
2015-04-07 21:03:30 +00:00
class TEXT_WINDAGE_OUTPUT_ABSOLUTE: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=410;
y=0.265*safezoneH+safezoneY+0.535;
};
2015-04-07 21:03:30 +00:00
class TEXT_WINDAGE_OUTPUT_RELATIVE: TEXT_WINDAGE_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=411;
x=0.550*safezoneW+safezoneX+0.2465;
};
2015-04-07 21:03:30 +00:00
class TEXT_WINDAGE_INPUT_CURRENT: TEXT_WINDAGE_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=412;
x=0.550*safezoneW+safezoneX+0.323;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(parse_input); call FUNC(update_result)});
};
2015-04-07 21:03:30 +00:00
class TEXT_LEAD: TEXT_GUN {
2015-04-07 20:44:26 +00:00
idc=42;
w=0.05;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.57;
text="Lead";
};
2015-04-07 21:03:30 +00:00
class TEXT_LEAD_OUTPUT: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
2015-04-07 20:44:26 +00:00
idc=420;
y=0.265*safezoneH+safezoneY+0.57;
};
2015-04-07 21:03:30 +00:00
class TEXT_RESET_SCOPE_ZERO: TEXT_GUN {
2015-04-07 20:44:26 +00:00
idc=4006;
w=0.07;
style=ST_CENTER;
colorBackground[]={0,0,0,0};
x=0.550*safezoneW+safezoneX+0.2465;
y=0.265*safezoneH+safezoneY+0.57;
text="Reset";
action=QUOTE(call FUNC(reset_relative_click_memory));
};
2015-04-07 21:03:30 +00:00
class TEXT_UPDATE_SCOPE_ZERO: TEXT_RESET_SCOPE_ZERO {
2015-04-07 20:44:26 +00:00
idc=4007;
x=0.550*safezoneW+safezoneX+0.323;
text="Update";
action=QUOTE(call FUNC(update_relative_click_memory));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST: TEXT_GUN {
2015-04-07 20:44:26 +00:00
idc=4008;
style=ST_LEFT;
y=0.265*safezoneH+safezoneY+0.65;
text="GunList";
action=QUOTE(call FUNC(toggle_gun_list));
};
2015-04-07 21:03:30 +00:00
class TEXT_SCOPE_UNIT: TEXT_GUN_LIST {
2015-04-07 20:44:26 +00:00
idc=2000;
style=ST_CENTER;
x=0.550*safezoneW+safezoneX+0.205;
colorBackground[]={0,0,0,0};
text="TMOA";
action=QUOTE(call FUNC(cycle_scope_unit));
};
2015-04-07 21:03:30 +00:00
class TEXT_CALCULATE: TEXT_SCOPE_UNIT {
2015-04-07 20:44:26 +00:00
idc=3000;
style=ST_RIGHT;
x=0.550*safezoneW+safezoneX+0.3;
text="Calc";
action=QUOTE(call FUNC(calculate_target_solution));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SCOPE_UNIT: TEXT_GUN_PROFILE {
2015-04-07 20:44:26 +00:00
idc=5000;
text="";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=5001;
w=0.055675;
x=0.550*safezoneW+safezoneX+0.28;
y=0.265*safezoneH+safezoneY+0.20;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="Setup";
action=QUOTE(call FUNC(toggle_range_card_setup));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_DONE: TEXT_RANGE_CARD_SETUP {
2015-04-07 20:44:26 +00:00
idc=5002;
x=0.550*safezoneW+safezoneX+0.3362;
text="Done";
action=QUOTE(call FUNC(toggle_range_card));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_COLUMN_1_CAPTION: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=5003;
style=ST_LEFT;
w=0.07;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.24;
colorBackground[]={0.15,0.21,0.23,0.3};
text="Meters";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_COLUMN_2_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
2015-04-07 20:44:26 +00:00
idc=5004;
x=0.550*safezoneW+safezoneX+0.180625;
text="Elev";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_COLUMN_3_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
2015-04-07 20:44:26 +00:00
idc=5005;
x=0.550*safezoneW+safezoneX+0.25125;
text="Wind";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_COLUMN_4_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
2015-04-07 20:44:26 +00:00
idc=5006;
x=0.550*safezoneW+safezoneX+0.321875;
text="TmFlt";
action=QUOTE(call FUNC(cycle_range_card_columns));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_OUTPUT: ATragMX_RscListNBox {
2015-04-07 20:44:26 +00:00
idc=5007;
idcLeft=50061;
idcRight=50062;
w=0.285;
h=0.42;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.27;
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_OUTPUT: ATragMX_RscListBox {
2015-04-07 20:44:26 +00:00
idc=6000;
w=0.16;
h=0.45;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.24;
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));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_COLUMN_CAPTION: TEXT_GUN_PROFILE {
2015-04-07 20:44:26 +00:00
idc=6001;
w=0.16;
colorBackground[]={0.15,0.21,0.23,0.3};
text="AtragGun.gun";
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_OPEN_GUN: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=6002;
style=ST_RIGHT;
w=0.115;
x=0.550*safezoneW+safezoneX+0.28;
y=0.265*safezoneH+safezoneY+0.20;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
sizeEx=0.024;
text="Open Gun";
action=QUOTE(true call FUNC(toggle_gun_list));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_SAVE_GUN: TEXT_GUN_LIST_OPEN_GUN {
2015-04-07 20:44:26 +00:00
idc=6003;
y=0.265*safezoneH+safezoneY+0.24;
text="Save Gun";
action=QUOTE(call FUNC(save_gun));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_ADD_NEW_GUN: TEXT_GUN_LIST_OPEN_GUN {
2015-04-07 20:44:26 +00:00
idc=6004;
y=0.265*safezoneH+safezoneY+0.28;
text="Add New Gun";
action=QUOTE(false call FUNC(show_gun_list); true call FUNC(show_add_new_gun));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_DELETE_GUN: TEXT_GUN_LIST_OPEN_GUN {
2015-04-07 20:44:26 +00:00
idc=6005;
y=0.265*safezoneH+safezoneY+0.34;
text="Delete Gun";
action=QUOTE(call FUNC(delete_gun));
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_NOTE: TEXT_GUN_LIST_OPEN_GUN {
2015-04-07 20:44:26 +00:00
idc=6006;
y=0.265*safezoneH+safezoneY+0.40;
text="Note";
};
2015-04-07 21:03:30 +00:00
class TEXT_GUN_LIST_DONE: TEXT_GUN_LIST_OPEN_GUN {
2015-04-07 20:44:26 +00:00
idc=6007;
y=0.265*safezoneH+safezoneY+0.65;
text="Done";
action=QUOTE(false call FUNC(toggle_gun_list));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_CAPTION: ATragMX_RscText {
2015-04-07 20:44:26 +00:00
idc=7000;
style=16+0x200;
lineSpacing=1.0;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.24;
w=0.29;
h=0.10;
sizeEx=0.022;
text="When using WIDTH to size a target, UP/Down Angle does not effect range calculation but will effect bullet drop.";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_MEASUREMENT_METHOD: TEXT_TARGET_RANGE_ASSIST_CAPTION {
2015-04-07 20:44:26 +00:00
idc=7001;
style=ST_LEFT;
x=0.550*safezoneW+safezoneX+0.115;
y=0.265*safezoneH+safezoneY+0.35;
w=0.12;
h=0.03;
sizeEx=0.027;
text="Using Target:";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_WIDTH_HEIGHT: ATragMX_RscToolbox {
2015-04-07 20:44:26 +00:00
idc=7002;
w=0.14;
x=0.550*safezoneW+safezoneX+0.24;
y=0.265*safezoneH+safezoneY+0.35;
strings[]={"Height","Width"};
values[]={1,0};
2015-04-08 09:05:28 +00:00
onToolBoxSelChanged="GVAR(rangeAssistUseTargetHeight)=((_this select 1)==0)";
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE: TEXT_TARGET_RANGE_ASSIST_MEASUREMENT_METHOD {
2015-04-07 20:44:26 +00:00
idc=7003;
style=ST_RIGHT;
x=0.550*safezoneW+safezoneX+0.10;
y=0.265*safezoneH+safezoneY+0.4;
text="Target Size";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
2015-04-07 20:44:26 +00:00
idc=7004;
y=0.265*safezoneH+safezoneY+0.45;
text="Image Size";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_ANGLE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
2015-04-07 20:44:26 +00:00
idc=7005;
y=0.265*safezoneH+safezoneY+0.5;
text="Angle";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
2015-04-07 20:44:26 +00:00
idc=7006;
y=0.265*safezoneH+safezoneY+0.55;
text="Est Range";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_CALC_1: TEXT_MUZZLE_VELOCITY {
2015-04-07 20:44:26 +00:00
idc=7007;
w=0.0231;
x=0.550*safezoneW+safezoneX+0.22;
y=0.265*safezoneH+safezoneY+0.4;
sizeEx=0.03;
text="!";
action=QUOTE(0 call FUNC(calculate_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_CALC_2: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
2015-04-07 20:44:26 +00:00
idc=7008;
y=0.265*safezoneH+safezoneY+0.45;
action=QUOTE(1 call FUNC(calculate_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_CALC_3: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
2015-04-07 20:44:26 +00:00
idc=7009;
y=0.265*safezoneH+safezoneY+0.55;
action=QUOTE(2 call FUNC(calculate_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=7010;
w=0.065;
x=0.550*safezoneW+safezoneX+0.2475;
y=0.265*safezoneH+safezoneY+0.4;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=7011;
y=0.265*safezoneH+safezoneY+0.45;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=7012;
y=0.265*safezoneH+safezoneY+0.5;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=7013;
y=0.265*safezoneH+safezoneY+0.55;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_UNIT: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
2015-04-07 20:44:26 +00:00
idc=7014;
w=0.07;
x=0.550*safezoneW+safezoneX+0.32;
text="cm";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(rangeAssistTargetSizeUnit)=(GVAR(rangeAssistTargetSizeUnit)+1) % (count GVAR(GVAR(rangeAssistTargetSizeUnit)s)); ctrlSetText [7014, GVAR(GVAR(rangeAssistTargetSizeUnit)s) select GVAR(rangeAssistTargetSizeUnit)]);
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_UNIT {
2015-04-07 20:44:26 +00:00
idc=7015;
y=0.265*safezoneH+safezoneY+0.45;
text="MIL";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(rangeAssistImageSizeUnit)=(GVAR(rangeAssistImageSizeUnit)+1) % (count GVAR(rangeAssistImageSizeUnits)); ctrlSetText [7015, GVAR(rangeAssistImageSizeUnits) select GVAR(rangeAssistImageSizeUnit)]);
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
2015-04-07 20:44:26 +00:00
idc=7016;
style=ST_LEFT;
w=0.07;
x=0.550*safezoneW+safezoneX+0.32;
text="Meters";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_DONE: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=7017;
style=ST_CENTER;
w=0.07;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.60;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="Done";
action=QUOTE(1 call FUNC(toggle_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_CANCEL: TEXT_TARGET_RANGE_ASSIST_DONE {
2015-04-07 20:44:26 +00:00
idc=7018;
x=0.550*safezoneW+safezoneX+0.180625;
text="Cancel";
action=QUOTE(0 call FUNC(toggle_target_range_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_PREV: TEXT_TARGET_RANGE_ASSIST_DONE {
2015-04-07 20:44:26 +00:00
idc=7019;
x=0.550*safezoneW+safezoneX+0.25125;
text="Prev";
action="";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_RANGE_ASSIST_NEXT: TEXT_TARGET_RANGE_ASSIST_DONE {
2015-04-07 20:44:26 +00:00
idc=7020;
x=0.550*safezoneW+safezoneX+0.321875;
text="Next";
action="";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
2015-04-07 20:44:26 +00:00
idc=8000;
x=0.550*safezoneW+safezoneX+0.12;
text="Target Range";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE {
2015-04-07 20:44:26 +00:00
idc=8001;
x=0.550*safezoneW+safezoneX+0.12;
text="Num Ticks";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TIME: TEXT_TARGET_RANGE_ASSIST_ANGLE {
2015-04-07 20:44:26 +00:00
idc=8002;
x=0.550*safezoneW+safezoneX+0.12;
text="Time (secs)";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
2015-04-07 20:44:26 +00:00
idc=8003;
x=0.550*safezoneW+safezoneX+0.12;
text="Est Speed";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=8004;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS_INPUT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=8005;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TIME_INPUT: TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT {
2015-04-07 20:44:26 +00:00
idc=8006;
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED_OUTPUT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
2015-04-07 20:44:26 +00:00
idc=8007;
w=0.065;
x=0.550*safezoneW+safezoneX+0.2475;
y=0.265*safezoneH+safezoneY+0.55;
colorBackground[]={0.15,0.21,0.23,0.3};
text="0";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT {
2015-04-07 20:44:26 +00:00
idc=8008;
y=0.265*safezoneH+safezoneY+0.4;
text="Meters";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS_UNIT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT {
2015-04-07 20:44:26 +00:00
idc=8009;
text="MIL";
2015-04-08 09:05:28 +00:00
action=QUOTE(GVAR(speedAssistNumTicksUnit)=(GVAR(speedAssistNumTicksUnit)+1) % (count GVAR(speedAssistNumTicksUnits)); ctrlSetText [8009, GVAR(speedAssistNumTicksUnits) select GVAR(speedAssistNumTicksUnit)]; call FUNC(calculate_target_speed_assist));
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TIMER_START: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT {
2015-04-07 20:44:26 +00:00
idc=8010;
y=0.265*safezoneH+safezoneY+0.5;
text="Start";
action=QUOTE(call FUNC(target_speed_assist_timer));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT {
2015-04-07 20:44:26 +00:00
idc=8011;
text="m/s";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_DONE: TEXT_TARGET_RANGE_ASSIST_DONE {
2015-04-07 20:44:26 +00:00
idc=8012;
action=QUOTE(1 call FUNC(toggle_target_speed_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_CANCEL: TEXT_TARGET_RANGE_ASSIST_CANCEL {
2015-04-07 20:44:26 +00:00
idc=8013;
action=QUOTE(0 call FUNC(toggle_target_speed_assist));
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_PREV: TEXT_TARGET_RANGE_ASSIST_PREV {
2015-04-07 20:44:26 +00:00
idc=8014;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_NEXT: TEXT_TARGET_RANGE_ASSIST_NEXT {
2015-04-07 20:44:26 +00:00
idc=8015;
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TIMER_STOP_BACKGROUND: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=9000;
w=0.285;
h=0.49;
x=0.550*safezoneW+safezoneX+0.11;
y=0.265*safezoneH+safezoneY+0.2;
colorBackground[]={0,0,0,0};
colorBackgroundActive[]={0,0,0,0};
2015-04-10 16:08:38 +00:00
action=QUOTE(GVAR(speedAssistTimer)=false);
2015-04-07 21:03:30 +00:00
};
class TEXT_TARGET_SPEED_ASSIST_TIME_OUTPUT: ATragMX_RscText {
2015-04-07 20:44:26 +00:00
idc=9001;
x=0.550*safezoneW+safezoneX+0.22;
y=0.265*safezoneH+safezoneY+0.51;
w=0.08;
h=0.09;
style=ST_CENTER;
sizeEx=0.05;
text="0.0";
};
2015-04-07 21:03:30 +00:00
class TEXT_TARGET_SPEED_ASSIST_TIMER_STOP: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=9002;
style=ST_CENTER;
w=0.07;
h=0.04;
x=0.550*safezoneW+safezoneX+0.225;
y=0.265*safezoneH+safezoneY+0.60;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="Stop";
2015-04-10 16:08:38 +00:00
action=QUOTE(GVAR(speedAssistTimer)=false);
2015-04-07 20:44:26 +00:00
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_START_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
2015-04-07 20:44:26 +00:00
idc=10000;
x=0.550*safezoneW+safezoneX+0.12;
text="Start Range";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_END_RANGE: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE {
2015-04-07 20:44:26 +00:00
idc=10001;
x=0.550*safezoneW+safezoneX+0.12;
text="End Range";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_INCREMENT: TEXT_TARGET_RANGE_ASSIST_ANGLE {
2015-04-07 20:44:26 +00:00
idc=10002;
x=0.550*safezoneW+safezoneX+0.12;
text="Increment";
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_START_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=10003;
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_END_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT {
2015-04-07 20:44:26 +00:00
idc=10004;
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_INCREMENT_INPUT: TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT {
2015-04-07 20:44:26 +00:00
idc=10005;
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
2015-04-07 20:44:26 +00:00
idc=10006;
action=QUOTE(1 call FUNC(toggle_range_card_setup));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
2015-04-07 20:44:26 +00:00
idc=10007;
action=QUOTE(0 call FUNC(toggle_range_card_setup));
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_PREV: TEXT_TARGET_SPEED_ASSIST_PREV {
2015-04-07 20:44:26 +00:00
idc=10008;
};
2015-04-07 21:03:30 +00:00
class TEXT_RANGE_CARD_SETUP_NEXT: TEXT_TARGET_SPEED_ASSIST_NEXT {
2015-04-07 20:44:26 +00:00
idc=10009;
};
2015-04-07 21:03:30 +00:00
class TEXT_ADD_NEW_GUN_CAPTION: ATragMX_RscText {
2015-04-07 20:44:26 +00:00
idc=11000;
style=ST_LEFT;
w=0.25;
h=0.04;
x=0.550*safezoneW+safezoneX+0.12;
y=0.265*safezoneH+safezoneY+0.24;
sizeEx=0.025;
text="New Gun Name";
};
2015-04-07 21:03:30 +00:00
class TEXT_ADD_NEW_GUN_GUN_NAME_INPUT: ATragMX_RscEdit {
2015-04-07 20:44:26 +00:00
idc=11001;
style=ST_LEFT;
w=0.225;
h=0.04;
x=0.550*safezoneW+safezoneX+0.12;
y=0.265*safezoneH+safezoneY+0.28;
text="";
};
2015-04-07 21:03:30 +00:00
class TEXT_ADD_NEW_GUN_OK: ATragMX_RscButton {
2015-04-07 20:44:26 +00:00
idc=11002;
style=ST_CENTER;
w=0.1;
h=0.04;
x=0.550*safezoneW+safezoneX+0.12;
y=0.265*safezoneH+safezoneY+0.33;
colorBackground[]={0.15,0.21,0.23,0.3};
colorFocused[]={0.15,0.21,0.23,0.2};
text="OK";
action=QUOTE(call FUNC(add_new_gun); false call FUNC(show_add_new_gun); true call FUNC(show_gun_list));
};
2015-04-07 21:03:30 +00:00
class TEXT_ADD_NEW_GUN_CANCEL: TEXT_ADD_NEW_GUN_OK {
2015-04-07 20:44:26 +00:00
idc=11003;
x=0.550*safezoneW+safezoneX+0.245;
text="Cancel";
action=QUOTE(false call FUNC(show_add_new_gun); true call FUNC(show_gun_list));
};
};
};