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,586
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 06-01-09, 01:46 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 520
Uploads: 9
So is this a working fix? I tried commenting that section of code out and it did show binding text but it removed the texture from my bars.

Originally posted by MoonWitch
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, 09:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | 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 05-31-09, 07:49 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 163
Uploads: 8
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: 1632
File comments: 3612
Uploads: 118
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) | 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 05-30-09, 11:09 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 163
Uploads: 8
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: 1632
File comments: 3612
Uploads: 118
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) | 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 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: 520
Uploads: 9
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: 1632
File comments: 3612
Uploads: 118
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) | 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 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: 520
Uploads: 9
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: 1632
File comments: 3612
Uploads: 118
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) | 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 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: 520
Uploads: 9
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
Post A Reply



Category Jump: