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,254
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 11-17-14, 02:24 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
After all this years. Are you sure you have not memorized those shortcuts already?
__________________
| 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-17-14, 12:40 AM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
Hi zork, I'm using this code for num pad shortcuts:

Code:
  local function updateName(self, actionButtonType)
	local replace = string.gsub
	local ho = _G[self:GetName() .. "HotKey"]
	local key = ho:GetText()
	key = replace(key, '(s%-)', 'S')
	key = replace(key, '(a%-)', 'A')
	key = replace(key, '(c%-)', 'C')
	key = replace(key, '(Mouse Button )', 'M')
	key = replace(key, '(Middle Mouse)', 'M3')
	key = replace(key, '(Mouse Wheel Down)', 'MWD')
	key = replace(key, '(Mouse Wheel Up)', 'MWU')
	key = replace(key, '(Num Pad )', 'N')
	key = replace(key, '(Page Up)', 'PU')
	key = replace(key, '(Page Down)', 'PD')
	key = replace(key, '(Spacebar)', 'SpB')
	key = replace(key, '(Insert)', 'Ins')
	key = replace(key, '(Home)', 'Hm')
	key = replace(key, '(Delete)', 'Del')
	if ho:GetText() == _G['RANGE_INDICATOR'] then
		ho:SetText('')
	else
		ho:SetText(key)
	end
  end
Code:
hooksecurefunc("ActionButton_UpdateHotkeys", updateName)
It's working when i login into game but when I reload UI shortcuts dont work until I exit game/login again. Why I have this problem now in 6.0?? Can you help me to work this code when I reload UI?? Thx
Report comment to moderator  
Reply With Quote
Unread 06-28-14, 02:20 AM  
Sylen
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 65
Uploads: 4
Everytime i use this addon, it seems to zoom the buttons after skinning. No idea why.
Report comment to moderator  
Reply With Quote
Unread 05-27-14, 05:56 PM  
Turulo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
In case anyone wants to use this styler with the ButtonTimers addon you can use this tweak:

In core.lua in the init() function:

Code:
--ButtonTimers styling
if IsAddOnLoaded("ButtonTimers") then
   for n = 1, 4 do
      for i = 1, 12 do
         styleActionButton(_G["ABTWidbar"..n.."button"..i.."Button"])
      end 
   end
end
Last edited by Turulo : 05-27-14 at 05:57 PM.
Report comment to moderator  
Reply With Quote
Unread 12-26-13, 11:18 AM  
Solvexx
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 29
Uploads: 2
It looks like the original default UI border is present
no matter which skin I use - Any ideas?
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 06:18 PM  
Jansus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 73
Uploads: 1
Originally Posted by zork
That is because the config files of that plugin are outdated. Copy the textures in and edit the config manually.
I know how to edit the config, but I'm not sure exactly what to edit. Took a chance and removed the media the skin didn't have.
Code:
    buttonback        = "",
    buttonbackflat    = "",
    outer_shadow      = "",
Is this what you meant?
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 01:20 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is because the config files of that plugin are outdated. Copy the textures in and edit the config manually.
__________________
| 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-21-13 at 01:20 PM.
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 09:11 AM  
Jansus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 73
Uploads: 1
I'm using http://www.wowinterface.com/download...Slim.html#info and the default skin shows until I reload UI.
Report comment to moderator  
Reply With Quote
Unread 01-27-13, 05:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Yeah...that is because in rActionButtonStyler/core/core.lua line the icon padding is hardcoded. (Line 162).
Plus the apply background function (Line 54) has another hardcoded value. I rewrote rBuffFrameStyler lately with the latest standards, I probably should do that to the button-styler too.

Gonna put that on my list for 5.2.

The counterpoint of that is that I would to change the config of rActionButtonStyler why may distract some users.

If you want to fix it:
  • Change the outer_shadow texture (which is the edge file) to your white8x8.
  • Change the hardcoded padding values in background and icon to 1.
  • Set the normal texture to an empty (transparent) texture. By default the normal texture is a border that interacts with actionbutton conditions (push-state, hover etc.)
__________________
| 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 : 01-27-13 at 05:22 AM.
Report comment to moderator  
Reply With Quote
Unread 01-27-13, 03:03 AM  
Jeremypwnz
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 16
Uploads: 1
How would I add a 1 px border to the action buttons? I found it relatively easy with your rBuffFrameStyler as I just changed lines 47-53 to:

Code:
background = {
      show              = true,   --show backdrop
      edgeFile          = "Interface\\Buttons\\WHITE8x8",
      color             = { r = 0, g = 0, b = 0, a = 1},
      classcolored      = false,
      inset             = 1,
      padding           = -1,
But I cannot for the life of me figure it out with this addon.
Report comment to moderator  
Reply With Quote
Unread 01-04-13, 10:14 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Acidlollypop
How to change the frame framework? How to make a button as the screenshot number 2?
http://www.wowinterface.com/downloads/info12283.html

Get the textures from that addon and replace the ones in the download.
__________________
| 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-04-13, 11:45 AM  
eljumbo
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Originally Posted by zork
What actionbar addon are you using?
rActionBarStyler
Report comment to moderator  
Reply With Quote
Unread 01-04-13, 09:04 AM  
Acidlollypop
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
How to change the frame framework? How to make a button as the screenshot number 2?
Report comment to moderator  
Reply With Quote
Unread 01-03-13, 04:56 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
What actionbar addon are you using?
__________________
| 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-03-13, 02:41 PM  
eljumbo
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Hello,

I can't get the hotkeys on the other bars than 1 ... and the "show" option is set to "true" in my config.lua ... thanks for your help and congrats for this addon

eljumbo
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: