XBar III

34 - [Patch] Added Rune-Extracter function to FunctionMenu

What does the provided patch do? Add new icon/menu to functions for RuneExtraction

Please provide any additional information below.

Xbar.xml @ XBar PopupMenu add:

<Button name="$parent_Button18" inherits="XBarPopupButtonTemplate" id="18">
		<Anchors><Anchor point="TOP" relativeTo="$parent_Button17" relativePoint="BOTTOM"/></Anchors>
</Button>

Xbar.lua @ local XBarMainButtons={ add block:

icon="Interface\\DrawRuneFrame\\DrawRuneFrame-Icon",
		GetText=function() return XLng["PopupBtn"]["Main_DR1"]; end,
		GetTooltip=function() return XLng["PopupBtn"]["Main_DR2"]; end,
		OnClick=function() ToggleUIFrame(getglobal("DrawRuneFrame")); end

and in lng file (i use german one [Xbar.DE.lua]) @ ["PopupBtn"]={ add this block:

["Main_DR1"]="Runen-Extraction",
["Main_DR2"]=".. entfernt Runen aus dem Equip.",

regrats, skitey

User When Change
matif Aug 15, 2010 at 14:42 UTC Changed status from New to Fixed
skitey Aug 13, 2010 at 21:43 UTC Create

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

Facts

Last updated
Aug 15, 2010
Reported
Aug 13, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees