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,506
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 11-12-12, 04:25 AM  
Clamsoda
A Frostmaul Preserver

Forum posts: 268
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
Unread 10-03-12, 09:53 AM  
blademaster
A Murloc Raider
 
blademaster's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 27
Uploads: 2
dominios and bartender are already stable and working in MOP ... but i think you have made them supported in your addon yet as some bar are unskined and and skins are not working properly on others... pls update it soon
Report comment to moderator  
Reply With Quote
Unread 09-24-12, 02:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Support is not yet included. I wanted to wait until the updates on Dominos and Bartender4 settle. Which is not yet the case.
__________________
| 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-24-12, 01:50 AM  
Wakez
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Does this mean Dominos and Bartender are once again supported?
Front page for the addon states otherwise.
Last edited by Wakez : 09-24-12 at 01:51 AM.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 02:20 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Beta is over. rActionButtonStyler got updated for MoP. Have fun.
__________________
| 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-07-12, 01:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
The support for Dominos is temporarily removed in rActionButtonStyler (MoP Beta). Once MoP arrives it will be included again. Thus some bars are unskinned.
__________________
| 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 : 09-07-12 at 01:10 AM.
Report comment to moderator  
Reply With Quote
Unread 09-06-12, 05:54 PM  
Ereki
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 64
Uploads: 3
I don't know if I'm just really stupid but I can't for the love of god make it skin all my bars (I use Dominos) I get 1, 3, 4, 5 an 6 skinned. But not 2, 7, 8, 9 and 10 I just can't see what's wrong I feel like I've tried everything except going into the core files to check there...
http://i.imgur.com/gEw92.jpg There's a screenshot of some of the unskinned and skinned bars
Report comment to moderator  
Reply With Quote
Unread 04-29-12, 11:32 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Add the function call to the updateHotkey function. Basically do this:
Lua Code:
  1. local function updateName(self, actionButtonType)
  2.     local replace = string.gsub
  3.     local ho = _G[self:GetName() .. "HotKey"]
  4.     local key = ho:GetText()
  5.     key = replace(key, '(s%-)', 'S')
  6.     key = replace(key, '(a%-)', 'A')
  7.     key = replace(key, '(c%-)', 'C')
  8.     key = replace(key, '(Mouse Button )', 'M')
  9.     key = replace(key, '(Middle Mouse)', 'M3')
  10.     key = replace(key, '(Mouse Wheel Down)', 'MWD')
  11.     key = replace(key, '(Mouse Wheel Up)', 'MWU')
  12.     key = replace(key, '(Num Pad )', 'N')
  13.     key = replace(key, '(Page Up)', 'PU')
  14.     key = replace(key, '(Page Down)', 'PD')
  15.     key = replace(key, '(Spacebar)', 'SpB')
  16.     key = replace(key, '(Insert)', 'Ins')
  17.     key = replace(key, '(Home)', 'Hm')
  18.     key = replace(key, '(Delete)', 'Del')
  19.     if ho:GetText() == _G['RANGE_INDICATOR'] then
  20.         ho:SetText('')
  21.     else
  22.         ho:SetText(key)
  23.     end
  24.   end
  25.  
  26.   --update hotkey func
  27.   local function updateHotkey(self, actionButtonType)
  28.     local ho = _G[self:GetName() .. "HotKey"]
  29.     if ho and not cfg.hotkeys.show then
  30.       ho:Hide()
  31.     else
  32.        updateName(self, actionButtonType)
  33.     end
  34.   end

You add your function on top of the updateHotkey function and inside the updateHokey function you call the updateName function.
http://code.google.com/p/rothui/sour...r/core.lua#239
__________________
| 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 : 04-29-12 at 11:33 AM.
Report comment to moderator  
Reply With Quote
Unread 04-29-12, 12:59 AM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Hi Zork, if I want implement this function for keybindings 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
Where/How call this function? I need help plz. Thx for all.
Last edited by Dhaern : 04-29-12 at 12:59 AM.
Report comment to moderator  
Reply With Quote
Unread 04-19-12, 02:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
What actionbar mod are you using? If you are using rActionBarStyler make sure you have the latesr versions of rActionBarStyler and rActionButtonStyler there were some improvements.
__________________
| 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 04-18-12, 09:16 PM  
linguini
A Deviate Faerie Dragon

Forum posts: 18
File comments: 72
Uploads: 0
my extra action button is a bit messed up

http://i.imgur.com/hpk5t.png

is there anyway to get back the background texture? or maybe fix the frame or something?
Report comment to moderator  
Reply With Quote
Unread 02-16-12, 03:15 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Upload incoming.

__________________
| 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 02-16-12, 02:31 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
I did it. I found a way to hack Bartender4 icon styling.

The fixing code snippet is:
Code:
    if bartender4 then --fix the normaltexture
      nt:SetTexCoord(0,1,0,1)
      nt.SetTexCoord = function() return end
      bu.SetNormalTexture = function() return end
    end


Works for all actionbuttons and stance buttons.

Pet buttons are scary ... a lot of hacked code in Bartender4->petbutton.lua. In fact the default NormalTexture is disabled and replaced by another texture. So no pet bar skinning for Bartender4, but stance and actionbutton skinning works perfect.

Dominos has pet and actionbar skinng but no stancebar. That is because the stancebar of Dominos is using no NormalTexture.

Hmm pretty happy with the outcome actually.

The good thing on the new styling is that it is only called once at loadup. Thus it requires a reload if you pop new bars that was not available at load. Small price to pay imo. Since I could remove all the ActionButtonUpdate hooks (which fire alot) in combat.
__________________
| 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 : 02-17-12 at 02:12 AM.
Report comment to moderator  
Reply With Quote
Unread 02-16-12, 12:00 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
No. To skin Bartender I have to call the skin function with the Bartender button name. I'm not doing that atm. We will see, gonna test some stuff now.
__________________
| 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 02-16-12, 09:30 AM  
ronconsoda
A Defias Bandit

Forum posts: 3
File comments: 8
Uploads: 0
Originally Posted by zork
Well that was fast.

Maybe i can finally style Bartender buttons? I guess no but who knows.
did a quick check with bartender4. Nowadays you skin about half of it. But bartender still does to much its own skinning. Therefore nope it does not work
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: