<!--
  ~ This file is part of AutoInvite
  ~
  ~ (C) 2016 Scott Yeskie (Sasky)
  ~
  ~ This program is free software; you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation; either version 2 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->
<GuiXml>
    <Controls>
        <Label name="AI_SmallGroupListLabel" font="ZoFontGame" wrapMode="ELLIPSIS" virtual="true"/>
        <Control name="AI_SmallGroupListRow" mouseEnabled="true" virtual="true">
            <Dimensions x="300" y="30"/>
            <OnMouseEnter>
                AI_SmallGroupListing_OnMouseEnter(self)
            </OnMouseEnter>
            <OnMouseExit>
                AI_SmallGroupListing_OnMouseExit(self)
            </OnMouseExit>
            <!--<OnMouseUp>
                AI_SmallGroupListing_OnMouseUp(self, button, upInside)
            </OnMouseUp>-->
            <Controls>
                <Texture name="$(parent)BG" inherits="ZO_ThinListBgStrip" hidden="true">
                    <Dimensions x="260"/>
                </Texture>

                <!--<Button name="$(parent)Cancel" inherits="ZO_IgnoreListRowButton">
                    <Anchor point="LEFT" offsetX="5"/>
                    <Textures
                            normal="EsoUI/Art/Buttons/cancel_up.dds"
                            pressed="EsoUI/Art/Buttons/cancel_down.dds"
                            mouseOver="EsoUI/Art/Buttons/cancel_over.dds"
                            />
                    <OnMouseEnter>
                        ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SI_IGNORE_LIST_REMOVE_IGNORE))
                        ZO_IgnoreListRow_OnMouseEnter(self:GetParent())
                    </OnMouseEnter>
                    <OnMouseExit>
                        ZO_Tooltips_HideTextTooltip()
                        ZO_IgnoreListRow_OnMouseExit(self:GetParent())
                    </OnMouseExit>
                    <OnClicked>
                        RemoveIgnore(self:GetParent().displayName)
                    </OnClicked>
                </Button>-->
                <Label name="$(parent)Status" inherits="AI_SmallGroupListLabel">
                    <Anchor point="LEFT" offsetX="5"/>
                    <Dimensions x="50"/>
                </Label>
                <Label name="$(parent)DisplayName" inherits="AI_SmallGroupListLabel">
                    <Anchor point="LEFT" relativeTo="$(parent)Status" relativePoint="RIGHT" offsetX="10"/>
                    <Dimensions x="200"/>
                </Label>
            </Controls>
        </Control>

        <TopLevelControl name="AI_SmallGroupList" inherits="ZO_RightPanelFootPrint" hidden="true">
            <OnInitialized>
                AI_SmallGroupListing_OnInitialized(self)
            </OnInitialized>
            <Controls>
                <Control name="$(parent)Headers">
                    <Anchor point="TOPLEFT" offsetX="280" offsetY="67"/>
                    <Anchor point="TOPRIGHT" offsetY="67" offsetX="300"/>
                    <Dimensions y="32"/>
                    <Controls>
                        <Control name="$(parent)DisplayName" inherits="ZO_SortHeader">
                            <OnInitialized>
                                ZO_SortHeader_Initialize(self, GetString(SI_GROUP_LIST_PANEL_NAME_HEADER),
                                "displayName", ZO_SORT_ORDER_UP, TEXT_ALIGN_LEFT, "ZoFontGameLargeBold")
                            </OnInitialized>
                            <Anchor point="TOPLEFT" offsetX="59"/>
                            <Dimensions x="200" y="32"/>
                        </Control>
                    </Controls>
                </Control>

                <Control name="$(parent)List" inherits="ZO_ScrollList">
                    <Anchor point="TOPLEFT" relativeTo="$(parent)Headers" relativePoint="BOTTOMLEFT" offsetY="3"/>
                    <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMLEFT" offsetX="600"
                            offsetY="-32"/>
                </Control>
            </Controls>
        </TopLevelControl>
    </Controls>
</GuiXml>