<GuiXml> <Controls> <Button name="LibrarianBook" virtual="true"> <Dimensions y="30" /> <Anchor point="RIGHT" relativeTo="$(parent)" /> <OnMouseUp> Librarian:ReadBook(self.id) </OnMouseUp> <OnMouseEnter> Librarian:OnMouseEnter(self) </OnMouseEnter> <OnMouseExit> Librarian:OnMouseExit(self) </OnMouseExit> <Controls> <Texture name="$(parent)Highlight" textureFile="EsoUI/Art/Miscellaneous/listItem_highlight.dds" alpha="0"> <AnchorFill /> <TextureCoords left="0" right="1" top="0" bottom=".625" /> </Texture> <Texture name="$(parent)Unread" textureFile="EsoUI/Art/Inventory/newitem_icon.dds"> <Dimensions x="32" y="32" /> <Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="19" /> </Texture> <Label name="$(parent)Found" font="ZoFontWinH2" wrapMode="ELLIPSIS"> <Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="90" offsetY="1" /> </Label> <Label name="$(parent)WordCount" font="ZoFontWinH2" wrapMode="ELLIPSIS"> <Anchor point="TOPRIGHT" relativeTo="$(parent)" offsetY="1" /> </Label> <Label name="$(parent)Title" font="ZoFontWinH2" wrapMode="ELLIPSIS"> <Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="290" offsetY="1" /> </Label> </Controls> </Button> <Button name="LibrarianSortHeader" virtual="true"> <OnMouseUp> Librarian:SortBy(self) </OnMouseUp> <OnMouseEnter> self:GetNamedChild("Name"):SetColor(ZO_HIGHLIGHT_TEXT:UnpackRGBA()) </OnMouseEnter> <OnMouseExit> self:GetNamedChild("Name"):SetColor(ZO_NORMAL_TEXT:UnpackRGBA()) </OnMouseExit> <Controls> <Label name="$(parent)Name" font="ZoFontGame" color="INTERFACE_TEXT_COLOR_NORMAL" modifyTextType="UPPERCASE" horizontalAlignment="CENTER" verticalAlignment="CENTER" wrapMode="ELLIPSIS"> <Anchor point="TOPLEFT" /> </Label> <Texture name="$(parent)Arrow" hidden="true" layer="TEXT"> <Dimensions x="16" y="16"/> <Anchor point="TOPLEFT" relativeTo="$(parent)Name" relativePoint="TOPRIGHT" offsetY="2" /> </Texture> </Controls> </Button> <TopLevelControl name="LibrarianFrame" inherits="ZO_RightPanelFootPrint" hidden="true"> <Controls> <Label name="$(parent)BookCount" font="ZoFontWindowTitle" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED" modifyTextType="UPPERCASE"> <Anchor point="TOPRIGHT" offsetX="-15" offsetY="-40" /> </Label> <Control name="$(parent)SortBy"> <Anchor point="TOPLEFT" relativeTo="$(parent)" offsetY="10" /> <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetY="0" /> <Controls> <Button name="$(parent)Unread" inherits="LibrarianSortHeader"> <Dimensions x="90" y="20" /> <Anchor point="TOPLEFT" /> <OnInitialized> Librarian:InitialiseSortHeader(self, SI_LIBRARIAN_SORT_TYPE_UNREAD, "Unread") </OnInitialized> </Button> <Button name="$(parent)Time" inherits="LibrarianSortHeader"> <Dimensions x="200" y="20" /> <Anchor point="TOPLEFT" offsetX="90" /> <OnInitialized> Librarian:InitialiseSortHeader(self, SI_LIBRARIAN_SORT_TYPE_FOUND, "Found") </OnInitialized> </Button> <Button name="$(parent)Title" inherits="LibrarianSortHeader"> <Anchor point="TOPLEFT" relativeTo="$(parent)Time" relativePoint="TOPRIGHT" /> <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetY="20" /> <OnInitialized> Librarian:InitialiseSortHeader(self, SI_LIBRARIAN_SORT_TYPE_TITLE, "Title") </OnInitialized> </Button> <Button name="$(parent)WordCount" inherits="LibrarianSortHeader"> <Dimensions x="80" y="20" /> <Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-10" /> <OnInitialized> Librarian:InitialiseSortHeader(self, SI_LIBRARIAN_SORT_TYPE_WORD_COUNT, "WordCount") </OnInitialized> </Button> </Controls> </Control> <Control name="$(parent)ScrollContainer" inherits="ZO_ScrollContainer"> <Anchor point="TOPLEFT" relativeTo="$(parent)SortBy" relativePoint="BOTTOMLEFT" offsetY="30" /> <Anchor point="BOTTOMRIGHT" offsetX="-12" offsetY="0" /> </Control> <Button name="$(parent)ShowAllBooks" inherits="ZO_CheckButton"> <Anchor point="BOTTOMLEFT" offsetX="29" offsetY="27"/> <Controls> <Label name="$(parent)Text" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="SI_LIBRARIAN_SHOW_ALL_BOOKS"> <Anchor point="LEFT" relativePoint="RIGHT" offsetX="5" /> </Label> </Controls> </Button> <Label name="$(parent)Credit" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_DISABLED"> <Anchor point="BOTTOMRIGHT" offsetX="-15" offsetY="27" /> <OnInitialized> self:SetText(GetString(SI_LIBRARIAN_CREDIT)) </OnInitialized> </Label> </Controls> </TopLevelControl> </Controls> </GuiXml>