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,272
Favorites:308
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-10, 03:57 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Re: Re: Re: 4.0.1 combatibilty fix

The new version is out. rActionBarStyler has been updated aswell.
__________________
| 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 10-15-10, 12:19 AM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 147
Uploads: 0
Re: Re: Re: 4.0.1 combatibilty fix

Originally posted by columnFive
Yeah, not sure what to tell you - added that line in both my slightly modded version of rABuS and in a fresh copy of the latest version, and it fixes both. If you've made any modifications that put the NormalTexture on a lower strata/drawlevel than the rest of the button, that might be what's causing them to disappear. Try changing the nt:SetHeight() and nt:SetWidth() calls to nt:SetHeight(bu:GetHeight() + 10) and nt:SetWidth(bu:GetWidth() + 10), and see if that changes anything.
Tried it with a brand new install and then with your other fix above.

Still nada. I'll be patient, I guess.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 02:45 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 6
Re: Re: 4.0.1 combatibilty fix

Originally posted by JackOnTheMap
Added but all it did was get rid of the borders entirely. Guess I'll wait for Zork to upload a new version.
Yeah, not sure what to tell you - added that line in both my slightly modded version of rABuS and in a fresh copy of the latest version, and it fixes both. If you've made any modifications that put the NormalTexture on a lower strata/drawlevel than the rest of the button, that might be what's causing them to disappear. Try changing the nt:SetHeight() and nt:SetWidth() calls to nt:SetHeight(bu:GetHeight() + 10) and nt:SetWidth(bu:GetWidth() + 10), and see if that changes anything.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 09:47 AM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 147
Uploads: 0
Re: 4.0.1 combatibilty fix

Originally posted by columnFive
If anyone else is having a post-patch issue with rActionButtonStyler making ActionButton borders way too big for their buttons, the following fix worked for me:

Before line 90, add:
Code:
nt:ClearAllPoints()
Apparently ActionBarTemplate.xml now sets TOPLEFT/BOTTOMRIGHT points for each button's NormalTexture element, which need to be cleared in order for the addon's method of setting border size to work.

As far as I can tell, Shapeshift/Pet/Totem bar frames are not affected.
Added but all it did was get rid of the borders entirely. Guess I'll wait for Zork to upload a new version.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 09:58 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 6
Originally posted by Dhaern
Is there any posibilty to show macro's text in buttons on bars or plans for implement this feature? Thx for all
Macro text is hidden by default, if I'm not mistaken - you can change this by opening rActionButtonStyler.lua and either deleting or commenting out line 107 (add "--" before it).
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 07:53 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
Is there any posibilty to show macro's text in buttons on bars or plans for implement this feature? Thx for all
Last edited by Dhaern : 10-13-10 at 07:54 PM.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 12:21 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: 4.0.1 combatibilty fix

I have already a running version. Gonna upload it tonight.
__________________
| 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 10-12-10, 06:53 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 6
4.0.1 combatibilty fix

If anyone else is having a post-patch issue with rActionButtonStyler making ActionButton borders way too big for their buttons, the following fix worked for me:

Before line 90, add:
Code:
nt:ClearAllPoints()
Apparently ActionBarTemplate.xml now sets TOPLEFT/BOTTOMRIGHT points for each button's NormalTexture element, which need to be cleared in order for the addon's method of setting border size to work.

As far as I can tell, Shapeshift/Pet/Totem bar frames are not affected.
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 05:35 AM  
Ereki
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 64
Uploads: 2
Originally posted by zork
Make a screenshot. No clue. Which server? Cata, PTR, Live? Version?
It's on live, it's not a bug or anything like that when you're on a mount the button should get highlighted, but it just doesn't fit in with the rest of my UI so I'd just like to tone it down a bit.
http://imgur.com/R3xIl.png Mounted button to the left and unmounted to the right. I'm using pHishr Smart Name Skin if that matters in any way.
Edit:
And I'm using the lastest version of rActionButtonStyler
Last edited by Ereki : 09-29-10 at 06:42 AM.
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 01:22 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Make a screenshot. No clue. Which server? Cata, PTR, Live? Version?
__________________
| 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 09-28-10, 06:09 PM  
Ereki
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 64
Uploads: 2
Hey, I'm trying to configure a skin I downloaded but I can't get my head around one thing, which texture is used for buttons with things like mounts on them. When I'm mounted I get an overlay texture but I can't figure out which one of the texture it is.
Report comment to moderator  
Reply With Quote
Unread 08-20-10, 02:39 AM  
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 103
File comments: 321
Uploads: 3
btw thanks for the addon, finally something to style buttons without the cpu cycles from facade
Report comment to moderator  
Reply With Quote
Unread 08-19-10, 11:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Re: Re: Re: Dominos bug

Ah, gonna add that. So the buttons in Dominos have no holder frame on their own, thats why they bug out.
__________________
| 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-19-10, 08:55 AM  
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 103
File comments: 321
Uploads: 3
Re: Re: Re: Dominos bug

fix:

if not self.rabsstyle and self:GetParent():GetName() ~= "MultiCastActionBarFrame" ..................


should be

if not self.rabsstyle and self:GetParent() and self:GetParent():GetName() ~= "MultiCastActionBarFrame" ..................


well it's not a fix really, just a workaround, no idea what the line does
Report comment to moderator  
Reply With Quote
Unread 08-16-10, 06:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Re: Dominos bug

Yep it's a rewrite so it may not work with other mods but rActionBarStyler. But you can fix it yourself. Just grab your text editor. Go to the line described and prevent the file from doing sth. with anything that is nil.

So basically add conditions. Example: Assume we want to change variable "a" and a is nil, but you cannot change a nil-value, so you have to do:

Code:
if (a) then
  --do stuff
end
So --do stuff will only be available if "a" exists. Some of your ACE-libs don't like that.
__________________
| 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 : 08-16-10 at 06:56 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: