- Add symbol to messages
urnati [01-31-20 - 05:28]
- Add symbol to messages
- Swap the 'start' and 'result' buttons
diff --git a/TitanClassicLootType/TitanClassicLootType.lua b/TitanClassicLootType/TitanClassicLootType.lua
index 7cb02ff..d17586b 100644
--- a/TitanClassicLootType/TitanClassicLootType.lua
+++ b/TitanClassicLootType/TitanClassicLootType.lua
@@ -1209,7 +1209,7 @@ function Track.StartRoll ()
Track.ShowWindow()
Track.ClearRolls()
Track.DB.RollInProcess = true
- Track.AddChat(Track.MSGPREFIX_START .. string.format(L["MsgStart"],L["TextPass"]))
+ Track.AddChat(Track.MSGPREFIX_START .. "{circle} "..string.format(L["MsgStart"],L["TextPass"]))
Track.AddChat(L["MsgBar"])
end
@@ -1245,9 +1245,9 @@ function Track.RollAnnounce()
end
if winName == "" then
- msg= Track.MSGPREFIX_END .. addPrefix .. " No winners"
+ msg= Track.MSGPREFIX_END .. addPrefix .. "{circle} No winners"
else
- msg= Track.MSGPREFIX_END .. addPrefix .. string.format(L["MsgAnnounce"] ,winName, winRoll)
+ msg= Track.MSGPREFIX_END .. addPrefix .. "{circle} ".. string.format(L["MsgAnnounce"] ,winName, winRoll)
end
Track.AddChat(msg)
diff --git a/TitanClassicLootType/TitanClassicLootType.xml b/TitanClassicLootType/TitanClassicLootType.xml
index 321b8d1..2cc08e6 100644
--- a/TitanClassicLootType/TitanClassicLootType.xml
+++ b/TitanClassicLootType/TitanClassicLootType.xml
@@ -163,7 +163,7 @@
<!-- upper button line -->
- <Button name="$parentAnnounceButton" inherits="TitanPanelLootType_SmallButton" text="announce"><!--1-->
+ <Button name="$parentClearButton" inherits="TitanPanelLootType_SmallButton" text="announce"><!--1-->
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentHelperButton"/>
<Anchor point="BOTTOM" relativePoint="TOP" relativeTo="$parentRollButton">
@@ -174,28 +174,28 @@
</Anchors>
<Scripts>
<OnClick>
- TitanPanelLootType.BtnAnnounce()
+ TitanPanelLootType.BtnClearRolls()
</OnClick>
</Scripts>
</Button>
- <Button name="$parentClearButton" inherits="TitanPanelLootType_SmallButton" text="Clear"><!--3-->
+ <Button name="$parentAnnounceButton" inherits="TitanPanelLootType_SmallButton" text="Clear"><!--3-->
<Anchors>
<Anchor point="RIGHT" relativePoint="RIGHT" relativeTo="$parentHelperButton"/>
- <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentAnnounceButton"/>
+ <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentClearButton"/>
</Anchors>
<Scripts>
<OnClick>
- TitanPanelLootType.BtnClearRolls()
+ TitanPanelLootType.BtnAnnounce()
</OnClick>
</Scripts>
</Button>
<Button name="$parentNotRolledButton" inherits="TitanPanelLootType_SmallButton" text="Not Rolled"><!--2-->
<Anchors>
- <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentAnnounceButton"/>
- <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentClearButton"/>
- <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentAnnounceButton"/>
+ <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClearButton"/>
+ <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAnnounceButton"/>
+ <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentClearButton"/>
</Anchors>
<Scripts>
<OnClick>
@@ -209,8 +209,8 @@
<ScrollFrame name="$parentRollScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors>
<Anchor point="TOP" />
- <Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentAnnounceButton"/>
- <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentClearButton">
+ <Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentClearButton"/>
+ <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentAnnounceButton">
<Offset>
<AbsDimension x="-20" y="5"/>
</Offset>