Thread Tools Display Modes
02-22-22, 07:45 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Getting Button Templates

Hi all

I am trying to find certain button templates.

The first is one used in the game menu, I have a screen shot showing the button and the fstack tooltip;



I have also found a texture in the wow files for a blue button but have had no luck finding it used in a template;

https://github.com/Gethe/wow-ui-text...GoldButton.PNG


If there is no blue button template how do I use these textures to build a button?
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz

Last edited by Walkerbo : 02-22-22 at 10:17 PM.
  Reply With Quote
02-22-22, 08:10 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
Not sure what you are refereing to in the first image. It looks like the buttons are just inhereting UIPanelButtonTemplate.

Weren't the blue buttons originally used in the Character screens for DeathKnights only?

With the new character creation screen they seem to have been replaced by the standard UIPanelButtonTemplate.

Not saying you couldn't subsitute the textures used on a button that inhertis UIPanelButtonTemplate but no guarantee the artwok won't go away unless you make a copy.

I haven't tried replacing the textures so consider it a WAG.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-22-22 at 08:17 PM.
  Reply With Quote
02-22-22, 10:25 PM   #3
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Hi Fizzlemizz

Sorry about the first image, I have linked the correct one now.

I think you are correct the blue buttons were for the DK character screen.

The UIPanelButtonTemplate has thin yellow text whereas the game menu buttons have a white almost embossed look.
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote
02-22-22, 10:32 PM   #4
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
GameMenuButtonTemplate

Code:
Button name="GameMenuButtonKeybindings" inherits="GameMenuButtonTemplate" text="KEY_BINDINGS">
Which is just an inherited UIPanelButtonTemplate with a different font (GameFontHighlight for normal and selected and GameFontDisable for disabled)
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-22-22 at 10:36 PM.
  Reply With Quote
02-23-22, 02:31 AM   #5
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Hi Fizzlemizz

Thanks for your help.
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Getting Button Templates

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