XBar III

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

User When Change
matif Sep 01, 2010 at 10:22 UTC Changed status from Fixed to Verified
matif Jun 29, 2010 at 06:52 UTC Changed status from New to Fixed
skitey Jun 27, 2010 at 14:00 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of matif matif Jun 28, 2010 at 13:54 UTC - 0 likes

    Thank you!
    This is a nice feature, I added it in XBarIII and II.

    Last edited Jun 28, 2010 by matif
  • 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

Reported by

Possible assignees