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,315
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 08-03-09, 08:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Tell Blizzard how to do a rangecheck on 120 buttons without any kind of onUpdate script and you win many Internets.

But I got another good idea. I will try to add
Code:
ActionHasRange(self.action)
to the onUpdate func.

The updateUsable func is called on its own event, the onUpdate is rangeCheck only. Thus if the action does not even have a numeric range requirement it does not have to be updated and the function could just "return".

*edit* Just tested it. The following function is doing OK.

Code:
  --rewrite of the onupdate func
  --much less cpu usage needed
  local function rActionButtonStyler_AB_onupdate(self,elapsed)
    local t = self.rABS_range
    if (not t) then
      self.rABS_range = 0
      return
    end
    t = t + elapsed
    if (t<update_timer) then
      self.rABS_range = t
      return
    else
      self.rABS_range = 0
      if(not ActionHasRange(self.action)) then
        return
      end
      rActionButtonStyler_AB_usable(self)
    end
  end
__________________
| 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-03-09 at 10:04 AM.
Report comment to moderator  
Reply With Quote
Unread 08-03-09, 12:40 PM  
Heimdall
A Murloc Raider

Forum posts: 9
File comments: 10
Uploads: 0
I can't get this to work, i'm using bartender4 and all i get it buttons covered with a big black square, they're incompatible or am i missing something?

Regards
Report comment to moderator  
Reply With Quote
Unread 08-03-09, 04:19 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Bartender4 is not using the default ActionButtonTemplate, or at least not the default one, so I'm sorry. Dominos works flawlessly though.
__________________
| 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-04-09, 04:18 AM  
Heimdall
A Murloc Raider

Forum posts: 9
File comments: 10
Uploads: 0
Originally posted by zork
Bartender4 is not using the default ActionButtonTemplate, or at least not the default one, so I'm sorry. Dominos works flawlessly though.
Yes you are right, i've tried Dominos this morning and the skin was perfect, thanks.

Regards
Heimdall
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 12:24 PM  
Ouo
A Murloc Raider
 
Ouo's Avatar

Forum posts: 7
File comments: 13
Uploads: 0
Thanks for the update, you sir are a god!
Report comment to moderator  
Reply With Quote
Unread 08-04-09, 06:56 PM  
kimboslice
A Defias Bandit

Forum posts: 3
File comments: 76
Uploads: 0
Are you going to add support for the new totem bar?
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 06:05 AM  
Xzatly
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 23
Uploads: 2
Great add'on, thanks !
Is it possible to scale the bars?
In some previous version I did it, but last one I can't find anymore.

Thanks
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 06:11 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
ButtonStyler != BarStyler http://www.wowinterface.com/download...BarStyler.html

I have no shaman, supporting the new bar is not possible without testing.
__________________
| 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-07-09 at 06:12 AM.
Report comment to moderator  
Reply With Quote
Unread 08-07-09, 09:52 AM  
Xzatly
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 23
Uploads: 2
Originally posted by zork
ButtonStyler != BarStyler http://www.wowinterface.com/download...BarStyler.html
Ah yes, thats must be correct
Thanks for answer.
Report comment to moderator  
Reply With Quote
Unread 08-14-09, 02:20 AM  
Aced
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
DBM icons and SBF

i saw some people use the buttonstyler for dbm,
i wonder how to do it since im tweaking it. +
can i use it on satrina buff bars aswell?
Report comment to moderator  
Reply With Quote
Unread 09-17-09, 08:44 AM  
Jargo
A Kobold Labourer

Forum posts: 1
File comments: 8
Uploads: 0
Just loaded this up with Dominos and every thing seems to work but all the buttons are in the wrong order. Button 1 starts on the far right and the buttons go right to left instead of left to right like normal. I can't seem to find a setting to fix this. Any help would be appreciated. - Never mind found the answer
Last edited by Jargo : 09-17-09 at 08:45 AM.
Report comment to moderator  
Reply With Quote
Unread 09-28-09, 10:34 PM  
Chrnotic
I am Pupper
 
Chrnotic's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 28
Uploads: 2
Is there a further way to modify the font used for button text (aka keybindings) like adding outline and stuff like that?
Report comment to moderator  
Reply With Quote
Unread 10-01-09, 06:58 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 Chrnotic
Is there a further way to modify the font used for button text (aka keybindings) like adding outline and stuff like that?
I'm changing the fonstsize already. Check http://www.wowwiki.com/API_FontInstance_SetFont and adjust my fontsize line.
__________________
| 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 : 10-01-09 at 07:01 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-09, 04:50 AM  
Induk
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi,

I have a Problem regarding the Button textures at the very start of the config. I wanted to import a tga from another guy also using the rActionbuttonstyler. So I changed the config into
Code:
--default border texture  
  local rb2_normal_texture    = "Interface\\AddOns\\rActionButtonStyler\\media\\dBBorderD"
Now my buttons look like this:

I thought, what the hell, maybe gloss still works...well, it doesnt. Could you please provide me a hint on this?

Thanks already!
Last edited by Induk : 10-26-09 at 04:51 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-09, 06:43 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Either the texture is not found (you need to restart wow when loading new textures and the name needs to match) or the texture size of your new texture does not match the ones needed for rActionButtonStyler (texture filling).

You cannot use ButtonFacade textures in rActionButtonstyler they don't fit.

But...imo the texture is just not found, looks like the default border.
__________________
| 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 : 10-26-09 at 06:46 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: