/trunk
local actionInfo = DagAssistGetActionInfo(btn.Action.DA_ActionType, btn.Action.DA_ActionData, btn.Action.DA_ActionSubType); |
if (actionInfo.Name) then |
btn:SetText(actionInfo.Name); |
if (btn.Action.DA_ActionData == "6948") then |
btn:SetText(GetBindLocation()); |
end |
if (actionInfo.Texture) then |
btn.Texture:SetTexture(actionInfo.Texture); |
if (actionInfo.Name) then |
btnMenuItem:SetText(actionInfo.Name); |
if (action.DA_ActionData == "6948") then |
btnMenuItem:SetText(GetBindLocation()); |
end |
if (actionInfo.Texture) then |
btnMenuItem.Texture:SetTexture(actionInfo.Texture); |
btnMenuItem.IconSet = true; |
4.04 |
* Added Cancel button to config window |
* Raised frame strata of config window |
* Hearthstone will once again show the bind location |
4.03 |
* Added instructions to the configuration panel |
end |
elseif actionType == "item" then |
itemName, _, _, _, _, _, _, _, _, itemTexture, _ = GetItemInfo(actionData); |
elseif actionType == "macro" then |
itemName, itemTexture, _ = GetMacroInfo(actionData); |
elseif actionType == "spell" then |