<Ui>
	<Button name="BagnonMenuButtonTemplate" virtual="true">
		<Size x="20" y="20"/>
		<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
		<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
		<NormalTexture file="Interface\Buttons\UI-Quickslot2">
			<Size x="34" y="34"/>
			<Anchors>
				<Anchor point="CENTER" x="0" y="0"/>
			</Anchors>
		</NormalTexture>
		<Layers>
			<Layer level="BACKGROUND" textureSubLevel="0">
				<Texture parentKey="Bg">
					<Color r="0" g="0" b="0"/>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture parentKey="Icon"/>
			</Layer>
		</Layers>
	</Button>
	<Button name="BagnonOwnerSelectorTemplate" inherits="BagnonMenuButtonTemplate" virtual="true"/>

	<CheckButton name="BagnonMenuCheckButtonTemplate" inherits="BagnonMenuButtonTemplate" virtual="true">
		<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
	</CheckButton>
	<CheckButton name="BagnonSortButtonTemplate" inherits="BagnonMenuCheckButtonTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				self.Icon:SetAtlas('bags-button-autosort-up')
				self.Icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
			</OnLoad>
		</Scripts>
	</CheckButton>
	<CheckButton name="BagnonBagToggleTemplate" inherits="BagnonMenuCheckButtonTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				self.Icon:SetTexture([[Interface\Buttons\Button-Backpack-Up]])
			</OnLoad>
		</Scripts>
	</CheckButton>
</Ui>
