-- {GameFolder}\deal.lua
-- this is automatic generated file! do not modify it!
-- script for nls16 window loader. version 1.60.
-- copyright (c) 2005-2010 rionix. all rights reserved.

function FillWindow(wnd)

	setWndActive(wnd, true)
	setWndModal(wnd, false)

	local ctrl

	ctrl = createFrameCtrl(wnd, "frame")
	setCtrlFrame(ctrl, { x=370, y=650, w=320, h=114 }, { x=18, y=8 }, 0)
	setCtrlUVFrame(ctrl, { x=0.5273, y=0.3496, w=0.4688, h=0.1055 }, { x=0.0371, y=0.0156 }, 0)
	setCtrlTexture(ctrl, "gui_main0")
	drawFrameCtrlInnerRect(ctrl, true)

	ctrl = createLabelCtrl(wnd, "label_time")
	setCtrlRect(ctrl, { x=395, y=728, w=235, h=29 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Center + align.Middle, 0)
	setCtrlText(ctrl, "Сделка (осталось 99:99)", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_in")
	setCtrlRect(ctrl, { x=496, y=696, w=32, h=32 }, 0)
	setCtrlUVRect(ctrl, { x=0.3027, y=0.8457, w=0.0898, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_in")
	setCtrlRect(ctrl, { x=540, y=698, w=135, h=29 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "500 (еще 200)", 0)
	enableCtrl(ctrl, false)

	ctrl = createImageCtrl(wnd, "image_out")
	setCtrlRect(ctrl, { x=496, y=663, w=32, h=32 }, 0)
	setCtrlUVRect(ctrl, { x=0.3027, y=0.8457, w=0.0898, h=0.0742 }, 0)
	setCtrlTexture(ctrl, "gui_main0", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "label_out")
	setCtrlRect(ctrl, { x=540, y=665, w=36, h=29 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Left + align.Middle, 0)
	setCtrlText(ctrl, "500", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=400, y=698, w=85, h=29 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Right + align.Middle, 0)
	setCtrlText(ctrl, "[DealIn]", 0)
	enableCtrl(ctrl, false)

	ctrl = createLabelCtrl(wnd, "noname")
	setCtrlRect(ctrl, { x=400, y=665, w=85, h=29 }, 0)
	setCtrlFont(ctrl, "TimesNewRomanItalic22", 0)
	setCtrlColor(ctrl, 1.000, 1.000, 1.000, 0)
	setCtrlAlign(ctrl, align.Right + align.Middle, 0)
	setCtrlText(ctrl, "[DealOut]", 0)
	enableCtrl(ctrl, false)


end
