22 - Fixed my Xbar II adpeted BG Button for Xbar III, plz add !!!
Hi, i helped FuSeng past ago with adding an Battleground-Button to the Function menu.
Because i start to linke Xbar III, i fixed now the button in this way:
clicking outside of the BattleGround -> Shows Queue Frame
clicking inside BattleGround -> Shows BattleGroundScore
here's the code snipped, that need to be changed in xbar.lua
------------------------------------------------------------
},{
icon="Interface\\Minimap\\MinimapButton_BattleGround_Normal",
GetText=function() return XLng["PopupBtn"]["Main_BG1"]; end,
GetTooltip=function() return XLng["PopupBtn"]["Main_BG2"]; end,
OnClick=function()
if (GetBattleGroundType() > 0) then ToggleUIFrame(BattleGroundStatusFrame); return;
else ToggleUIFrame(BattleGroundQueueFrame); end
end
},{
-------------------------------------------------------------
need some testing in SiegeWars (Belagerungskrieg) but i think it should work and show the same way
regrats from german PvE Riocht Realm
- 1 comment
- 1 comment
Facts
- Last updated
- Sep 01, 2010
- Reported
- Jun 27, 2010
- Status
- Verified - QA has verified that the fix has worked.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #1
matif Jun 28, 2010 at 13:54 UTC - 0 likesThank you!
This is a nice feature, I added it in XBarIII and II.