require "scripts/style"

MakeDialog
{
	-- Name the modal dialog
	name="weaponUnlockedDialog",
	Bitmap
	{
		image="backgrounds/dialog",
		x = kCenter,
		y = kCenter,

--		WeaponUnlockedWindow
--		{
			--x=0,y=0,w=kMax,h=kMax,

			Text
			{
				font = StandardButtonFont,
				name = "youHaveUnlockedText",
				x=40,y=25,w=335,h=30,
				flags = kHAlignCenter + kVAlignCenter,
				label = "youHaveUnlockedText"
			};

			Text
			{
				font = StandardButtonFont,
				name = "weaponUnlockCongratulation",
				x=40,y=180,w=335,h=20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "weaponUnlockCongratulation"
			};
			Text
			{
				font = StandardButtonFontSmall,
				name = "unlockedWeaponDescription",
				x=40,y=192,w=335,h=60,
				flags = kHAlignCenter + kVAlignCenter,
				label = gWeaponUnlockedDescription--"weaponUnlockedDescription01"
			};            

			Bitmap
			{
				name="weaponIconBckgrnd",
				image="pics/weapons/weapon_icons/unlock_background",
				x=kCenter,
				y=52,
			},
            
			Bitmap
			{
				name="weaponIcon01",
				image= gWeaponUnlockedIcon,--"pics/weapons/weapon_icons/w1_earthquake_icon",
				x=kCenter,
				y=72,
			},	            
            
            SetStyle(SmallEmptyRoundButtonStyle),
			Button
			{
				x = kCenter,
				y = kMax-64,
				name="weaponUnlockedOK",
				label="ok",
				close=true,
				default=true,
				type = kPush,
			},
--		},
	},
}


