#include "definitions.sqf"

class getVestDialog {
	idd = STS_EQUIPEMENT_VESTS_DIALOG;
	movingEnable = false;
	enableSimulation = true;
	onLoad = "[] execVM 'scripts\sts24_equipement\dialog_vests.sqf'";


	class controlsBackground {

		class Mainback_vests : HW_RscText {
			idc = 0;
			moving  = 0;
			colorBackground[] = {0,0,0,0.50};
			text = "";
			x = 0.2;
			y = 0.25;
			w = 0.7;
			h = 0.6;
		};

		class Title_vests : HW_RscText {
			idc = -1;
			moving = false;
			colorBackground[] = { 0, 0, 0, 0 };
			colorText[] = { 1, 1, 1, 1 };
			x = 0.27; y = 0.27;
			w = 0.3; h = 0.03;
			sizeEx = 0.035;
			text = "Take your Vest";
		};

		class equiphint_vests : HW_RscText {
			idc = -1;
			moving = false;
			colorBackground[] = { 0, 0, 0, 0 };
			colorText[] = { 1, 1, 1, 1 };
			x = 0.66; y = 0.80;
			w = 0.2; h = 0.023;
			sizeEx = 0.03;
			text = "Click on image to equip";
		};

		class BackpackPicture_vests : HW_RscStructuredText {
			idc = STS_EQUIPEMENT_VESTS_PICTURE;
			style = ST_MULTI;
			x = 0.16; y = 0.43;
			w = 1.2; h = 1.0;
			colorBackground[] = { 1, 1, 1, 0 };
			colorText[] = { 1, 1, 1, 1 };
			lineSpacing = 1;
			size = 0.125;
			class Attributes {
				font = FontM;
				color = "#FFFFFF";
				align = "center";
				valign = "middle";
				shadow = true;
				shadowColor = "#000000";
				size = "2.25";
			};
		};

	};


	class controls {

		class Unitlist_vests: HW_RscGUIListBox {
			idc = STS_EQUIPEMENT_VESTS_LIST;
			default = 1;
			x = 0.22; y = 0.33;
			w = 0.4; h = 0.4925;
			colorSelect[] = {0, 0, 0, 0.9};
			colorSelect2[] = {0, 0, 0, 0.9};
			colorSelectBackground[] = {1, 1, 1, 0.75};
			colorSelectBackground2[] = {1, 1, 1, 0.75};
			onLBDblClick = "";
			onLBSelChanged = "[] execVM 'scripts\sts24_equipement\dialog_vests.sqf'";
			rowHeight = 0.025;
			soundSelect[] = {"", 0, 1};
			maxHistoryDelay = 10;
			canDrag = 0;
			xcolumn1 = "0.1f";
			xcolumn2 = "0.25f";
			xcolumn3 = "0.85f";		
		};

		class EquipButton_vests : HW_RscButton {
			idc = STS_EQUIPEMENT_VESTS_EQUIPBUTTON;
			x = 0.075; y = 0.4;
			w = 1.0; h = 1.0;
			colorText[] = { 0, 0, 0, 0 };
			colorFocused[] = { 0, 0, 0, 0 };
			colorDisabled[] = { 0, 0, 0, 0 };
			colorBackground[] = { 0, 0, 0, 0 };
			colorBackgroundDisabled[] = { 0, 0, 0, 0 };
			colorBackgroundActive[] = { 0, 0, 0, 0 };
			colorShadow[] = { 0, 0, 0, 0 };
			colorBorder[] = { 0, 0, 0, 0 };
			soundEnter[] = {"",0,1};
			soundPush[] = {"",0,1};
			soundClick[] = {"",0,1};
			soundEscape[] = {"",0,1};
			text = "";
			onButtonClick = "removeVest sts_equipement_vest_caller; sts_equipement_vest_caller addVest (sts_equipement_vests select sts_equipement_index_vests); closeDialog 0";			
		};
	};
};















