Quantcast
Download
(4 Kb)
Download
Updated: 10-31-16 03:32 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:10-31-16 03:32 PM
Created:12-27-08 08:46 PM
Downloads:76,535
Favorites:319
MD5:
Categories:Action Bar Mods, Buff, Debuff, Spell
7.1.0

rButtonTemplate  Popular! (More than 5000 hits)

Version: 710.20161031
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.
API documentation
https://github.com/zorker/rothui/blo...late/README.me (Check the themes for examples)
Quick-Links
rActionBar, rActionBar_Default, rActionBar_Zork, rBuffFrame, rBuffFrame_Default, rBuffFrame_Zork, rButtonTemplate, rButtonTemplate_Default, rButtonTemplate_Zork
Git
https://github.com/zorker/rothui/tre...ButtonTemplate

Optional Files (20)
File Name
Version
Size
Author
Date
Type
1.0-2016112001
4kB
11-19-16 07:31 PM
Addon
710.20161117
14kB
11-17-16 11:42 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


Archived Files (26)
File Name
Version
Size
Author
Date
710.20161027
4kB
zork
10-27-16 12:37 PM
700.20161009
4kB
zork
10-09-16 02:21 PM
700.20161004
4kB
zork
10-04-16 06:21 AM
60000.01
24kB
zork
10-24-14 07:47 PM
50400.01
24kB
zork
09-16-13 04:44 AM
50200.01
24kB
zork
03-04-13 05:37 PM
50100.01
24kB
zork
11-28-12 01:27 PM
50001.07
24kB
zork
11-21-12 12:24 PM
50001.06
24kB
zork
09-21-12 02:19 PM
40300.06
23kB
zork
02-16-12 03:14 PM
40300.05
23kB
zork
02-15-12 04:59 PM
40300.04
23kB
zork
01-20-12 12:51 PM
40300.03
23kB
zork
12-04-11 05:16 PM
40300.02
23kB
zork
11-30-11 01:45 PM
40300.01
23kB
zork
11-30-11 12:35 PM
4.007
23kB
zork
06-29-11 03:40 PM
4.006
23kB
zork
04-28-11 11:40 AM
4.005
23kB
zork
02-09-11 01:55 PM
4.004
23kB
zork
10-17-10 07:16 AM
4.003
18kB
zork
10-16-10 06:03 AM
4.001
18kB
zork
10-15-10 03:40 PM
100812
18kB
zork
08-12-10 03:11 PM
005
18kB
zork
08-02-09 06:42 AM
004-2
17kB
zork
04-18-09 08:28 PM
003
17kB
zork
01-20-09 04:04 PM
002
12kB
zork
01-17-09 07:20 AM


Post A Reply Comment Options
Unread 08-04-10, 04:48 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 188
Uploads: 0
I haven't changed font from the default so that threw me off. But you're right, the font did not support it. So after a bit of digging, I found out that the default font for actionbars is ARIALN and as far as I can tell is the only one supporting the dot thing. Anyway, to solve it, replaced line 74 with

ho:SetFont("Fonts\\ARIALN.TTF", 20, "OUTLINE")

Looks uglier but works fine. Will leave it up here in case anyone else runs into same problem.
Last edited by zohar101 : 08-04-10 at 05:01 PM.
Report comment to moderator  
Reply With Quote
Unread 08-07-10, 07:50 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1148
Uploads: 31
I've noticed these parts in your code.

Code:
if not self.rabsstyle then
Code:
self.rabsstyle = true
Are they to stop the style function from refreshing every time? If so, then why don't you do the same to the pet bar? Or am I missing something here?
Report comment to moderator  
Reply With Quote
Unread 08-08-10, 09:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Btw fix for the put actionbuttons in your bars while in combat is coming. Found the bug.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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-10, 12:26 PM  
sakurakira
A Chromatic Dragonspawn
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 151
File comments: 58
Uploads: 5
The equipped item slot keeps the same color if the icon is moved. A reload is required to "fix" it.


EDIT

Never mind... it had to do with the skin I was using. I reinstalled fresh and the problem disappeared.
__________________
Arise, my champion!
Last edited by sakurakira : 08-10-10 at 03:48 PM.
Report comment to moderator  
Reply With Quote
Unread 08-13-10, 08:06 AM  
Rainrider
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 391
File comments: 26
Uploads: 1
Dominos bug

Hello Zork,

i'm getting this with Dominos and the latest version of rActionButtonStyler:
Code:
48x rActionButtonStyler\rActionButtonStyler.lua:74: attempt to index a nil value
<in C code>: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:159: in function `ActionButton_UpdateAction':
<string>:"*:OnAttributeChanged":1: in function <[string "*:OnAttributeChanged"]:1>
<in C code>: in function `SetAttribute'
Interface\FrameXML\ActionButton.lua:83: in function `ActionButton_OnLoad':
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>
<in C code>: in function `CreateFrame'
Dominos-1.18.6\actionBar.lua:100: in function <Dominos\actionBar.lua:80>
Dominos-1.18.6\actionBar.lua:104: in function `Create'
Dominos-1.18.6\actionBar.lua:55: in function `New'
Dominos-1.18.6\actionBar.lua:344: in function `LoadButtons'
Dominos-1.18.6\actionBar.lua:303: in function `New'
...:
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5 (Ace3):539: in function `EnableAddon'
AceAddon-3.0-5 (Ace3):629: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

Locals:
(*temporary) = <function> defined =[C]:-1
 = <function> @ Interface\FrameXML\ActionButton.lua:163:
 = <function> @ rActionButtonStyler\rActionButtonStyler.lua:72:

  ---
Everything seems to function though. Sorry if this is an issue with dominos, it wasn't bugging with 005, I haven't tested other yet.
Report comment to moderator  
Reply With Quote
Unread 08-16-10, 05:27 AM  
Xarl
A Warpwood Thunder Caller
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 94
File comments: 224
Uploads: 1
Re: Dominos bug

Originally posted by Rainrider


Everything seems to function though. Sorry if this is an issue with dominos, it wasn't bugging with 005, I haven't tested other yet.
Nope its the Addon mate...

Code:
[2010/08/16 13:19:58-6422-x42]: rActionButtonStyler\rActionButtonStyler.lua:81: attempt to index a nil value
<in C code>: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:159: in function `ActionButton_UpdateAction':
<string>:"*:OnAttributeChanged":1: in function <[string "*:OnAttributeChanged"]:1>
<in C code>: in function `SetAttribute'
Interface\FrameXML\ActionButton.lua:83: in function `ActionButton_OnLoad':
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>
<in C code>: in function `CreateFrame'
RazerNaga-1.1.0\actionBar.lua:71: in function <Interface\AddOns\RazerNaga\actionBar.lua:51>
RazerNaga-1.1.0\actionBar.lua:75: in function `Create'
RazerNaga-1.1.0\actionBar.lua:26: in function `New'
RazerNaga-1.1.0\actionBar.lua:313: in function `LoadButtons'
RazerNaga-1.1.0\actionBar.lua:272: in function `New'
...:
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5 (Bagnon):539: in function `EnableAddon'
AceAddon-3.0-5 (Bagnon):629: in function <...ace\AddOns\Bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

  ---
I use a Bar Addon made for my Razer Naga and have almost the same Error.

Did not have this on the last Version ether


€dit:

Just went back to 005 and all works fine
__________________
Last edited by Xarl : 08-16-10 at 05:30 AM.
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: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

"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
Unread 08-19-10, 08:55 AM  
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 99
File comments: 317
Uploads: 4
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-19-10, 11:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

"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-20-10, 02:39 AM  
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 99
File comments: 317
Uploads: 4
btw thanks for the addon, finally something to style buttons without the cpu cycles from facade
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: 23
File comments: 64
Uploads: 3
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 09-29-10, 01:22 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Make a screenshot. No clue. Which server? Cata, PTR, Live? Version?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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-29-10, 05:35 AM  
Ereki
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 64
Uploads: 3
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 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 10-13-10, 12:21 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Re: 4.0.1 combatibilty fix

I have already a running version. Gonna upload it tonight.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: