<!--
      Shopkeeper UI Layout File
      Last Updated August 4, 2014
      Written July 2014 by Dan Stone (@khaibit) - dankitymao@gmail.com
      Released under terms in license accompanying this file.
      Distribution without license is prohibited!
-->
<GuiXml>
  <Controls>
    <TopLevelControl movable="true" mouseEnabled="true" name="ShopkeeperStatsWindow" hidden="true">
      <Dimensions x="475" y="185" />
      <OnMoveStop>
        Shopkeeper.OnStatsWindowMoveStop()
      </OnMoveStop>
      <Controls>
        <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" />
        <Label name="$(parent)Title" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Shopkeeper Sales Statistics">
          <Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="5" />
        </Label>
        <Button name="$(parent)CloseButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="CENTER" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-20" offsetY="20" />
          <Dimensions x="48" y="48" />
        </Button>
        <Label name="$(parent)ItemsSoldLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Items sold: 0">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="15" offsetY="55" />
        </Label>
        <Label name="$(parent)TotalGoldLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Total gold: 0 (0 per day)">
          <Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-15" offsetY="55" />
        </Label>
        <Label name="$(parent)BiggestSaleLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Biggest sale: (0)">
          <Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="90" />
        </Label>
        <Label name="$(parent)SliderSettingLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Using all data">
          <Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="125" />
        </Label>
        <Label name="$(parent)SliderLabel" font="ZoFontGame" height="25" width="50" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Days: ">
          <Anchor point="BOTTOMLEFT" relativeTo="$(parent)" relativePoint="BOTTOMLEFT" offsetX="10" offsetY="-14" />
        </Label>
      </Controls>
    </TopLevelControl>
    <TopLevelControl movable="true" mouseEnabled="true" name="ShopkeeperWindow" hidden="true">
      <Dimensions x="907" y="685" />
      <OnMoveStop>
        Shopkeeper.OnWindowMoveStop()
      </OnMoveStop>
      <Controls>
        <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" />
        <Label name="$(parent)SearchLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Search: ">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="15" offsetY="10" />
        </Label>
        <EditBox name="$(parent)SearchBox" mouseEnabled="true" editEnabled="true" font="ZoFontGame" textType="TEXT_TYPE_ALL" multiLine="false" newLineEnabled="false">
          <Anchor point="LEFT" relativeTo="$(parent)SearchLabel" relativePoint="RIGHT" offsetX="5" offsetY="0" />
          <Dimensions x="175" y="25" />
          <Controls>
            <Backdrop name="$(parent)TextBG" centerColor="000000" edgeColor="AAAAAA">
              <AnchorFill />
              <Edge edgeSize="1" />
            </Backdrop>
          </Controls>
          <OnMouseDown>
            self:TakeFocus()
          </OnMouseDown>
          <OnEnter>
            self:LoseFocus()
          </OnEnter>
          <OnEscape>
            self:LoseFocus()
          </OnEscape>
        </EditBox>
        <Button name="$(parent)CloseButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="CENTER" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-20" offsetY="20" />
          <Dimensions x="48" y="48" />
        </Button>
        <Label name="$(parent)Title" font="ZoFontGame" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="CENTER" text="Shopkeeper - Your Sales">
	        <Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="-10" offsetY="5" />
        </Label>
        <Button name="$(parent)StatsButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="LEFT" relativeTo="$(parent)Title" relativePoint="RIGHT" offsetX="15" offsetY="0" />
          <Dimensions x="48" y="48" />
        </Button>
        <Button name="$(parent)ViewSizeButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="LEFT" relativeTo="$(parent)StatsButton" relativePoint="RIGHT" offsetX="0" offsetY="0" />
          <Dimensions x="48" y="48" />
        </Button>
        <Button name="$(parent)Buyer" font="ZoFontGame" inheritAlpha="true" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Buyer">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="30" offsetY="44" />
          <Dimensions x="60" y="25" />
          <FontColors normalColor="3689EF" mouseOverColor="3689EF" pressedColor="3689EF"/>
        </Button>
        <Label name="$(parent)Guild" font="ZoFontGame" width="140" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Guild">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="143" offsetY="44" />
        </Label>
        <Button name="$(parent)ItemName" font="ZoFontGame" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Item">
          <Dimensions x="200" y="25" />
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="352" offsetY="44" />
        </Button>
        <Button name="$(parent)SellTime" font="ZoFontGame" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Sale Time">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="649" offsetY="44" />
          <Dimensions x="95" y="25" />
        </Button>
        <Texture name="$(parent)SortTime" textureFile="/esoui/art/miscellaneous/list_sortheader_icon_sortdown.dds" alpha="1">
          <Dimensions x="40" y="40" />
          <Anchor point="LEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="731" offsetY="54" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
        <Button name="$(parent)Price" font="ZoFontGame" inheritAlpha="true" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Price">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="775" offsetY="44" />
          <Dimensions x="85" y="25" />
          <FontColors normalColor="D5B526" mouseOverColor="D5B526" pressedColor="D5B526" />
        </Button>
        <Texture name="$(parent)SortPrice" textureFile="/esoui/art/miscellaneous/list_sortheader_icon_neutral.dds" alpha="1">
          <Dimensions x="40" y="40" />
          <Anchor point="LEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="850" offsetY="54" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
      </Controls>
    </TopLevelControl>
    <TopLevelControl movable="true" mouseEnabled="true" name="ShopkeeperMiniWindow" hidden="true">
      <Dimensions x="650" y="416" />
      <OnMoveStop>
        Shopkeeper.OnWindowMoveStop()
      </OnMoveStop>
      <Controls>
        <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" />
        <Label name="$(parent)SearchLabel" font="ZoFontGame" height="25" width="95" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Search: ">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="15" offsetY="10" />
        </Label>
        <EditBox name="$(parent)SearchBox" mouseEnabled="true" editEnabled="true" font="ZoFontGame" textType="TEXT_TYPE_ALL" multiLine="false" newLineEnabled="false">
          <Anchor point="LEFT" relativeTo="$(parent)SearchLabel" relativePoint="RIGHT" offsetX="5" offsetY="0" />
          <Dimensions x="175" y="25" />
          <Controls>
            <Backdrop name="$(parent)TextBG" centerColor="000000" edgeColor="AAAAAA">
              <AnchorFill />
              <Edge edgeSize="1" />
            </Backdrop>
          </Controls>
          <OnMouseDown>
            self:TakeFocus()
          </OnMouseDown>
          <OnEnter>
            self:LoseFocus()
          </OnEnter>
          <OnEscape>
            self:LoseFocus()
          </OnEscape>
        </EditBox>
        <Button name="$(parent)CloseButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="CENTER" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-20" offsetY="20" />
          <Dimensions x="48" y="48" />
        </Button>
        <Label name="$(parent)Title" font="ZoFontGame" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="CENTER" text="Shopkeeper - Your Sales">
	        <Anchor point="LEFT" relativeTo="$(parent)SearchBox" relativePoint="RIGHT" offsetX="40" offsetY="0" />
        </Label>
        <Button name="$(parent)StatsButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="LEFT" relativeTo="$(parent)Title" relativePoint="RIGHT" offsetX="15" offsetY="0" />
          <Dimensions x="48" y="48" />
        </Button>
        <Button name="$(parent)ViewSizeButton" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
          <Anchor point="LEFT" relativeTo="$(parent)StatsButton" relativePoint="RIGHT" offsetX="0" offsetY="0" />
          <Dimensions x="48" y="48" />
        </Button>
        <Label name="$(parent)Guild" font="ZoFontGame" width="120" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Guild">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="15" offsetY="44" />
        </Label>
        <Button name="$(parent)ItemName" font="ZoFontGame" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Item">
          <Dimensions x="200" y="25" />
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="140" offsetY="44" />
        </Button>
        <Button name="$(parent)SellTime" font="ZoFontGame" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Sale Time">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="420" offsetY="44" />
          <Dimensions x="95" y="25" />
        </Button>
        <Texture name="$(parent)SortTime" textureFile="/esoui/art/miscellaneous/list_sortheader_icon_sortdown.dds" alpha="1">
          <Dimensions x="40" y="40" />
          <Anchor point="LEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="495" offsetY="54" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
        <Button name="$(parent)Price" font="ZoFontGame" inheritAlpha="true" verticalAlignment="TOP" horizontalAlignment="LEFT" text="Price">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="540" offsetY="44" />
          <Dimensions x="85" y="25" />
          <FontColors normalColor="D5B526" mouseOverColor="D5B526" pressedColor="D5B526" />
        </Button>
        <Texture name="$(parent)SortPrice" textureFile="/esoui/art/miscellaneous/list_sortheader_icon_neutral.dds" alpha="1">
          <Dimensions x="40" y="40" />
          <Anchor point="LEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="600" offsetY="54" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
      </Controls>
    </TopLevelControl>
    <Control name="ShopkeeperDataRow" horizontalAlignment="LEFT" verticalAlignment="CENTER" color="CFDCBD" font="ZoFontGame" virtual="true">
      <Dimensions x="857" y="36" />
      <Anchor point="TOPLEFT" offsetX="25" offsetY="25" />
      <Controls>
        <Backdrop name="$(parent)BG" inherits="ZO_ThinBackdrop" />
        <Button name="$(parent)Buyer" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Buyer">
          <Anchor point="TOPLEFT" offsetX="5" offsetY="5" />
          <Dimensions x="113" y="26" />
          <FontColors normalColor="3689EF" mouseOverColor="69EFFF" pressedColor="3689EF" />
        </Button>
        <Button name="$(parent)Guild" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Guild">
          <Anchor point="TOPLEFT" offsetX="120" offsetY="5" />
          <Dimensions x="160" y="26" />
          <FontColors normalColor="FFFFFF" mouseOverColor="FFFFFF" pressedColor="FFFFFF" />
        </Button>
        <Texture name="$(parent)ItemIcon" alpha="1">
          <Dimensions x="32" y="32" />
          <Anchor point="TOPLEFT" offsetX="288" offsetY="3" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
        <Button name="$(parent)ItemName" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Item Name">
          <Anchor point="TOPLEFT" offsetX="328" offsetY="5" />
          <Dimensions x="242" y="26" />
          <FontColors normalColor="0000FF" mouseOverColor="0000FF" pressedColor="0000FF" />
        </Button>
        <Label name="$(parent)Quantity" font="ZoFontGame" width="30" height="26" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="x1">
          <Anchor point="TOPLEFT" offsetX="575" offsetY="7" />
        </Label>
        <Label name="$(parent)SellTime" font="ZoFontGame" width="115" height="26" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Time">
          <Anchor point="TOPLEFT" offsetX="625" offsetY="7" />
        </Label>
        <Label name="$(parent)Price" font="ZoFontGame" width="115" height="26" inheritAlpha="true" color="D5B526" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Price">
          <Anchor point="TOPLEFT" offsetX="751" offsetY="7" />
        </Label>
      </Controls>
    </Control>
    <Control name="ShopkeeperMiniDataRow" horizontalAlignment="LEFT" verticalAlignment="CENTER" color="CFDCBD" font="ZoFontGame" virtual="true">
      <Dimensions x="615" y="36" />
      <Anchor point="TOPLEFT" offsetX="10" offsetY="25" />
      <Controls>
        <Backdrop name="$(parent)BG" inherits="ZO_ThinBackdrop" />
        <Button name="$(parent)Guild" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Guild">
          <Anchor point="TOPLEFT" offsetX="5" offsetY="5" />
          <Dimensions x="120" y="26" />
          <FontColors normalColor="FFFFFF" mouseOverColor="FFFFFF" pressedColor="FFFFFF" />
        </Button>
        <Texture name="$(parent)ItemIcon" alpha="1">
          <Dimensions x="32" y="32" />
          <Anchor point="TOPLEFT" offsetX="125" offsetY="3" />
          <TextureCoords left="0" right="1" top="0" bottom="1" />
        </Texture>
        <Button name="$(parent)ItemName" font="ZoFontGame" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Item Name">
          <Anchor point="TOPLEFT" offsetX="160" offsetY="5" />
          <Dimensions x="215" y="26" />
          <FontColors normalColor="0000FF" mouseOverColor="0000FF" pressedColor="0000FF" />
        </Button>
        <Label name="$(parent)Quantity" font="ZoFontGame" width="30" height="26" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="x1">
          <Anchor point="TOPLEFT" offsetX="380" offsetY="7" />
        </Label>
        <Label name="$(parent)SellTime" font="ZoFontGame" width="115" height="26" inheritAlpha="true" color="FFFFFF" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Time">
          <Anchor point="TOPLEFT" offsetX="410" offsetY="7" />
        </Label>
        <Label name="$(parent)Price" font="ZoFontGame" width="115" height="26" inheritAlpha="true" color="D5B526" verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Price">
          <Anchor point="TOPLEFT" offsetX="530" offsetY="7" />
        </Label>
      </Controls>
    </Control>
  </Controls>
</GuiXml>