Hi,
Just finished working on my UI which is based off Lorti's default UI addon and a few scripts I put into an addon. http://i.imgur.com/AY3dM09.jpg
I need help with the following stuff;
Hide Artifact Power Bar unless mouseovered
I have this code to hide the microbar buttons but can't figure out the name for the artifact power bar.
Code:
-- Hide microbar unless mouseovered
local function showFoo(self)
for _, v in ipairs(MICRO_BUTTONS) do
_G[v]:SetAlpha(1)
end
end
local function hideFoo(self)
for _, v in ipairs(MICRO_BUTTONS) do
_G[v]:SetAlpha(0)
end
end
for _, v in ipairs(MICRO_BUTTONS) do
v = _G[v]
v:SetScript("OnEnter", showFoo)
v:SetScript("OnLeave", hideFoo)
v:SetAlpha(0)
end
Change the border colour of this minimap button to match the rest of the UI
Add a black outline to unit frame names to match the hp/mana text
I changed the colour like this, but no idea how to make it match the status text.
Code:
-- Change player/target/focus name font colour
PlayerName:SetTextColor(1, 1, 1)
TargetFrameTextureFrameName:SetTextColor(1, 1, 1)
FocusFrameTextureFrameName:SetTextColor(1, 1, 1)
TargetFrameToTTextureFrameName:SetTextColor(1, 1, 1)
I appreciate any replies!
Thanks