• Dear Guest,

    You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode.
    To view all forum nodes and be able to create threads/posts please register or log-in with your existing account.

    TwinStar team

[Release] EFC Report

Another suggestion: add tooltips.

Code:
myFrame:SetScript("OnEnter", function() 
            GameTooltip:SetOwner(this, "ANCHOR_CURSOR")
            GameTooltip:SetText("Tooltip title")
            GameTooltip:AddLine("Tooltip text.", 1, 1, 1)
            GameTooltip:Show()
        end)

myFrame:SetScript("OnLeave", function()
        GameTooltip:ClearLines()
        GameTooltip:Hide()
    end)
 
Another suggestion: add tooltips.

Code:
myFrame:SetScript("OnEnter", function() 
            GameTooltip:SetOwner(this, "ANCHOR_CURSOR")
            GameTooltip:SetText("Tooltip title")
            GameTooltip:AddLine("Tooltip text.", 1, 1, 1)
            GameTooltip:Show()
        end)

myFrame:SetScript("OnLeave", function()
        GameTooltip:ClearLines()
        GameTooltip:Hide()
    end)

Thanks, I'll try to add that code. :biggrin:

can you make ability to say the those phrases in chinese?

You can edit EFCreport.lua with a text editor (I suggest you to use Notepad++ though) and translate all the english sentences in chinese, check the example below:

Code:
function hfr_OnClick()
    SendChatMessage("[COLOR=#b22222]EFC Horde flag room![/COLOR]", 'BATTLEGROUND');
end
 
v1.5

- I've completely reworked the UI to make it more in line with the original Blizzard UI.
- I've added tooltips when hovering the icons with the cursor.
- I've removed the auto-hide/show and lock/unlock features becouse they weren't working properly (sorry I'm not a coder!).

efc3_pic1.jpg



Download link in the main post!
 
Bumping, would really appreciate if someone could share the latest version of this addon. I've been asking people everywhere but no one seems to have it.. I was succesfull in getting ver 1.2 but I really dont like the button layout on that one, 1.5 makes much more sense.
 
Top Bottom