Download
(4Kb)
Download
Updated: 08-16-18 01:34 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-16-18 01:34 PM
Created:12-27-08 08:46 PM
Downloads:85,188
Favorites:309
MD5:
Categories:Action Bar Mods, Buff, Debuff, Spell

rButtonTemplate  Popular! (More than 5000 hits)

Version: 800.20180816
by: zork [More]


Intro

rButtonTemplate is a framework to theme Blizzard action, aura and item buttons. It does nothing on its own, needs a theme like rButtonTemplate_Zork.
API documentation
rButtonTemplate API documentation
Quick-Links
rActionBar, rActionBar_Zork, rBuffFrame, rBuffFrame_Zork, rButtonTemplate, rButtonTemplate_Zork
Git
https://github.com/zorker/rothui/tre...ButtonTemplate

Optional Files (20)
File Name
Version
Size
Author
Date
Type
800.20180901
14kB
09-02-18 03:34 AM
Addon
801-2018081101
4kB
08-11-18 04:55 AM
Addon
700.20161004
23kB
10-04-16 06:24 AM
Addon
1.3
80kB
11-29-10 02:09 PM
Addon
1.0
22kB
11-14-10 06:23 PM
Addon
1.2
24kB
11-09-10 02:59 PM
Addon
1.0
3kB
11-05-10 09:22 AM
Addon
rev3
6kB
07-06-10 06:25 PM
Addon
1.0
8kB
04-25-10 01:32 PM
Patch
1.0
2kB
12-06-09 12:47 PM
Addon
1.0
3kB
08-18-09 11:37 AM
Addon
1.0
10kB
07-06-09 12:02 PM
Addon
v1
16kB
06-17-09 06:57 PM
Addon
v1.3
18kB
02-19-09 12:10 PM
Addon
001
21kB
01-23-09 03:24 AM
Addon
1.0
5kB
01-22-09 09:38 AM
Addon
003
6kB
01-20-09 08:16 PM
Patch
001
15kB
01-20-09 03:59 PM
Addon
001
10kB
01-20-09 03:58 PM
Addon
0.1
7kB
01-17-09 10:12 AM
Addon


Post A Reply Comment Options
Unread 10-15-20, 03:09 PM  
giakaama
A Murloc Raider

Forum posts: 5
File comments: 31
Uploads: 0
Originally Posted by gmarco
Hi all,

after the version 9.0.x if you want to use this addon you have to change line 157 in this way:



Hope zork returns soon

Happy hacking in the meantime.
Tried the fix.
I get
Code:
Interface\AddOns\rButtonTemplate\core.lua:283: attempt to call method 'GetCheckedTexture' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 10-14-20, 05:09 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi all,

after the version 9.0.x if you want to use this addon you have to change line 157 in this way:



Hope zork returns soon

Happy hacking in the meantime.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 07-06-20, 04:13 PM  
Schazey
A Kobold Labourer
 
Schazey's Avatar

Forum posts: 0
File comments: 65
Uploads: 0
Classic

Is there a Classic wow version of this addon?
Report comment to moderator  
Reply With Quote
Unread 03-19-19, 01:13 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Hey. After adding the fix by Goldpaw over on git, i was finally able to start working on a button skin on my own. I got most of it down, except for one thing...

It's impossible to use in ElvUI, because of how they skin their buttons. Would it be somehow possible to overwrite or skin on top of it somehow?
Or maybe need to ask you to get permission from them to let you skin buttons, kinda how they let Masque? I'm not sure how to proceed othervise :/
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 03-19-19 at 01:13 PM.
Report comment to moderator  
Reply With Quote
Unread 03-15-19, 04:03 PM  
anthonysh
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
update wow to 8.15,problem appear,plx fix,thx for your job。

The information BugSack captures is as follows:

