2015-01-11 16:42:31 +00:00
|
|
|
#define GUI_GRID_X (0)
|
|
|
|
#define GUI_GRID_Y (0)
|
|
|
|
#define GUI_GRID_W (0.025)
|
|
|
|
#define GUI_GRID_H (0.04)
|
|
|
|
|
|
|
|
#define ST_LEFT 0x00
|
|
|
|
#define ST_RIGHT 0x01
|
|
|
|
#define ST_CENTER 0x02
|
|
|
|
|
|
|
|
#define W_gps 0.4025
|
|
|
|
#define H_gps 0.25
|
|
|
|
#define X_gps safeZoneX + safeZoneW - 1.1 * W_gps
|
|
|
|
#define Y_gps safeZoneY + safeZoneH - 1.2 * H_gps
|
|
|
|
|
|
|
|
class RscTitles {
|
2015-01-15 09:51:18 +00:00
|
|
|
class RscACE_MapGps {
|
2015-01-11 16:42:31 +00:00
|
|
|
idd = 9855;
|
|
|
|
movingEnable = 1;
|
|
|
|
duration = 3600;
|
|
|
|
fadein = 0;
|
|
|
|
fadeout = 0;
|
2015-01-17 04:07:53 +00:00
|
|
|
// onLoad = QUOTE(uiNamespace setVariable [ARR_2(QGVAR(ui_mapGpsDisplay), _this select 0)];);
|
|
|
|
onLoad = "uiNamespace setVariable ['ACE_map_ui_mapGpsDisplay', _this select 0];"; //@todo cbaify this
|
2015-01-11 16:42:31 +00:00
|
|
|
//onUnLoad = "_this call onRscLoad";
|
|
|
|
class controls {
|
|
|
|
class back:RscPicture {
|
|
|
|
x = X_gps;
|
|
|
|
y = Y_gps;
|
|
|
|
w = W_gps;
|
|
|
|
h = H_gps;
|
2015-01-16 04:30:04 +00:00
|
|
|
text = PATHTOF(UI\mapGps.paa);
|
2015-01-11 16:42:31 +00:00
|
|
|
colorBackground[] = {1, 1, 1, 1};
|
|
|
|
};
|
|
|
|
class heading: RscText{
|
|
|
|
idc = 913590;
|
|
|
|
x = X_gps + W_gps * 0.25;
|
|
|
|
y = Y_gps + H_gps * 0.12;
|
|
|
|
w = W_gps * 0.2;
|
|
|
|
h = H_gps * 0.16;
|
|
|
|
style = ST_LEFT;
|
|
|
|
text = "225";
|
|
|
|
colorBackground[] = {0,0,0,0};
|
|
|
|
colorText[] = {0.247,0.251,0.157,1};
|
|
|
|
shadowColo[] = {0,0,0,0};
|
|
|
|
font = "EtelkaNarrowMediumPro";
|
|
|
|
shadow = 0;
|
|
|
|
sizeEx = 0.042;
|
|
|
|
};
|
|
|
|
class altitude: RscText{
|
|
|
|
idc = 913591;
|
|
|
|
x = X_gps + W_gps * 0.55;
|
|
|
|
y = Y_gps + H_gps * 0.12;
|
|
|
|
w = W_gps * 0.2;
|
|
|
|
h = H_gps * 0.16;
|
|
|
|
style = ST_RIGHT;
|
|
|
|
text = "55 m";
|
|
|
|
colorBackground[] = {0,0,0,0};
|
|
|
|
colorText[] = {0.247,0.251,0.157,1};
|
|
|
|
shadowColo[] = {0,0,0,0};
|
|
|
|
font = "EtelkaNarrowMediumPro";
|
|
|
|
shadow = 0;
|
|
|
|
sizeEx = 0.042;
|
|
|
|
};
|
|
|
|
class coordinates: RscText{
|
|
|
|
idc = 913592;
|
|
|
|
x = X_gps + W_gps * 0.2;
|
|
|
|
y = Y_gps + H_gps * 0.33;
|
|
|
|
w = W_gps * 0.6;
|
|
|
|
h = H_gps * 0.35;
|
|
|
|
style = ST_CENTER;
|
|
|
|
text = "012.3 115.1";
|
|
|
|
colorBackground[] = {0,0,0,0};
|
|
|
|
colorText[] = {0.247,0.251,0.157,1};
|
|
|
|
shadowColo[] = {0,0,0,0};
|
|
|
|
font = "EtelkaNarrowMediumPro";
|
|
|
|
shadow = 0;
|
|
|
|
sizeEx = 0.1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|