Download
(24 Kb)
Download
Updated: 03-04-13 04:37 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Updated:03-04-13 04:37 PM
Created:12-27-08 07:46 PM
Downloads:62,471
Favorites:308
MD5:
rActionButtonStyler  Popular! (More than 5000 hits)
Version: 50200.01
by: zork [More]

Intro
rActionButtonStyler is a small mod to adjust the graphical appearance of action buttons.
Install
The zip-file contains one folder: rActionButtonStyler. Put it in your AddOns folder.
Config
To adjust the settings check the config.lua.
SVN
http://code.google.com/p/rothui/sour...onButtonStyler
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 (18)
File Name
Version
Size
Author
Date
Type
1.3
80kB
11-29-10 01:09 PM
Addon
1.0
22kB
11-14-10 05:23 PM
Addon
1.2
24kB
11-09-10 01:59 PM
Addon
1.0
3kB
11-05-10 09:22 AM
Addon
4.003
41kB
10-16-10 07:02 PM
Patch
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 11:47 AM
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 11:10 AM
Addon
001
21kB
01-23-09 02:24 AM
Addon
1.0
5kB
01-22-09 08:38 AM
Addon
003
6kB
01-20-09 07:16 PM
Patch
001
15kB
01-20-09 02:59 PM
Addon
001
10kB
01-20-09 02:58 PM
Addon
0.1
7kB
01-17-09 09:12 AM
Addon


Archived Files (20)
File Name
Version
Size
Author
Date
50100.01
24kB
zork
11-28-12 12:27 PM
50001.07
24kB
zork
11-21-12 11:24 AM
50001.06
24kB
zork
09-21-12 02:19 PM
40300.06
23kB
zork
02-16-12 02:14 PM
40300.05
23kB
zork
02-15-12 03:59 PM
40300.04
23kB
zork
01-20-12 11:51 AM
40300.03
23kB
zork
12-04-11 04:16 PM
40300.02
23kB
zork
11-30-11 12:45 PM
40300.01
23kB
zork
11-30-11 11:35 AM
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 12: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 03:04 PM
002
12kB
zork
01-17-09 06:20 AM


Post A Reply Comment Options
Old 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
Old 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
Old 10-28-10, 01:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1129
File comments: 3015
Uploads: 78
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.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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 offline Report comment to moderator  
Reply With Quote
Old 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
Old 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
Old 10-24-10, 03:52 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1129
File comments: 3015
Uploads: 78
Install tullaRange. That mod does that and uses the least CPU usage.
http://www.wowinterface.com/download...ullaRange.html
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Old 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
Old 10-21-10, 01:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1129
File comments: 3015
Uploads: 78
Congratulation you got it!
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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 offline Report comment to moderator  
Reply With Quote
Old 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
Old 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
Old 10-20-10, 05:45 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 57
Uploads: 0
Originally posted by grimgaw
Something i've noticed though, when you enter combat whole Hotkey settings get reset. Even with unmodified rABS when i enter combat my hotkey text shifts few pixels down and stays like that until next reloadui. Is there any fix for that Zork?
Yep, when I enter in combat this Abbreviates returns to normal keybinds text
Dhaern is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 05:39 PM  
grimgaw
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 12
Uploads: 1
Something i've noticed though, when you enter combat whole Hotkey settings get reset. Even with unmodified rABS when i enter combat my hotkey text shifts few pixels down and stays like that until next reloadui. Is there any fix for that Zork?
grimgaw is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 04:37 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 57
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)
OMG this works! Thanks very much, I am a noob with lua I only know change or edit things not create functions. Thx very much again
Dhaern is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 04:08 PM  
grimgaw
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 12
Uploads: 1
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)
grimgaw is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 12:23 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1129
File comments: 3015
Uploads: 78
Why don't you just sit down and try/error it out yourself?

The error is pretty clear. Go to line 112 and make sure that line and maybe the ones after are only called under specific conditions. Maybe you need sth like

Code:
--call this only if "ho" (hotkey) object exists
if ho then
  -- do dat
end
or sth like this
Code:
--call this only if "text" object exists
if text then
  -- do dat
end
"Es ist nocht keine Meister vom Himmel gefallen", how we say in Germany. Just show some dedication.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: