text: ////////////////////////////////////////////////////////
  // GUI EDITOR OUTPUT START (by Sacher, v1.063, #Dyroxu)
  ////////////////////////////////////////////////////////
  
  #include "defs.hpp"
  class DIA_GRIDSPOTTINGFIREMISSION
  {
  	idd = GSFM_DIA_IDD_DISPLAY;
  	movingEnable = false;
  	enableSimulation = true;
  	 scriptName = "Dialog_GridSpottingFiremission";
  	controlsBackground[] = {};
  	objects[] = {};
  	controls[] = {GSFM_BACKGROUND,GSFM_DESCRIPTIONTEXT,GSFM_SELECTEDGUNTEXT,GSFM_SELECTEDSHELLTEXT,GSFM_GRIDTEXT,GSFM_SELECTEDGUNEDIT,GSFM_SELECTEDSHELLEDIT,GSFM_GRIDEDIT,GSFM_FIREBUTTON,GSFM_CANCELBUTTON};
  		class GSFM_BACKGROUND: RscText
  		{
  			idc = -1;
  			x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX - ARTIBORDERTHICKNESS;
  			y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 0) * safezoneH + safezoneY - ARTIBORDERTHICKNESS;
  			w =  ( ARTILAYOUTWIDTH +  ARTILAYOUTWIDTHSPACE) *  safezoneW  + ARTIBORDERTHICKNESS * 2 ;
  			h = ARTILAYOUTHEIGHTSPACE * 5 * safezoneH + ARTIBORDERTHICKNESS * 2 ;
  				shadow = 0;
  			colorBackground[] = {0.65,0.65,0.65,0.7};
  		};
  		class GSFM_DESCRIPTIONTEXT: RscText
  		{
  			idc = -1;
  			text = "Grid Spotting Round"; //--- ToDo: Localize;
  
  			x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX;
  			y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 0) * safezoneH + safezoneY;
  			w = ARTILAYOUTWIDTH * safezoneW;
  			h = ARTILAYOUTHEIGHT * safezoneH;
  			colorText[] = {0,0,0,1};
  
  	shadow = 0;
  
  		};
  	class GSFM_SELECTEDGUNTEXT: RscText
  	{
  		idc = -1;
  		text = "Selected gun:"; //--- ToDo: Localize;
  
  		x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 1) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  
  		h = ARTILAYOUTHEIGHT * safezoneH;
  		colorText[] = {0,0,0,1};
  
  	shadow = 0;
  
  	};
  	class GSFM_SELECTEDSHELLTEXT: RscText
  	{
  		idc = -1;
  		text = "Aviable ammunition:"; //--- ToDo: Localize;
  		x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 2) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  		colorText[] = {0,0,0,1};
  
  		shadow = 0;
  	};
  	class GSFM_GRIDTEXT: RscText
  	{
  		idc = -1;
  		text = "Grid:"; //--- ToDo: Localize;
  		x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 3) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  		colorText[] = {0,0,0,1};
  
  	shadow = 0;
  	};
  	class GSFM_FIREBUTTON: RscButton
  	{
  		idc = 1430;
  		text = "Fire Artillery"; //--- ToDo: Localize;
  		x = ARTIWIDTHMAINSPACE * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 4) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  	shadow = 0;
  			onMouseButtonDown = "[] call FNC_DIA_GridSpottingFiremissionFire;";
  	};
  	class GSFM_SELECTEDGUNEDIT: RscListbox
  	{
  		idc = GSFM_DIA_IDC_GUNSELECT;
  		text = ""; //--- ToDo: Localize;
  		x = (ARTIWIDTHMAINSPACE + ARTILAYOUTWIDTHSPACE) * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 1) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  		//colorText[] = {0,1,1,1};
  		//
  		shadow = 0;
  		onLBSelChanged = "(_this select 1) call FNC_DIA_GridSpottingFiremissionSetArtillery;";
  	};
  	class GSFM_SELECTEDSHELLEDIT: RscListbox
  	{
  		idc = GSFM_DIA_IDC_SHELLSELECT;
  		text = ""; //--- ToDo: Localize;
  		x = (ARTIWIDTHMAINSPACE + ARTILAYOUTWIDTHSPACE) * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 2) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  			shadow = 0;
  	};
  	class GSFM_GRIDEDIT: RscEdit
  	{
  		idc = GSFM_DIA_IDC_GRID;
  		text = ""; //--- ToDo: Localize;
  		x = (ARTIWIDTHMAINSPACE + ARTILAYOUTWIDTHSPACE) * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 3) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  		colorText[] = {0,0,0,1};
  
  	shadow = 0;
  	};
  	class GSFM_CANCELBUTTON: RscButton
  	{
  		idc = 1600;
  		text = "Cancel"; //--- ToDo: Localize;
  		x = (ARTIWIDTHMAINSPACE + ARTILAYOUTWIDTHSPACE) * safezoneW + safezoneX;
  		y = (ARTIHEIGHTMAINSPACE + ARTILAYOUTHEIGHTSPACE * 4) * safezoneH + safezoneY;
  		w = ARTILAYOUTWIDTH * safezoneW;
  		h = ARTILAYOUTHEIGHT * safezoneH;
  	shadow = 0;
  			onMouseButtonDown = "[] call FNC_DIA_GridSpottingFiremissionCloseDialog;";
  	};
  };
  
  ////////////////////////////////////////////////////////
  // GUI EDITOR OUTPUT END
  ////////////////////////////////////////////////////////
  