<!-- 
	Version: $Rev: 4927 $
	Last Changed by: $LastChangedBy: flisher $
	Date: $Date: 2007-05-27 21:28:56 -0400 (dim., 27 mai 2007) $
-->

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

    <Button name="CVItemButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
		<Frames>
			<Model name="$parentCooldown" inherits="CooldownFrameTemplate"/>
		</Frames>
        <Scripts>
		      <OnLoad>
					this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
				</OnLoad>
				<OnClick>
					CharactersViewer.gui.ItemButton.OnClick(arg1);
            </OnClick>
            <OnEnter>
					CharactersViewer.gui.ItemButton.OnEnter();
            </OnEnter>
            <OnLeave>
					this.updateTooltip = nil;
					GameTooltip:Hide();
					ResetCursor();
            </OnLeave>
        </Scripts>
    </Button>
	 
	<Frame name="CVPaperDollFrameDropDown1" inherits="UIDropdownMenuTemplate" enableMouse="true" parent="PaperDollFrame">
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="CharacterWristSlot"	relativePoint="BOTTOMLEFT">
				<Offset> 
					<AbsDimension x="-19" y="-3"/> 
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				CharactersViewer.xml.DropDown_OnLoad();
			</OnLoad>
			<OnShow>
				CharactersViewer.xml.DropDown_OnLoad();
			</OnShow>
			<OnEnter>
				--CharactersViewerDropDown_OnEnter();
			</OnEnter>
		</Scripts>
	</Frame>

	<!-- CVPaperDollFrameDropDown2 is in PaperDollFrame.xml -->
	<!-- CVPaperDollFrameDropDown2 is in BankFrame.xml -->
</Ui>
