2015-04-07 15:43:54 +00:00
|
|
|
#define ST_LEFT 0
|
|
|
|
#define ST_RIGHT 1
|
|
|
|
#define ST_CENTER 2
|
|
|
|
|
|
|
|
class Kestrel4500_RscText
|
|
|
|
{
|
2015-04-07 18:19:35 +00:00
|
|
|
idc=-1;
|
|
|
|
type=0;
|
|
|
|
style=ST_CENTER;
|
|
|
|
colorDisabled[]={0,0,0,0};
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
text="";
|
|
|
|
x=0;
|
|
|
|
y=0;
|
|
|
|
w=0.1;
|
|
|
|
h=0.03;
|
|
|
|
font="TahomaB";
|
|
|
|
sizeEx=0.04;
|
|
|
|
shadow=0;
|
2015-04-07 15:43:54 +00:00
|
|
|
};
|
|
|
|
class Kestrel4500_RscButton
|
|
|
|
{
|
2015-04-07 18:19:35 +00:00
|
|
|
text="";
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorDisabled[]={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.10;
|
|
|
|
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 15:43:54 +00:00
|
|
|
};
|
|
|
|
class Kestrel4500_Display
|
|
|
|
{
|
2015-04-07 18:19:35 +00:00
|
|
|
name="Kestrel4500_Display";
|
|
|
|
idd=-1;
|
|
|
|
onLoad="uiNamespace setVariable ['Kestrel4500_Display', (_this select 0)]";
|
2015-05-09 19:41:01 +00:00
|
|
|
onUnload=QUOTE(_this call FUNC(onCloseDialog));
|
2015-04-07 18:19:35 +00:00
|
|
|
movingEnable=1;
|
|
|
|
controlsBackground[]={};
|
|
|
|
objects[]={};
|
|
|
|
class controls
|
|
|
|
{
|
|
|
|
class BACKGROUND
|
|
|
|
{
|
|
|
|
moving=1;
|
|
|
|
type=0;
|
|
|
|
font="TahomaB";
|
|
|
|
SizeEX=0.025;
|
2015-04-12 20:54:36 +00:00
|
|
|
idc=74000;
|
2015-04-07 18:19:35 +00:00
|
|
|
style=48;
|
|
|
|
x=safezoneX;
|
|
|
|
y=safezoneY;
|
|
|
|
w=1.024;
|
|
|
|
h=1.024*4/3;
|
|
|
|
colorBackground[]={1,1,1,1};
|
|
|
|
colorText[]={1,1,1,1};
|
2015-04-12 20:54:36 +00:00
|
|
|
text=PATHTOF(UI\Kestrel4500.paa);
|
2015-04-07 18:19:35 +00:00
|
|
|
};
|
|
|
|
class POWER: Kestrel4500_RscButton
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.385;
|
|
|
|
y=safezoneY+1.125;
|
|
|
|
w=0.042;
|
|
|
|
h=0.042*4/3;
|
|
|
|
action="closeDialog 0";
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_exit_button_click'";
|
|
|
|
};
|
|
|
|
class ENTER: POWER
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.46;
|
|
|
|
y=safezoneY+1.0;
|
|
|
|
w=0.1;
|
|
|
|
action=QUOTE(0 call FUNC(buttonPressed));
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_center_button_click'";
|
|
|
|
};
|
|
|
|
class TOP: Kestrel4500_RscButton
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.46;
|
|
|
|
y=safezoneY+0.93;
|
|
|
|
w=0.1;
|
|
|
|
h=0.03;
|
|
|
|
action=QUOTE(1 call FUNC(buttonPressed));
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_top_button_click'";
|
|
|
|
};
|
|
|
|
class BOTTOM: TOP
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
y=safezoneY+1.1;
|
|
|
|
action=QUOTE(2 call FUNC(buttonPressed));
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_bottom_button_click'";
|
|
|
|
};
|
|
|
|
class LEFT: Kestrel4500_RscButton
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.4;
|
|
|
|
y=safezoneY+0.97;
|
|
|
|
w=0.046;
|
|
|
|
h=0.11;
|
|
|
|
action=QUOTE(3 call FUNC(buttonPressed));
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_left_button_click'";
|
|
|
|
};
|
|
|
|
class RIGHT: LEFT
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.58;
|
|
|
|
action=QUOTE(4 call FUNC(buttonPressed));
|
|
|
|
onMouseButtonDown = "playSound 'kestrel4500_right_button_click'";
|
|
|
|
};
|
|
|
|
class MEMORY: Kestrel4500_RscButton
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.395;
|
|
|
|
y=safezoneY+0.87;
|
|
|
|
w=0.05;
|
|
|
|
h=0.045*4/3;
|
|
|
|
action=QUOTE(5 call FUNC(buttonPressed));
|
|
|
|
};
|
|
|
|
class BACKLIGHT: MEMORY
|
|
|
|
{
|
|
|
|
idc=-1;
|
|
|
|
x=safezoneX+0.585;
|
|
|
|
action=QUOTE(6 call FUNC(buttonPressed));
|
|
|
|
};
|
|
|
|
|
|
|
|
class TEXT_TOP: Kestrel4500_RscText
|
|
|
|
{
|
|
|
|
idc=74100;
|
|
|
|
x=safezoneX+0.40;
|
|
|
|
y=safezoneY+0.58;
|
|
|
|
w=0.22;
|
|
|
|
h=0.04;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_BIG: TEXT_TOP
|
|
|
|
{
|
|
|
|
idc=74200;
|
|
|
|
y=safezoneY+0.61;
|
|
|
|
h=0.10;
|
|
|
|
SizeEx=0.06;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE_1_LEFT: TEXT_TOP
|
|
|
|
{
|
|
|
|
idc=74300;
|
|
|
|
y=safezoneY+0.60;
|
|
|
|
style=ST_LEFT;
|
|
|
|
h=0.10;
|
|
|
|
SizeEx=0.05;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE2_LEFT: TEXT_CENTER_LINE_1_LEFT
|
|
|
|
{
|
|
|
|
idc=74301;
|
|
|
|
y=safezoneY+0.64;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE_3_LEFT: TEXT_CENTER_LINE2_LEFT
|
|
|
|
{
|
|
|
|
idc=74302;
|
|
|
|
y=safezoneY+0.68;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE_1_RIGHT: TEXT_CENTER_LINE_1_LEFT
|
|
|
|
{
|
|
|
|
idc=74303;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE2_RIGHT: TEXT_CENTER_LINE2_LEFT
|
|
|
|
{
|
|
|
|
idc=74304;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class TEXT_CENTER_LINE_3_RIGHT: TEXT_CENTER_LINE_3_LEFT
|
|
|
|
{
|
|
|
|
idc=74305;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class TEXT_INFO_LINE_1: TEXT_TOP
|
|
|
|
{
|
|
|
|
idc=74400;
|
|
|
|
y=safezoneY+0.69;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_INFO_LINE_2: TEXT_TOP
|
|
|
|
{
|
|
|
|
idc=74401;
|
|
|
|
y=safezoneY+0.72;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
};
|
2015-04-07 15:43:54 +00:00
|
|
|
};
|
|
|
|
class RscTitles
|
|
|
|
{
|
2015-04-07 18:19:35 +00:00
|
|
|
class RscKestrel4500
|
|
|
|
{
|
|
|
|
idd=-1;
|
|
|
|
onLoad="with uiNameSpace do { RscKestrel4500 = _this select 0 };";
|
2015-05-09 19:41:01 +00:00
|
|
|
onUnload=(_this call FUNC(onCloseDisplay));
|
2015-04-07 18:19:35 +00:00
|
|
|
movingEnable=0;
|
|
|
|
duration=60;
|
|
|
|
fadeIn="false";
|
|
|
|
fadeOut="false";
|
|
|
|
class controls
|
|
|
|
{
|
|
|
|
class RscKestrel4500
|
|
|
|
{
|
|
|
|
idc=75000;
|
|
|
|
moving=0;
|
|
|
|
type=0;
|
|
|
|
font="TahomaB";
|
|
|
|
SizeEX=0.025*0.75;
|
|
|
|
style=48;
|
2015-04-13 08:45:37 +00:00
|
|
|
x=safezoneX+0.14;
|
2015-04-07 18:19:35 +00:00
|
|
|
y=safezoneY+0.7;
|
2015-04-13 08:45:37 +00:00
|
|
|
w=0.512*0.75;
|
2015-04-07 18:19:35 +00:00
|
|
|
h=1.024*4/3*0.75;
|
|
|
|
colorBackground[]={1,1,1,1};
|
|
|
|
colorText[]={1,1,1,1};
|
2015-04-13 08:45:37 +00:00
|
|
|
text=PATHTOF(UI\Kestrel4500_0.paa);
|
2015-04-07 18:19:35 +00:00
|
|
|
};
|
|
|
|
class RscTextTop: Kestrel4500_RscText
|
|
|
|
{
|
|
|
|
idc=75100;
|
|
|
|
x=safezoneX-0.05+0.40*0.75;
|
|
|
|
y=safezoneY+0.7+0.58*0.75;
|
|
|
|
w=0.22*0.75;
|
|
|
|
h=0.04*0.75;
|
|
|
|
SizeEx=0.04*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextCenterBig: RscTextTop
|
|
|
|
{
|
|
|
|
idc=75200;
|
|
|
|
y=safezoneY+0.7+0.61*0.75;
|
|
|
|
h=0.10*0.75;
|
|
|
|
SizeEx=0.06*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextCenterLine1Left: RscTextTop
|
|
|
|
{
|
|
|
|
idc=75300;
|
|
|
|
y=safezoneY+0.7+0.60*0.75;
|
|
|
|
style=ST_LEFT;
|
|
|
|
h=0.10*0.75;
|
|
|
|
SizeEx=0.05*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextCenterLine2Left: RscTextCenterLine1Left
|
|
|
|
{
|
|
|
|
idc=75301;
|
|
|
|
y=safezoneY+0.7+0.64*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextCenterLine3Left: RscTextCenterLine2Left
|
|
|
|
{
|
|
|
|
idc=75302;
|
|
|
|
y=safezoneY+0.7+0.68*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextCenterLine1Right: RscTextCenterLine1Left
|
|
|
|
{
|
|
|
|
idc=75303;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class RscTextCenterLine2Right: RscTextCenterLine2Left
|
|
|
|
{
|
|
|
|
idc=75304;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class RscTextCenterLine3Right: RscTextCenterLine3Left
|
|
|
|
{
|
|
|
|
idc=75305;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
};
|
|
|
|
class RscTextInfoLine1: RscTextTop
|
|
|
|
{
|
|
|
|
idc=75400;
|
|
|
|
y=safezoneY+0.7+0.69*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class RscTextInfoLine2: RscTextTop
|
|
|
|
{
|
|
|
|
idc=75401;
|
|
|
|
y=safezoneY+0.7+0.72*0.75;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-04-12 21:20:27 +00:00
|
|
|
|
|
|
|
class RscKestrel4500_Preload {
|
|
|
|
idd = -1;
|
|
|
|
movingEnable = 0;
|
|
|
|
duration = 1e+011;
|
|
|
|
fadein = 0;
|
|
|
|
fadeout = 0;
|
|
|
|
class controls {
|
|
|
|
class Preload_0 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_0.paa);
|
|
|
|
};
|
|
|
|
class Preload_1 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_1.paa);
|
|
|
|
};
|
|
|
|
class Preload_2 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_2.paa);
|
|
|
|
};
|
|
|
|
class Preload_3 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_3.paa);
|
|
|
|
};
|
|
|
|
class Preload_4 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_4.paa);
|
|
|
|
};
|
|
|
|
class Preload_5 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_5.paa);
|
|
|
|
};
|
|
|
|
class Preload_6 {
|
|
|
|
text = PATHTOF(UI\Kestrel4500_6.paa);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-04-07 15:43:54 +00:00
|
|
|
};
|