Originally Posted by Haleth
On live, the game menu buttons (video options, interface options, exit game...) were treated as normal buttons and could be changed with SetNormalTexture(), SetHighlightTexture(), etc. In 4.0.x, this seems to be no longer the case.
Does anyone know what happened to them? I'm quite fond of my shiny options menu.
|
Code:
-- reskin all esc/menu buttons
local BlizzardMenuButtons = {
"Options",
"SoundOptions",
"UIOptions",
"Keybindings",
"Macros",
"Ratings",
"AddOns",
"Logout",
"Quit",
"Continue",
"MacOptions"
}
for i = 1, getn(BlizzardMenuButtons) do
local TukuiMenuButtons = _G["GameMenuButton"..BlizzardMenuButtons[i]]
if TukuiMenuButtons then
SkinButton(TukuiMenuButtons)
_G["GameMenuButton"..BlizzardMenuButtons[i].."Left"]:SetAlpha(0)
_G["GameMenuButton"..BlizzardMenuButtons[i].."Middle"]:SetAlpha(0)
_G["GameMenuButton"..BlizzardMenuButtons[i].."Right"]:SetAlpha(0)
end
end