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,188
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 05-31-09, 09:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
It is a fix for the default actionbars that will hide the keybinding when this function is called. Its a rewrite of the default function.
__________________
| 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 05-31-09, 07:49 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Originally posted by zork
Good!
Sooo I was wrong, I must have missed a piece of code. I'll get it right though.

Disabling this piece solves the issue:
Code:
local function rActionButtonStyler_AB_hotkey(self, actionButtonType)
  if (not actionButtonType) then
    actionButtonType = "ACTIONBUTTON";
  end
  local hotkey = _G[self:GetName().."HotKey"]
  local key = GetBindingKey(actionButtonType..self:GetID()) or GetBindingKey("CLICK "..self:GetName()..":LeftButton");
 	local text = GetBindingText(key, "KEY_", 1);
  hotkey:SetText(text);
  --hotkey:Hide()
  hotkey:Show()
end
Now other then take the text of the hotkey and placing it there again, what else does this do? I can't seem to detect how taking this out affects it.
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 06:25 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 MoonWitch
Well, if I disable rActionbuttonstyler, it's fine. Commenting out ALL hotkey related code, in both rActionButtonStyler or Dominos, it doesn't seem to change. Perhaps I missed something though.
Good!
__________________
| 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 05-30-09, 11:09 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Originally posted by Qupe
Is there anyway to fix this - I mean is it an issue with Dominos code or rActionbuttonstyler code?
Well, if I disable rActionbuttonstyler, it's fine. Commenting out ALL hotkey related code, in both rActionButtonStyler or Dominos, it doesn't seem to change. Perhaps I missed something though.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 05:09 PM  
Ili
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally posted by llDemonll
kk - i am redoing my UI anyways and hiding a lot of stuff and just came across you action bar styler so i'm going to give it a try =)
For BT4 you have to use Button Facade,rActionbuttonStyler dosn´t work.
Last edited by Ili : 05-27-09 at 05:13 PM.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 01:59 PM  
llDemonll
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
kk - i am redoing my UI anyways and hiding a lot of stuff and just came across you action bar styler so i'm going to give it a try =)
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 04:07 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 llDemonll
bartender4
I have no clue if Bartender4 makes use of the ActionButtonTemplate. If not then this will have no effect. This is primary for styling buttons made with the ActionButtonTemplate.
__________________
| 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 05-22-09, 02:15 PM  
llDemonll
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
I'm under the impression that this is just a 'plug-and-play' addon.

I use BarTender4 and I installed this and the Xhai (i think that's how you spell it) media and put them in the correct folder inside the addon and it just made it so there were no borders on my action bars. I tried the Stoneh skin and changed the values for it and all it does is put big black boxes around my action bars. The default skin put big grey, semi-transparent boxes around them. Dunno if there was an update i missed or something, but it's not working =/

any help appreciated =)
Report comment to moderator  
Reply With Quote
Unread 05-15-09, 10:35 AM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Is there anyway to fix this - I mean is it an issue with Dominos code or rActionbuttonstyler code?
Last edited by Qupe : 05-15-09 at 10:35 AM.
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 07:39 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 Raynor2k
Found such code in Dominos actionBar.lua
Code:
		--hack #1billion, get rid of range indicator text
		local hotkey = _G[b:GetName() .. 'HotKey']
		if hotkey:GetText() == _G['RANGE_INDICATOR'] then
			hotkey:SetText('')
		end
Can this be the source of the problem with missing hotkeys?
Yeah, this sounds to be it. The problem is that you are not allowed to touch the ranged_indicator string anymore or the new questlog watchframeicon freaks out.
__________________
| 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 05-14-09, 04:40 AM  
Raynor2k
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Found such code in Dominos actionBar.lua
Code:
		--hack #1billion, get rid of range indicator text
		local hotkey = _G[b:GetName() .. 'HotKey']
		if hotkey:GetText() == _G['RANGE_INDICATOR'] then
			hotkey:SetText('')
		end
Can this be the source of the problem with missing hotkeys?
Report comment to moderator  
Reply With Quote
Unread 05-10-09, 07:07 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Originally posted by zork
Dominos does not use the ActionButtonTemplate for the classbars. So they do not get skinned.
Ahh, ok thanks!
Report comment to moderator  
Reply With Quote
Unread 05-10-09, 05:50 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 Qupe
Im using this with dominos and the class bar is not getting skinned with the rest of the bars. Also having the same issue as other with the hotkeys not showing even though 'Hide()" is set to "Show()".
Dominos does not use the ActionButtonTemplate for the classbars. So they do not get skinned.
__________________
| 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 05-10-09, 05:03 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Im using this with dominos and the class bar is not getting skinned with the rest of the bars. Also having the same issue as other with the hotkeys not showing even though 'Hide()" is set to "Show()".
Report comment to moderator  
Reply With Quote
Unread 05-06-09, 12:44 AM  
disiz
A Deviate Faerie Dragon
 
disiz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 55
Uploads: 1
Hi zork

I do have exactly the same problem with showing the hotkeys. They just disapear from time to time. Then again there visible again...
Yes I already tried what you suggested.

Bei früheren Versionen und bei rBars hatte ich das Problem nie, aber auf den ersten Blick ist der entsprechende Code ja nicht anders?!

Thanks in advance.

Disiz
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: