some about refactoring

This commit is contained in:
Manuel Simon Hirsig
2015-09-27 13:17:29 +02:00
parent 65ec994554
commit c699105d29
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Frame name="AuxDescriptionFrame" frameStrata="HIGH" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
<Size><AbsDimension x="520" y="480" /></Size>
<Frame name="AuxAboutFrame" frameStrata="HIGH" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
<Size><AbsDimension x="520" y="440" /></Size>
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-90"/></Offset></Anchor></Anchors>
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
@@ -12,7 +12,7 @@
<Layers>
<Layer level="BACKGROUND">
<FontString name="AuxOptionsAuthorText" inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP">
<FontString name="AuxAboutAuthorText" inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset><AbsDimension x="30" y="20"/></Offset>
@@ -24,7 +24,7 @@
<Frames>
<SimpleHTML name="AuxDescriptionHTML">
<SimpleHTML name="AuxAboutDescriptionHTML">
<Size><AbsDimension x="460" y="420" /></Size>
<Anchors>
<Anchor point="TOPLEFT"><Offset><AbsDimension x="30" y="-30"/></Offset></Anchor>
@@ -38,7 +38,7 @@
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
<Scripts>
<OnClick>
AuxDescriptionFrame:Hide()
AuxAboutFrame:Hide()
</OnClick>
</Scripts>
</Button>
+4 -4
View File
@@ -10,9 +10,9 @@ AUX_AUCTION_DURATION = 'long'
function Aux.options.show_description()
AuxDescriptionFrame:Show()
AuxAboutFrame:Show()
AuxDescriptionHTML:SetText("<html><body>"
AuxAboutDescriptionHTML:SetText("<html><body>"
.."<h1>What is Aux?</h1><br/>"
.."<p>"
.."Aux adds two tabs to the traditional auction house layout, Aux Sell and Aux Buy, which make selling and buying respectively a much more streamlined experience by automating a lot of the annoying little tasks involved in managing your auctions and providing you with much better information to base decisions on."
@@ -22,8 +22,8 @@ function Aux.options.show_description()
.."The Aux Buy panel makes a multi-page search for you and lists all items with the most relevant information sorted by unit price. From that list you can select all the auctions you want to buy and after your confirmation Aux then makes another multi-page search, picking up all the selected auctions in the process. At the end you're presented with a report about what has been purchased."
.."</p>"
.."</body></html>")
AuxDescriptionHTML:SetSpacing(3)
AuxOptionsAuthorText:SetText("Authors: "..AuxAuthors)
AuxAboutDescriptionHTML:SetSpacing(3)
AuxAboutAuthorText:SetText("Authors: "..AuxAuthors)
end