Thread Tools Display Modes
10-06-10, 07:43 AM   #1
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Game menu buttons

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.
 
10-08-10, 12:17 AM   #2
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 20
Originally Posted by Haleth View Post
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
 
10-08-10, 04:29 AM   #3
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Ahh, that way Thank you Tukz.

Wonder why they felt the need to change this.

Last edited by Haleth : 10-08-10 at 04:52 AM.
 
 

WoWInterface » AddOns, Compilations, Macros » Cataclysm Beta » Game menu buttons

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off