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,233
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 12-29-12, 03:18 PM  
Acidlollypop
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
How to make a button as you have a 2 screen?
Last edited by Acidlollypop : 12-29-12 at 03:20 PM.
Report comment to moderator  
Reply With Quote
Unread 12-17-12, 02:50 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Cooldowntext is OmniCC or TullaCC (or whatever cooldown addon you are using). rActionBarStyler does not add cooldown text. The padding is for the cooldown frame only.
__________________
| 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-12 at 02:52 PM.
Report comment to moderator  
Reply With Quote
Unread 12-17-12, 10:38 AM  
Labilen
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hi. I'm trying to change the size of the cooldown text on a button.

cfg.cooldown = {
spacing = 2,
fontsize = 12,
}

(Tried adding fontsize, but it does not change) Please share your knowledge, anyone.
Report comment to moderator  
Reply With Quote
Unread 12-08-12, 12:43 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
Thanks for the info.
I ended up adding a texture I like without using the thin icons. The result is the same as I wanted.
Thanks for sharing your mods. For being a codenoob I actually (somewhat) understand ur code

Now posting in rbuffstyler (anchor prob) cu there ^^
Report comment to moderator  
Reply With Quote
Unread 12-07-12, 07:54 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is part of the config aswell. Blizzard calls this the ActionButtonNormalTexture. That's why it is called "normal" in the config:

http://code.google.com/p/rothui/sour.../config.lua#20

Either replace that string with "" or just use a texture with a fully transparent alpha layer.

If you want to change the behaviour of equipped/hover textures etc. apply the same to those textures.

Basically making it
Code:
cfg.textures = {
  normal = "",
  flash = "Interface\\AddOns\\rActionButtonStyler\\media\\flash",
  hover = "Interface\\AddOns\\rActionButtonStyler\\media\\hover",
  pushed = "Interface\\AddOns\\rActionButtonStyler\\media\\pushed",
  checked = "Interface\\AddOns\\rActionButtonStyler\\media\\checked",
  equipped = "",
  buttonback = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background",
  buttonbackflat = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background_flat",
  outer_shadow = "Interface\\AddOns\\rActionButtonStyler\\media\\outer_shadow",
}
__________________
| 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-07-12 at 07:58 AM.
Report comment to moderator  
Reply With Quote
Unread 12-07-12, 07:11 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
thanks for your reply!

I know how to play with the background / shadow features, but I don't know how to setup rActionbuttonstyler so it doesn't add its textures (the border).
Report comment to moderator  
Reply With Quote
Unread 12-07-12, 06:54 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Clarification:
  • rActionBarStyler does no actionbutton styling at all. All it does is move actionbars in place and resizes them in general.
  • rActionButtonStyler adds button styles to your action buttons. It does all the art changes. Thus check the background config settings in rActionButtonStyler/config.lua:
    http://code.google.com/p/rothui/sour.../config.lua#31

If you got any futher question feel free to ask them.
__________________
| 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-07-12 at 07:00 AM.
Report comment to moderator  
Reply With Quote
Unread 12-07-12, 06:12 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
Hey Zork,

Been using Clean Icons pack together with your rActionbarstyler. rActionbarstyler doesn't let me hide the bg or shadow, wich doesn't look good on a slot i use to check my trinket cd. Is there an "easy" way to add these functionalities into rActionbarstyler? (not asking you to modify rActionbarstyler, just wondering if it is doable and if you can explain me how to accomplish this task )
or
how can I setup rActionbuttonstyler so it doesnt use borders? wich I suppose is relatively easier to achieve than the first question.

thanks in advance !
Last edited by Greensleeper : 12-07-12 at 06:13 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-12, 01:16 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
The pet button worked for you? I tested it and did not liked the outcome. (Because Bartender does pretty heavy texture hacking on the pet buttons (for whatever reason ))

Regarding the other buttons...no clue. Heavily depends on the button template being used. If not NormalTexture is in place you need to add one. I suggest create yourself a new style function and try some stuff out. (Advanced only)
__________________
| 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-28-12, 11:02 PM  
kerouan
A Defias Bandit

Forum posts: 2
File comments: 1
Uploads: 0
I use a fair amount of the rXXXXX add ons but I use Bartender4 instead of rActionBarStyler. I noticed a number of buttons aren't being styled by rActionButtonStyler. I added the following to the core.lua file after line 366:
Lua Code:
  1. for i = 1, NUM_STANCE_SLOTS do
  2.   styleStanceButton(_G["BT4StanceButton"..i])
  3. end
  4. for i=1, NUM_PET_ACTION_SLOTS do
  5.   stylePetButton(_G["BT4PetButton"..i])
  6. end
And I haven't had a chance to test this one, but I think it will work:
Lua Code:
  1. styleActionButton(_G["BT4VehicleButton"])
There are a few buttons that I still want to figure out how to style... anyone have any ideas?
  • MainMenuBarBackpackButton
  • CharacterBag0Slot (0-3)
  • WatchFrameItem1 ... 2, 3, etc. (action buttons in the quest tracker)
Report comment to moderator  
Reply With Quote
Unread 11-21-12, 12:22 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Readded support for Dominos and Bartender4. Version 50001.07 will have it.
http://imgur.com/2oQIi
__________________
| 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 : 11-21-12 at 12:22 PM.
Report comment to moderator  
Reply With Quote
Unread 11-13-12, 01:47 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Good reminder. I think I can spare some time addons now. Currently all the time got eaten by leveling, gearing up for raids. (Not even thinking about dailies...)
__________________
| 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-13-12, 10:24 AM  
Bloodier
A Fallenroot Satyr

Forum posts: 20
File comments: 54
Uploads: 0
So... When will Dominos/Bartender support be enabled again?
Report comment to moderator  
Reply With Quote
Unread 11-12-12, 07:21 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
This is no bug. Blizzard never added a grid to the first actionbar. That is because how the MainMenuBar works. It has a texture underneath (with a grid implemented in the background texture), all the other bars don't have that kind of background texture.
__________________
| 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 : 11-12-12 at 07:26 AM.
Report comment to moderator  
Reply With Quote
Unread 11-12-12, 04:25 AM  
Clamsoda
A Frostmaul Preserver

Forum posts: 269
File comments: 35
Uploads: 0
While using your bar addon, rActionBarStyler, the option to show the button grid does not work on the main action bar. The button backgrounds show for every bar, save for the main action bar.

Is this a bug, or intentional?

Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: