Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // dialog.hpp
- #include "ressources.hpp"
- class SampleDialog
- {
- idd = -1;
- movingEnable = false;
- objects[] = {};
- class controlsBackground
- {
- class titleBackground : VVS_RscText
- {
- 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])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
- x = 0.1;
- y = 0.2;
- w = 0.8;
- h = (1 / 25);
- };
- class MainBackground : VVS_RscText
- {
- idc = -1;
- colorBackground[] = {0,0,0,0.76};
- x = 0.1;
- y = 0.2 + (11 / 250);
- w = 0.8;
- h = 0.6 - (22 / 250);
- };
- class Title : VVS_RscTitle
- {
- colorBackground[] = {0, 0, 0, 0};
- idc = -1;
- text = "Interface personnelle";
- x = 0.1;
- y = 0.2;
- w = 0.8;
- h = (1 / 25);
- };
- };
- class controls
- {
- class ButtonControl
- {
- idc = -1;
- type = 1;
- style = 2;
- moving = false;
- x = 0.65;
- y = 0.65;
- h = 0.05;
- w = 0.2;
- sizeEx = 0.025;
- action = "closeDialog 0; hint ""Close pushed"";"
- text = "Close";
- font = "TahomaB";
- default = false;
- colorText[] = {1,1,1,1};
- colorFocused[] = {"(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])"};
- colorShadow[] = {0,0,0,1};
- colorBorder[] = {0.5,0.5,0.5,0};
- 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])"};
- colorBackgroundActive[] = {"(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])"};
- colorDisabled[] = {1,0,0,1};
- colorBackgroundDisabled[] = {0.5,0.5,0.5,1};
- borderSize = 0.015;
- offsetX = 0.005;
- offsetY = 0.005;
- offsetPressedX = 0.002;
- offsetPressedY = 0.002;
- soundEnter[] = {"",0,1};
- soundPush[] = {"",0,1};
- soundClick[] = {"",0,1};
- soundEscape[] = {"",0,1};
- };
- class VASControl
- {
- idc = -1;
- type = 1;
- style = 2;
- moving = false;
- x = 0.15;
- y = 0.3;
- h = 0.05;
- w = 0.2;
- sizeEx = 0.025;
- action = player execVM "VAS\open.sqf";
- text = "Virtual AmmoBox";
- font = "TahomaB";
- default = false;
- colorText[] = {1,1,1,1};
- colorFocused[] = {"(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])"};
- colorShadow[] = {0,0,0,1};
- colorBorder[] = {0.5,0.5,0.5,0};
- 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])"};
- colorBackgroundActive[] = {"(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])"};
- colorDisabled[] = {1,0,0,1};
- colorBackgroundDisabled[] = {0.5,0.5,0.5,1};
- borderSize = 0.015;
- offsetX = 0.005;
- offsetY = 0.005;
- offsetPressedX = 0.002;
- offsetPressedY = 0.002;
- soundEnter[] = {"",0,1};
- soundPush[] = {"",0,1};
- soundClick[] = {"",0,1};
- soundEscape[] = {"",0,1};
- };
- };
- };
- //ressources.hpp
- class VVS_RscText {
- x = 0;
- y = 0;
- h = 0.037;
- w = 0.3;
- type = 0;
- style = 0;
- shadow = 1;
- colorShadow[] = {0, 0, 0, 0.5};
- font = "PuristaMedium";
- SizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
- text = "";
- colorText[] = {1, 1, 1, 1.0};
- colorBackground[] = {0, 0, 0, 0};
- linespacing = 1;
- };
- class VVS_RscTitle : VVS_RscText {
- style = 0;
- sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
- colorText[] = {0.95, 0.95, 0.95, 1};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement