Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(24 Kb)
Download
Updated: 10-24-14 07:47 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-24-14 07:47 PM
Created:12-27-08 08:46 PM
Downloads:67,586
Favorites:311
MD5:
6.0.2
rActionButtonStyler  Updated Today!  Popular! (More than 5000 hits)
Version: 60000.01
by: zork [More]

INTRO
rActionButtonStyler adjusts the graphical appearance of action buttons.
CONFIG
To adjust the settings check the config.lua.
SVN
http://code.google.com/p/rothui/sour...onButtonStyler
60000.01
- updated for patch 6.0.2

50400.01
- updated toc to 50400

50100.01
- updated for patch 5.2

50100.01
- updated for patch 5.1

50001.07
- Readded support for Dominos and Bartender4

50001.06
- Added SpellFlyoutButton styling

50001.05
- Added the new LeaveVehicleButton from rActionBarStyler to the styling

50001.04
- Fixed a bug with the ExtraActionButtonStyle not hiding correctly

50001.03
- Config now has macro and hotkey texts enabled by default
- Removed the updateHotkey function call, that is not needed anymore

50001.02
- Fixed the stack overflow issue that came up if the normaltextue color is equal to 1,1,1 or 0.5,0.5,1

50001.01
- initial release for MoP

40300.06
- added Dominos support
- added Bartender4 support
changelog: http://code.google.com/p/rothui/source/detail?r=806

40300.05
- removed all secure hook calls for button updates
- new function calls
- added normaltexture to ExtraActionButton

40300.04
- added style function for the ExtraActionButton1

40300.03
- fixing patch 4.3 taint issues (DIFF)

40300.02
- fixing the Dominos issue when trying to put a background behind a button on framelevel -1.

40300.01
- fixes for patch 4.3

4.007
- updated toc for patch 4.2

4.006
- updated toc for patch 4.1

4.005
- WoW patch 4.0.6 fix

4.004
- added Garrys code for background image and outer glow


4.003
- fixing setpoints of long macro names and keybinds to be inside the buttons

4.002
- complete new file structure and finally a real config

4.001
- first running version for cataclysm

100812
- final multicastactionbar fix

100808
- fixed the bug that prevents from putting spells into bars while in combat
- mod is compatible to tullaRange
- if you want to use white buttons you need to adjust the ntSetVertexColor function

100710
- deleted A LOT of stuff and rewrote some other
- removed rangechange install "tullaRange" if you want rangecheck

005
- complete rewrite
- added a config
- biggest change is that I rewrite the default ActionButton onUpdate func now, this improved the performance by a mile
- added dominos support

004-2
- range_indicator fix

004
- updated for 3.1
- included range/mana coloring (thus only 1x hooking the actionbutton onupdate func is needed -> better cpu usage)

003
- classcolored buttons possible (see lua)
- onupdate in again to be able to colorize textures (make sure redrange normaltexture coloring is disabled!)
- new default skin (simplebutton)

002
- fixed the normaltexture bug for stancebars
- removed the onupdate hook for actionbuttons (thx to Neal)

001
- first release
Optional Files (17)
File Name
Version
Size
Author
Date
Type
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 (22)
File Name
Version
Size
Author
Date
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-18-10, 01:29 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1367
File comments: 3281
Uploads: 86
If you like rActionBarStyler and rActionButtonStyler you may like: http://www.wowinterface.com/download...ameStyler.html
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Unread 11-17-10, 03:08 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1367
File comments: 3281
Uploads: 86
err...well it may look hacked because it is not intended. I wouldn't use rActionButtonStyler directly.

You could add it as optional dependancy and add a condition to use the rActionButtonStyler media folder instead if isAddonLoaded(...).

Styling wise...all you need to create a background behind your icon. A SetTexCoord for the icon to cut the edges and a border texture above.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Unread 11-17-10, 02:48 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
How do you style your buffs/debuff icons in RothUI?

I ask because I tried to style my buff icons (nivBuffs) with rActionButtonStyler. My approach was to "fake" an action button by creating empty frames and textures for the missing things and then do an ActionButton_Update()-call for my buttons. That kinda worked but it didn't look like expected in the end and also feels more or less hacked.

So is there a way I can use rActionButtonStyler to style my aura icons?
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 11-05-10, 11:00 AM  
Garry
A Kobold Labourer
 
Garry's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 158
Uploads: 7
Originally posted by sephra
Not sure which forum this should be for ya zork, but since its a style issue... Anyway to have your rActionButtonStyler affect your rfilter3 addon as well. Be nice to keep all the buttons looking sexy. Dunno how hard that would be to do, Seems logical though.
for rfilter3 you need to change the image path to rABStyler.
the lines where the images are "called" in the core.lua:

line50:
Code:
gl:SetTexture("Interface\\AddOns\\rTextures\\simplesquare_glow")
line55:
Code:
ba:SetTexture("Interface\\AddOns\\rTextures\\d3portrait_back2")
line67:
Code:
bo:SetTexture("Interface\\AddOns\\rTextures\\simplesquare_roth")
could be the you might need to adjust the code around the lines above to get it working correct ^^
Garry is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 05:05 AM  
TzuArath
A Murloc Raider

Forum posts: 4
File comments: 9
Uploads: 0
I cant get it to apply to buffs, it just show the normal texture...
TzuArath is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 11:55 PM  
sephra
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Not sure which forum this should be for ya zork, but since its a style issue... Anyway to have your rActionButtonStyler affect your rfilter3 addon as well. Be nice to keep all the buttons looking sexy. Dunno how hard that would be to do, Seems logical though.
sephra is offline Report comment to moderator  
Reply With Quote
Unread 10-28-10, 01:19 AM  
neverg
A Cobalt Mageweaver
 
neverg's Avatar
AddOn Author - Click to view AddOns

Forum posts: 241
File comments: 334
Uploads: 8
Re: Re: Bug on Cataclysm

Originally posted by zork
Thx for posting but it says "rActionBarStyler\bars\bar1.lua" not rActionButtonStyler. So the problem will be discusses there.
Jeez my bad. 5 AM in the morning and I Can't read anymore it seems. Sorry. Anyway this "change" is for sure affecting several Addons. I thought I posted in BarStyler.
__________________
My oUF Layout: oUF Lumen
Last edited by neverg : 10-28-10 at 01:20 AM.
neverg is offline Report comment to moderator  
Reply With Quote
Unread 10-28-10, 01:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1367
File comments: 3281
Uploads: 86
Re: Bug on Cataclysm

Thx for posting but it says "rActionBarStyler\bars\bar1.lua" not rActionButtonStyler. So the problem will be discussed there.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-28-10 at 01:30 AM.
zork is online now Report comment to moderator  
Reply With Quote
Unread 10-27-10, 07:15 PM  
neverg
A Cobalt Mageweaver
 
neverg's Avatar
AddOn Author - Click to view AddOns

Forum posts: 241
File comments: 334
Uploads: 8
Bug on Cataclysm

zork, everything worked fine on the Beta till today's update (that gave us the cool Dragon Login Screen ).

I can't test this on Live as my subscription ran out (will be back for CC!), but on the Beta after the patch I get some taint error.

lua Code:
  1. Message: Interface\FrameXML\RestrictedExecution.lua:414: Invalid working environment
  2. Time: 10/28/10 02:13:15
  3. Count: 1
  4. Stack: [C]: ?
  5. Interface\FrameXML\RestrictedExecution.lua:414: in function <Interface\FrameXML\RestrictedExecution.lua:412>
  6. (tail call): ?
  7. Interface\FrameXML\SecureHandlers.lua:489: in function <Interface\FrameXML\SecureHandlers.lua:467>
  8. [C]: in function `SetAttribute'
  9. Interface\FrameXML\SecureHandlers.lua:663: in function <Interface\FrameXML\SecureHandlers.lua:652>
  10. (tail call): ?
  11. Interface\AddOns\rActionBarStyler\bars\bar1.lua:75: in function <Interface\AddOns\rActionBarStyler\bars\bar1.lua:67>
  12.  
  13. Locals: (*temporary) = "Invalid working environment"

Either Blizzard changed something on the Secure handlers or they screwed up some code and created a bug.

From what I gathered it's happening with other ActionBars too.
__________________
My oUF Layout: oUF Lumen
Last edited by neverg : 10-27-10 at 11:20 PM.
neverg is offline Report comment to moderator  
Reply With Quote
Unread 10-25-10, 12:55 AM  
RuuddieBoy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally posted by zork
Install tullaRange. That mod does that and uses the least CPU usage.
http://www.wowinterface.com/download...ullaRange.html
Thanks, works like a charm!
RuuddieBoy is offline Report comment to moderator  
Reply With Quote
Unread 10-24-10, 03:52 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1367
File comments: 3281
Uploads: 86
Install tullaRange. That mod does that and uses the least CPU usage.
http://www.wowinterface.com/download...ullaRange.html
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Unread 10-24-10, 11:32 AM  
RuuddieBoy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I haven't quite read all replies, and I'm actually fairly sure this has been asked before, but I saw that the keyword 'range' was found quite a lot. So here goes:
Is there a way to make icons show a different color when the target is out of range for the spell?
RuuddieBoy is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 01:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1367
File comments: 3281
Uploads: 86
Congratulation you got it!
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-21-10 at 01:50 AM.
zork is online now Report comment to moderator  
Reply With Quote
Unread 10-20-10, 07:01 PM  
Improvver
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
OK, final solution to shortcuts and in combat problem fix too:

add this new function behind of "--initial style func" (out of this zone text)
Code:
  
-- Key-binding shortcuts
  local function updatehotkey(self, actionButtonType)
	local replace = string.gsub
	local hotkey = _G[self:GetName() .. 'HotKey']
	local key = hotkey: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 hotkey:GetText() == _G['RANGE_INDICATOR'] then
		hotkey:SetText('')
	else
		hotkey:SetText(key)
	end
  end
and to bottom of lua file add in " -- CALLS // HOOKS"

Code:
hooksecurefunc("ActionButton_UpdateHotkeys",  updatehotkey)
Improvver is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 06:09 PM  
Improvver
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally posted by grimgaw
how about this:
Code:
local t = ho:GetText()
if(not t or t=="") then return end
t = t:gsub("Num Pad ", "n")
t = t:gsub("-", "")
ho:SetText(t)
I created this func and works but the problem when enter in combat don't resolve, keybindings returns to original names:

Code:
		
local t = ho:GetText()
if t == _G['RANGE_INDICATOR'] then
  ho:SetText("")
else
  t = t:replace("Num Pad ", "N")
  t = t:replace("Page ", "P-")
  ho:SetText(t)
end
We're close to getting a solution xD Zork u are the best!
Improvver is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: