{
	"customTypes" : {
		"labelTitleMain" : {
			"type": "label",
			"font": "big",
			"alignment": "left",
			"color": "yellow"
		},
		"labelTitle" : {
			"type": "label",
			"font": "small",
			"alignment": "left",
			"color": "yellow"
		},
		"backgroundTexture" : {
			"type": "texture",
			"font": "tiny",
			"color" : "blue",
			"image": "DIBOXBCK"
		},
		"areaFilled":{
			"type": "transparentFilledRectangle",
			"color": [0, 0, 0, 75],
			"colorLine": [64, 80, 128, 255]
		}
	},
	
	
	"width": 800,
	"height": 600,
	
	"items":
	[
		{
			"type": "backgroundTexture",
			"rect": {"w": 800, "h": 600}
		},
		
		{
			"type": "areaFilled",
			"rect": {"x": 5, "y": 5, "w": 250, "h": 40}
		},
		{
			"name" : "accountNameLabel",
			"type": "labelTitleMain",
			"position": {"x": 15, "y": 10},
			"maxWidth": 230
		},

		{
			"type": "areaFilled",
			"rect": {"x": 5, "y": 50, "w": 250, "h": 500}
		},
		{
			"name" : "headerRoomList",
			"type": "labelTitle",
			"position": {"x": 15, "y": 53}
		},
		{
			"type" : "lobbyItemList",
			"name" : "roomList",
			"itemType" : "room",
			"position" : { "x" : 7, "y" : 68 },
			"itemOffset" : { "x" : 0, "y" : 40 },
			"sliderPosition" : { "x" : 230, "y" : 0 },
			"sliderSize" : { "x" : 480, "y" : 480 },
			"visibleAmount" : 12
		},
		
		{
			"type": "areaFilled",
			"rect": {"x": 258, "y": 50, "w": 150, "h": 180}
		},
		{
			"name" : "headerChannelList",
			"type": "labelTitle",
			"position": {"x": 268, "y": 53}
		},
		{
			"type" : "lobbyItemList",
			"name" : "channelList",
			"itemType" : "channel",
			"position" : { "x" : 260, "y" : 68 },
			"itemOffset" : { "x" : 0, "y" : 40 },
			"visibleAmount" : 4
		},
		
		{
			"type": "areaFilled",
			"rect": {"x": 258, "y": 250, "w": 150, "h": 340}
		},
		{
			"name" : "headerMatchList",
			"type": "labelTitle",
			"position": {"x": 268, "y": 253}
		},
		{
			"type" : "lobbyItemList",
			"name" : "matchList",
			"itemType" : "match",
			"position" : { "x" : 260, "y" : 268 },
			"itemOffset" : { "x" : 0, "y" : 40 },
			"sliderPosition" : { "x" : 130, "y" : 0 },
			"sliderSize" : { "x" : 320, "y" : 320 },
			"visibleAmount" : 8
		},

		{
			"type": "areaFilled",
			"rect": {"x": 411, "y": 50, "w": 232, "h": 515}
		},
		{
			"name" : "headerGameChat",
			"type": "labelTitle",
			"position": {"x": 421, "y": 53},
			"maxWidth": 210
		},
		{
			"type": "textBox",
			"name": "gameChat",
			"font": "small",
			"alignment": "left",
			"color": "white",
			"blueTheme" : true,
			"rect": {"x": 421, "y": 68, "w": 210, "h": 495}
		},
		
		{
			"type": "areaFilled",
			"rect": {"x": 411, "y": 565, "w": 196, "h": 25}
		},
		{
			"name" : "messageInput",
			"type": "textInput",
			"rect": {"x": 421, "y": 568, "w": 176, "h": 20}
		},
		
		{
			"type": "areaFilled",
			"rect": {"x": 646, "y": 50, "w": 150, "h": 540}
		},
		{
			"name": "headerAccountList",
			"type": "labelTitle",
			"position": {"x": 656, "y": 53}
		},
		{
			"type" : "lobbyItemList",
			"name" : "accountList",
			"itemType" : "account",
			"position" : { "x" : 648, "y" : 68 },
			"itemOffset" : { "x" : 0, "y" : 40 },
			"sliderPosition" : { "x" : 130, "y" : 0 },
			"sliderSize" : { "x" : 520, "y" : 520 },
			"visibleAmount" : 13
		},

		{
			"type": "button",
			"position": {"x": 646, "y": 10},
			"image": "lobbyHideWindow",
			"help": "core.help.288",
			"callback": "closeWindow",
			"hotkey": "globalCancel",
			"items":
			[
				{
					"type": "label",
					"font": "medium",
					"alignment": "center",
					"color": "yellow",
					"text": "core.help.561.hover" // Back
				}
			]
		},
		
		{
			"type": "button",
			"position": {"x": 610, "y": 565},
			"image": "lobbySendMessage",
			"help": "vcmi.lobby.channel.sendMessage",
			"callback": "sendMessage",
			"hotkey": "globalAccept",
			"items":
			[
				{
					"type": "picture",
					"image": "lobby/iconSend"
				}
			]
		},
		
		{
			"type": "button",
			"position": {"x": 5, "y": 556},
			"image": "lobbyCreateRoom",
			"help": "vcmi.lobby.room.create",
			"callback": "createGameRoom",
			"items":
			[
				{
					"type": "label",
					"font": "medium",
					"alignment": "center",
					"color": "yellow",
					"text": "vcmi.lobby.room.create.hover"
				}
			]
		},

	]
}
