#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 { class RscAGM_MapGps { idd = 9855; movingEnable = 1; duration = 3600; fadein = 0; fadeout = 0; onLoad = "uiNamespace setVariable ['AGM_Map_mapGpsDisplay', _this select 0];"; //onUnLoad = "_this call onRscLoad"; class controls { class back:RscPicture { x = X_gps; y = Y_gps; w = W_gps; h = H_gps; text = "\AGM_Map\UI\mapGps.paa"; 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; }; }; }; };