2x rButtonTemplate\core.lua:283: attempt to call method 'GetCheckedTexture' (a nil value)
rButtonTemplate\core.lua:283: in function `StyleItemButton'
rButtonTemplate_Zork\theme.lua:171: in main chunk

Locals:
self = <table> {
StyleAllAuraButtons = <function> defined @rButtonTemplate\core.lua:401
StyleItemButton = <function> defined @rButtonTemplate\core.lua:269
StyleAllActionButtons = <function> defined @rButtonTemplate\core.lua:305
StyleTempEnchants = <function> defined @rButtonTemplate\core.lua:394
StyleDebuffButtons = <function> defined @rButtonTemplate\core.lua:385
StyleAuraButton = <function> defined @rButtonTemplate\core.lua:330
addonName = "rButtonTemplate"
StyleActionButton = <function> defined @rButtonTemplate\core.lua:169
StyleExtraActionButton = <function> defined @rButtonTemplate\core.lua:228
StyleBuffButtons = <function> defined @rButtonTemplate\core.lua:371
}
button = MainMenuBarBackpackButton {
0 = <userdata>
PostOnLoad = <function> defined @FrameXML\ItemButtonTemplate.lua:169
animIcon = <unnamed> {
}
ItemContextOverlay = <unnamed> {
}
PostOnShow = <function> defined @FrameXML\ItemButtonTemplate.lua:189
GetItemContextMatchResult = <function> defined @FrameXML\MainMenuBarBagButtons.lua:5
IconBorder = <unnamed> {
}
icon = MainMenuBarBackpackButtonIconTexture {
}
flyin = <unnamed> {
}
SetMatchesSearch = <function> defined @FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = <function> defined @FrameXML\ItemButtonTemplate.lua:222
GetBagID = <function> defined @FrameXML\MainMenuBarBagButtons.lua:9
itemContextChangedCallbackIsSet = false
itemContextMatchResult = 3
itemContextChangedCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:170
RegisterCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:175
SlotHighlightTexture = <unnamed> {
}
IconOverlay = <unnamed> {
}
UnregisterCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:182
UpdateItemContextMatching = <function> defined @FrameXML\ItemButtonTemplate.lua:211
searchOverlay = MainMenuBarBackpackButtonSearchOverlay {
}
GetMatchesSearch = <function> defined @FrameXML\ItemButtonTemplate.lua:207
Count = MainMenuBarBackpackButtonCount {
}
PostOnHide = <function> defined @FrameXML\ItemButtonTemplate.lua:198
}
cfg = <table> {
normalTexture = <table> {
}
count = <table> {
}
border = <table> {
}
stock = <table> {
}
backdrop = <table> {
}
icon = <table> {
}
}
buttonName = "MainMenuBarBackpackButton"
icon = MainMenuBarBackpackButtonIconTexture {
0 = <userdata>
}
count = MainMenuBarBackpackButtonCount {
0 = <userdata>
}
stock = MainMenuBarBackpackButtonStock {
0 = <userdata>
}
searchOverlay = MainMenuBarBackpackButtonSearchOverlay {
0 = <userdata>
}
border = <unnamed> {
0 = <userdata>
}
normalTexture = MainMenuBarBackpackButtonNormalTexture {
0 = <userdata>
}
pushedTexture = <unnamed> {
0 = <userdata>
}
highlightTexture = <unnamed> {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = MainMenuBarBackpackButton {
0 = <userdata>
PostOnLoad = <function> defined @FrameXML\ItemButtonTemplate.lua:169
animIcon = <unnamed> {
}
ItemContextOverlay = <unnamed> {
}
PostOnShow = <function> defined @FrameXML\ItemButtonTemplate.lua:189
GetItemContextMatchResult = <function> defined @FrameXML\MainMenuBarBagButtons.lua:5
IconBorder = <unnamed> {
}
icon = MainMenuBarBackpackButtonIconTexture {
}
flyin = <unnamed> {
}
SetMatchesSearch = <function> defined @FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = <function> defined @FrameXML\ItemButtonTemplate.lua:222
GetBagID = <function> defined @FrameXML\MainMenuBarBagButtons.lua:9
itemContextChangedCallbackIsSet = false
itemContextMatchResult = 3
itemContextChangedCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:170
RegisterCallback = <function> defined @FrameXML\ItemButtonTemplate.lua:175
SlotHighlightTexture = <unnamed> {
}
IconOverlay = <unnamed>
Report comment to moderator  
Reply With Quote
Unread 02-17-19, 10:31 PM  
Terenna
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 4
Uploads: 1
Would it be possible to have the hotkey text only show when a bar is acting as a possess/override/vehicle bar? Like a registered state driver that changes the alpha or :Show()/:Hide() of the fontstring?
Report comment to moderator  
Reply With Quote
Unread 08-12-18, 02:08 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Old skin

You create your own template and replace the media files (button textures) with the ones from rActionButtonStyler.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 08-10-18, 11:08 PM  
Schazey
A Kobold Labourer
 
Schazey's Avatar

Forum posts: 0
File comments: 65
Uploads: 0
Old skin

Any easy way to get rButtonTemplate with the old rActionButtonStyler skin?

rButtonTemplate Gm sz | This one is veeery close, but not exactly the same.
Report comment to moderator  
Reply With Quote
Unread 07-18-18, 06:45 AM  
datgrl
A Deviate Faerie Dragon

Forum posts: 12
File comments: 39
Uploads: 0
Where does this template and the subsequent themes get installed?
Report comment to moderator  
Reply With Quote
Unread 02-18-18, 05:27 PM  
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 498
Uploads: 2
Originally Posted by zork
That is the real border texture not the normal texture. Not sure if it is trinkets only but usable items display that border texture. Should be fine if you adjust the texture to your liking. I really like the default button border. It has a nice inner shadow. I use it for my player aura debuff type highlighting too.

https://github.com/zorker/rothui/blo.../theme.lua#L86
Thanks mate, that did it.
Was just confused which texture would that be, didn't think of the regular one.

Looks much better, just needed to adjust the points.

__________________
My oUF Layout: oUF Lumen
Report comment to moderator  
Reply With Quote
Unread 02-18-18, 10:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is the real border texture not the normal texture. Not sure if it is trinkets only but usable items display that border texture. Should be fine if you adjust the texture to your liking. I really like the default button border. It has a nice inner shadow. I use it for my player aura debuff type highlighting too.

https://github.com/zorker/rothui/blo.../theme.lua#L86
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 02-18-18 at 10:09 AM.
Report comment to moderator  
Reply With Quote
Unread 02-18-18, 05:18 AM  
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 498
Uploads: 2
Hey Zork,

First and foremost thanks for the addon, been using it for years.

I've been trying to style, or better, remove the green border around equipment items.
I put my trinkets into the action bar. There is a green border outside of the normal action button border.

You know what to do this? I just want them to look like regular action buttons.

__________________
My oUF Layout: oUF Lumen
Last edited by neverg : 02-18-18 at 05:19 AM.
Report comment to moderator  
Reply With Quote
Unread 07-12-17, 03:25 AM  
chrislue
A Defias Bandit

Forum posts: 2
File comments: 26
Uploads: 0
You forgot spell flyout buttons.
Report comment to moderator  
Reply With Quote
Unread 12-17-16, 11:04 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Width and Height of each button is defined in your template for rActionBar or rBuffFrame. On top of that you need to make yourself a set of matching textures that you apply with rButtonTemplate. Requires some emperimenting to get the settings right.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-17-16 at 11:05 AM.
Report comment to moderator  
Reply With Quote
Unread 12-17-16, 04:20 AM  
Heybarbaruiva
A Murloc Raider
 
Heybarbaruiva's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 117
Uploads: 2
Hey zork, is it possible to make the buttons rectangular without resorting to just increasing the width of the icon and stretching it?

I tried using TextCoord to try and crop the top and bottom of the button but it didn't work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: