<!--
      Shopkeeper UI Layout File
      Last Updated July 3, 2014
      Written July 2014 by Dan Stone (@khaibit) - dankitymao@gmail.com
      Released under terms in license.txt accompanying this file.
      Distribution without license.txt is prohibited!
-->
<GuiXml>
  <Controls>
    <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_ThinBackdrop" />
        <Label name="$(parent)SearchLabel" font="ZoFontGame" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="CENTER" text="Search: ">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="10" offsetY="10" />
        </Label>
        <EditBox name="$(parent)SearchBox" mouseEnabled="true" editEnabled="true" font="ZoFontGame" textType="TEXT_TYPE_ALL" multiLine="false" newLineEnabled="false">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="75" offsetY="9" />
          <Dimensions x="200" 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>
        <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)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="100" y="25" />
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="353" offsetY="44" />
        </Button>
        <Label name="$(parent)Quantity" font="ZoFontGame" width="50" height="25" inheritAlpha="true" color="FFFFFF" verticalAlignment="TOP" horizontalAlignment="LEFT" text="">
          <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="525" offsetY="44" />
        </Label>
        <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="650" 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="741" 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="788" offsetY="44" />
          <Dimensions x="75" 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>
    <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="765" offsetY="7" />
        </Label>
      </Controls>
    </Control>
  </Controls>
</GuiXml>