Files
AltisLifeFramework/Altis_Life.Altis/dialog/spawnSelection.hpp
Benjamin Kyd c8014ec81e initial commit
2019-06-05 00:45:50 +01:00

81 lines
2.4 KiB
C++

class life_spawn_selection {
idd = 38500;
movingEnable = 0;
enableSimulation = 1;
class controlsBackground {
class life_RscTitleBackground: Life_RscText {
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class MainBackground: Life_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.6 - (22 / 250);
};
class Title: Life_RscTitle {
colorBackground[] = {0,0,0,0};
idc = -1;
text = "$STR_Spawn_Title";
x = 0.1;
y = 0.2;
w = 0.8;
h = (1 / 25);
};
class SpawnPointTitle: Title {
idc = 38501;
style = 1;
text = "";
};
class MapView : Life_RscMapControl {
idc = 38502;
x = 0.328;
y = 0.26;
w = 0.56;
h = 0.56 - (22 / 250);
maxSatelliteAlpha = 0.75;//0.75;
alphaFadeStartScale = 1.15;//0.15;
alphaFadeEndScale = 1.29;//0.29;
};
};
class controls {
class SpawnPointList: Life_RscListNBox {
idc = 38510;
text = "";
sizeEx = 0.041;
coloumns[] = {0,0,0.9};
drawSideArrows = 0;
idcLeft = -1;
idcRight = -1;
rowHeight = 0.050;
x = 0.105;
y = 0.26;
w = (8.8 / 40);
h = (10 / 25);
onLBSelChanged = "_this call life_fnc_spawnPointSelected;";
};
class spawnButton: Life_RscButtonMenu {
idc = -1;
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
text = "$STR_Spawn_Spawn";
onButtonClick = "[] call life_fnc_spawnConfirm";
x = 0.11;
y = 0.69;
w = (8 / 40);
h = (1 / 25);
};
};
};