<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="TabAgenda.lua"></Script>

	<Frame parentKey="TabAgenda" inherits="AddonFactory_AuctionHouseTabFrameTemplate" parent="AltoholicFrame" id="6">
		<Size x="758" y="447" />
		<Anchors>
			<Anchor point="TOPLEFT"/>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<FontString parentKey="Status" inherits="GameFontNormal" justifyH="LEFT">
					<Size x="350" y="24" />
					<Anchors>
						<Anchor point="BOTTOMLEFT" x="200" y="4" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame parentKey="CategoriesList" inherits="AddonFactory_AuctionHouseCategoriesListTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" x="4" y="-68"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						Altoholic:BindViewToController(self, "AltoholicUI.TabAgendaCategoriesList", "AddonFactory.AuctionHouseCategoriesList")
					</OnLoad>
				</Scripts>
			</Frame>
			
			<Frame parentKey="Background" useParentLevel="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.CategoriesList" relativePoint="TOPRIGHT" x="4" y="-25"/>
					<Anchor point="RIGHT" relativeTo="AltoholicFrame" relativePoint="RIGHT" x="-30" y="0"/>
					<Anchor point="BOTTOM" relativeTo="AltoholicFrame" relativePoint="BOTTOM" x="0" y="28"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND" textureSubLevel="-5">
						<Texture parentKey="bg" atlas="auctionhouse-background-index" useAtlasSize="true" />
					</Layer>
				</Layers>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				Altoholic:BindViewToController(self, "AltoholicUI.TabAgenda")
			</OnLoad>
		</Scripts>
	</Frame>
</Ui>
