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,243
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 02-20-10, 11:05 AM  
Rainrider
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 454
File comments: 28
Uploads: 2
Ich erlaube mir dann auch auf Deutsch zu schreiben. Danke für den Hinweis, leider hilft er mir nicht weiter, da I.am.Weasl einfach nur den Behälter des Totembars bewegt. Zum Stylen brauchen wir aber die Buttons selbst. Außerdem braucht man hooksecurefunc um Änderungen abzufangen, was anscheinend in rActionBatStyler nicht nötig ist. Ich bräuchte lediglich einen Tipp welche Blizzfunktion ich anhaken sollte. Tut mir leid, ich weiß das ist kein Lernforum, wäre trotzdem für Hilfe sehr dankbar.

Grüße
Rain
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 09:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Check rActionBarStyler comments. Someone posted a solution there.
__________________
| 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 02-19-10, 02:40 PM  
Rainrider
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 454
File comments: 28
Uploads: 2
Hi Zork, you stated previously that you don't play a shaman and thus are not able to implement support for the totem bar. Maybe we could provide some information for you and it would be helpful to add the skinning in rABS. So I just give you what I was able to find out, don't know if it helps you.

Button names:
- MultiCastSummonSpellButton (MCSSB)
- MultiCastRecallSpellButton (MCRSB)
- MultiCastActionButton# (MCAB#)
- MultiCastFlyoutButton# (MCFB#)

A totem bar looks then like this:
Code:
MCSSB	MCAB1	MCAB2	MCAB3	MCAB4	MCRSB
	MCFB1	MCFB1	MCFB1	MCFB1
			MCFB2	MCFB2
			MCFB3
HasMultiCastActionBar() - checks whether player has the totem bar:
- returns true if at least 1 totem spell is known else false

Shamans have 3 call spells learnt at lvl 30, 40 and 50. Every time when learning a call spell, a new totem bar is spawned. The totem bars are refered to as pages. To check which ones the player has, one could use

HasMultiCastActionPage(#)
- returns the spellid of the call-spell for page # or nil meaning the page is empty
- returns false for non existent pages

The number of pages is stored in NUM_MULTI_CAST_PAGES (currently 3)

Every page has than NUM_MULTI_CAST_BUTTONS_PER_PAGE (currently 4 buttons for totems per bar)

Every MultiCastActionButton has a flyout containing all the learnt totems in the corresponding school for the button plus an empty slot. I don't know how to get the number of flyout buttons

I also don't know which secure function to hook to.

The style function itself would look something like this:
Code:
for i=1, NUM_MULTI_CAST_PAGES do
	page = _G["MultiCastActionPage"..i]
	
	if page then
		-- style MultiCastSummonSpellButton
	end

	for 1, NUM_MULTI_CAST_BUTTONS_PER_PAGE do
		-- style totem buttons
		-- TODO: flyout per button
	end
	
	if page then
		-- style MultiCastRecallSpellButton
	end
end
Please tell me if you need more infos.

I would also be happy to try to implement this myself as I started learning Lua recently. I'd be thankful for any hints on this.
Report comment to moderator  
Reply With Quote
Unread 02-12-10, 06:01 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally posted by Shammypowah
The cooldown/flash texture is larger ...
Check http://www.wowinterface.com/downloads/info14009.html
__________________
| 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 02-11-10, 12:05 PM  
Shammypowah
A Kobold Labourer
 
Shammypowah's Avatar

Forum posts: 1
File comments: 19
Uploads: 0
Hello. I have a issue here wich i just can't seem to sort out myself. I have checked the lua and found the - initial style func and have tried to change stuff there but it doesn't help.

This is my problem:


I am using Dominos.

The cooldown/flash texture is larger than the icon itself.
Report comment to moderator  
Reply With Quote
Unread 02-10-10, 08:24 PM  
ashkalon33
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey im sry but im pretty noob at lua.file addons...I did this addon a while back but forgot where i put the lua.file and the media folder..could u pls refresh my memory?? thx in advance!!
Report comment to moderator  
Reply With Quote
Unread 01-28-10, 07:13 PM  
Shoy
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Hidden buttons stay visible after opening spellbook

I have an issue hopefully someone can help me with. Whenever I open my spellbook then close it, my hidden action buttons stay visible. To hide them, I have to reload my UI.

I'm using the Roth buttons with this. Thanks for any help.
__________________
Report comment to moderator  
Reply With Quote
Unread 01-05-10, 09:37 PM  
detectiveboy
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: dominos use... class button not apply image

Originally posted by zork
This is because Dominos does not use the default ActionButtonTemplate for the class buttons. This addon only modifies the default ActionButtonTemplate.
Ah...
Thanks
Report comment to moderator  
Reply With Quote
Unread 01-05-10, 09:35 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: dominos use... class button not apply image

This is because Dominos does not use the default ActionButtonTemplate for the class buttons. This addon only modifies the default ActionButtonTemplate.
__________________
| 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 01-05-10, 06:31 AM  
detectiveboy
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
dominos use... class button not apply image


I use to dominos
class button not apply image..
How to change lua file.
Report comment to moderator  
Reply With Quote
Unread 12-04-09, 09:20 AM  
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 151
File comments: 60
Uploads: 5
Re: wtf?

Originally posted by mysteryhouse
why do we need to edit the addons ? why you don't finish it and we just put it in the interface .. do we really need to add the codes? why ? we are not coders or scripers (
If you take a few minutes to go through the .lua (which is just one simple file for this particular addon), he put many notes in there for people who might need to edit certain things (hotkey, font, color range, etc). Believe me, I'm a coder by no means, but it's not too difficult when you just put a bit of effort into it. Zork coding a configuration menu adds more content than this addon needs.

If you have a specific question about changing something, I'm sure there are many people here who would be glad to help.
__________________
Arise, my champion!
Report comment to moderator  
Reply With Quote
Unread 11-30-09, 09:31 AM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 164
Uploads: 0
Shaman Buttons not getting skinned

It looks like the two Shaman buttons on the ends aren't being skinned. Using Dominos_Totem. Thank you.

Report comment to moderator  
Reply With Quote
Unread 11-26-09, 12:28 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: wtf?

Cry more plz.
__________________
| 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 11-26-09, 11:04 AM  
mysteryhouse
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
wtf?

Originally posted by mrruben5
Nice work
why do we need to edit the addons ? why you don't finish it and we just put it in the interface .. do we really need to add the codes? why ? we are not coders or scripers (
Report comment to moderator  
Reply With Quote
Unread 11-22-09, 09:24 PM  
SquishyMage
A Deviate Faerie Dragon

Forum posts: 19
File comments: 43
Uploads: 0
Originally posted by Nepsi
Had the problem that key bindings disappeared. I found a 0/1 option in the rActionButtonStyler that fixed the disappearing Hotkeys. The issue remains with the macro text, but I could not find a 0/1 option for this. Does anyone have a hint?
Find:

na:Hide()

and put two dashes in front of it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: