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,229
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 01-19-09, 09:38 AM  
Soeters
A Warpwood Thunder Caller
 
Soeters's Avatar
AddOn Author - Click to view AddOns

Forum posts: 97
File comments: 207
Uploads: 20
ItemRack

I try to make your (wonderful) addon usable with ItemRack with a code like that

Code:
for i = 0, 20 do
	local bu = _G("ItemRackButton"..i)
		if bu then
			bu:SetHighlightTexture(rb2_hover_texture)
  			bu:SetPushedTexture(rb2_pushed_texture)
  			bu:SetCheckedTexture(rb2_checked_texture)
  			bu:SetNormalTexture(rb2_normal_texture)
			
			local nt  = _G('ItemRackButton'..i.."NormalTexture")
 			 nt:SetHeight(bu:GetHeight())
			 nt:SetWidth(bu:GetWidth())
 			 nt:ClearAllPoints()
   			 nt:SetPoint("TOPLEFT", bu, "TOPLEFT", 0, 0)
   			 nt:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT", 0, 0)
  
			local ic  = _G('ItemRackButton'..i.."Icon")
			 ic:SetTexCoord(0.1,0.9,0.1,0.9)
 			 ic:SetPoint("TOPLEFT", bu, "TOPLEFT", 2, -2)
 			 ic:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT", -2, 2)
		end
end
But the only thing I can see is a huge texture around the icon like that
__________________
Report comment to moderator  
Reply With Quote
Unread 01-21-09, 01:13 PM  
Shoy
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
I've been using this add-on for a little while with no problems at all. I logged on earlier and everything looks like it's working fine except it doesn't have the gloss effect. That's the main reason I use it for the gloss.

I haven't changed anything at all, any ideas why it isn't glossy for me now?
__________________
Report comment to moderator  
Reply With Quote
Unread 01-21-09, 02:12 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 Shoy
I've been using this add-on for a little while with no problems at all. I logged on earlier and everything looks like it's working fine except it doesn't have the gloss effect. That's the main reason I use it for the gloss.

I haven't changed anything at all, any ideas why it isn't glossy for me now?
Have you updated your texture files? If you are using rActionButtonStyler with rothui skin you need to set

Code:
local color_rn = 0.37
local color_gn = 0.3
local color_bn = 0.3
to
Code:
local color_rn = 1
local color_gn = 1
local color_bn = 1
Line 16-19
__________________
| 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-21-09 at 02:14 PM.
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 03:51 AM  
Zyonin
Coffee powered Kaldorei
 
Zyonin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1443
File comments: 62
Uploads: 2
No complaints or issues here, just a simple thank you for a rather nice, simple way to "skin" my action bars (Dominos). It works very nicely.
__________________
Twitter
Report comment to moderator  
Reply With Quote
Unread 01-30-09, 02:30 PM  
Lùinwë
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Is there a way to resize textures like HighlightTexture (hover.tga) for example ?
I did this for the NormalTexture :

Code:
  local nt  = _G[name.."NormalTexture"]
  
  nt:SetHeight(bu:GetHeight())
  nt:SetWidth(bu:GetWidth())
  nt:SetPoint("TOPLEFT", bu, "TOPLEFT", -2, 2)
  nt:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT", 2, -2)
But now the size of the other textures are smaller than the NormalTexture.

Some ideas ?
Report comment to moderator  
Reply With Quote
Unread 02-14-09, 11:14 PM  
Rintrah
A Defias Bandit

Forum posts: 2
File comments: 17
Uploads: 0
this is using 10x more cpu power than rbars2... why?
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 03:23 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 Rintrah
this is using 10x more cpu power than rbars2... why?
rBars2 is a mod that puts buttons somewhere, same as rActionBarStyler.

rActionButtonStyler has nothing to do with rBars2. rActionButtonStyler is like RedRange, it is always active, changes the actionbutton look and hooks the "default" actionbutton onupdate function. This is no big deal since the performance stays the same since the default function would also be used without any addons. You just could not track it, since it is a Blizzard function.

If you want to style the buttons without causing tainting errors you have to do it this way. rBars2 causes tainting, thats the problem.
__________________
| 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 : 02-15-09 at 03:27 PM.
Report comment to moderator  
Reply With Quote
Unread 02-16-09, 01:41 PM  
lanacan
A Warpwood Thunder Caller
 
lanacan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 177
Uploads: 13
Originally posted by Rintrah
this is using 10x more cpu power than rbars2... why?
OMG your puter going to blow up form this???

Sorry but unless you are seeing a huge hit in computer resource use you shouldn't be tracking every KB of cpu usage... unless you ARE that anal retentive then... get professional help.
__________________
Busy modifying your code for my own UI.
Report comment to moderator  
Reply With Quote
Unread 02-17-09, 01:11 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Originally posted by lanacan
OMG your puter going to blow up form this???

Sorry but unless you are seeing a huge hit in computer resource use you shouldn't be tracking every KB of cpu usage... unless you ARE that anal retentive then... get professional help.
I AM that retentive, but haven't noticed any cpu increase in this addon .... I do track my stuff, if things go over 1MB in use (excluding BigWigs, Recount and Omen, though Omen doesn't come close anymore)
Report comment to moderator  
Reply With Quote
Unread 02-21-09, 05:15 AM  
MeqTrader
An Aku'mai Servant
 
MeqTrader's Avatar

Forum posts: 39
File comments: 7
Uploads: 0
Got a little question, would it be possible to have a class colored overlay or would it mean I would have to make a special skin for every class ?
Report comment to moderator  
Reply With Quote
Unread 02-21-09, 07:10 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 MeqTrader
Got a little question, would it be possible to have a class colored overlay or would it mean I would have to make a special skin for every class ?
Check the config (lua code) and you will see the class coloring example which is currently commented out. Class coloring is no problem.
__________________
| 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 : 02-21-09 at 07:11 AM.
Report comment to moderator  
Reply With Quote
Unread 02-23-09, 07:03 PM  
gatina
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by zork
Right
I did that but when I logout and re-login the hotkeys wont's show anymore.Any ideas why this is happening?
Report comment to moderator  
Reply With Quote
Unread 02-26-09, 08:39 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Zork?

I'd like to confirm that your mod also works with InlineAura
Report comment to moderator  
Reply With Quote
Unread 03-03-09, 01:26 PM  
Sirupsen
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
I can't the Gloss to work. It's all default.
I just get this:
http://www.sirupsen.dk/jing/2009-03-03_2025.png

Using it with rBarStyler.
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 12:08 PM  
st0nedpenguin
A Deviate Faerie Dragon
 
st0nedpenguin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 38
Uploads: 2
I'm noticing some issues with the Lua configured border colours not working on PTR, as an early heads up.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: