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:68,428
Favorites:316
MD5:

rActionButtonStyler  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 08-16-10, 06:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3373
Uploads: 89
Re: Re: Dominos bug

Yep it's a rewrite so it may not work with other mods but rActionBarStyler. But you can fix it yourself. Just grab your text editor. Go to the line described and prevent the file from doing sth. with anything that is nil.

So basically add conditions. Example: Assume we want to change variable "a" and a is nil, but you cannot change a nil-value, so you have to do:

Code:
if (a) then
  --do stuff
end
So --do stuff will only be available if "a" exists. Some of your ACE-libs don't like that.
__________________
| 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 : 08-16-10 at 06:56 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 08-16-10, 05:27 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 225
Uploads: 1
Re: Dominos bug

Originally posted by Rainrider


Everything seems to function though. Sorry if this is an issue with dominos, it wasn't bugging with 005, I haven't tested other yet.
Nope its the Addon mate...

Code:
[2010/08/16 13:19:58-6422-x42]: rActionButtonStyler\rActionButtonStyler.lua:81: attempt to index a nil value
<in C code>: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:159: in function `ActionButton_UpdateAction':
<string>:"*:OnAttributeChanged":1: in function <[string "*:OnAttributeChanged"]:1>
<in C code>: in function `SetAttribute'
Interface\FrameXML\ActionButton.lua:83: in function `ActionButton_OnLoad':
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>
<in C code>: in function `CreateFrame'
RazerNaga-1.1.0\actionBar.lua:71: in function <Interface\AddOns\RazerNaga\actionBar.lua:51>
RazerNaga-1.1.0\actionBar.lua:75: in function `Create'
RazerNaga-1.1.0\actionBar.lua:26: in function `New'
RazerNaga-1.1.0\actionBar.lua:313: in function `LoadButtons'
RazerNaga-1.1.0\actionBar.lua:272: in function `New'
...:
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5 (Bagnon):539: in function `EnableAddon'
AceAddon-3.0-5 (Bagnon):629: in function <...ace\AddOns\Bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

  ---
I use a Bar Addon made for my Razer Naga and have almost the same Error.

Did not have this on the last Version ether


€dit:

Just went back to 005 and all works fine
Last edited by Xarl : 08-16-10 at 05:30 AM.
Xarl is offline Report comment to moderator  
Reply With Quote
Unread 08-13-10, 08:06 AM  
Rainrider
A Rage Talon Dragon Guard

Forum posts: 318
File comments: 26
Uploads: 0
Dominos bug

Hello Zork,

i'm getting this with Dominos and the latest version of rActionButtonStyler:
Code:
48x rActionButtonStyler\rActionButtonStyler.lua:74: attempt to index a nil value
<in C code>: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:159: in function `ActionButton_UpdateAction':
<string>:"*:OnAttributeChanged":1: in function <[string "*:OnAttributeChanged"]:1>
<in C code>: in function `SetAttribute'
Interface\FrameXML\ActionButton.lua:83: in function `ActionButton_OnLoad':
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>
<in C code>: in function `CreateFrame'
Dominos-1.18.6\actionBar.lua:100: in function <Dominos\actionBar.lua:80>
Dominos-1.18.6\actionBar.lua:104: in function `Create'
Dominos-1.18.6\actionBar.lua:55: in function `New'
Dominos-1.18.6\actionBar.lua:344: in function `LoadButtons'
Dominos-1.18.6\actionBar.lua:303: in function `New'
...:
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5 (Ace3):539: in function `EnableAddon'
AceAddon-3.0-5 (Ace3):629: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:235: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:258: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:482: in function <Interface\FrameXML\UIParent.lua:454>:

Locals:
(*temporary) = <function> defined =[C]:-1
 = <function> @ Interface\FrameXML\ActionButton.lua:163:
 = <function> @ rActionButtonStyler\rActionButtonStyler.lua:72:

  ---
Everything seems to function though. Sorry if this is an issue with dominos, it wasn't bugging with 005, I haven't tested other yet.
Rainrider is offline Report comment to moderator  
Reply With Quote
Unread 08-10-10, 12:26 PM  
sakurakira
A Flamescale Wyrmkin
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 143
File comments: 52
Uploads: 5
The equipped item slot keeps the same color if the icon is moved. A reload is required to "fix" it.


EDIT

Never mind... it had to do with the skin I was using. I reinstalled fresh and the problem disappeared.
__________________
Arise, my champion!

Carnation / 90 Blood Elf Priest / <Adversity> / Vek'nilash-US
Last edited by sakurakira : 08-10-10 at 03:48 PM.
sakurakira is offline Report comment to moderator  
Reply With Quote
Unread 08-08-10, 09:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3373
Uploads: 89
Btw fix for the put actionbuttons in your bars while in combat is coming. Found the bug.
__________________
| 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 offline Report comment to moderator  
Reply With Quote
Unread 08-07-10, 07:50 AM  
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1172
File comments: 1138
Uploads: 31
I've noticed these parts in your code.

Code:
if not self.rabsstyle then
Code:
self.rabsstyle = true
Are they to stop the style function from refreshing every time? If so, then why don't you do the same to the pet bar? Or am I missing something here?
Haleth is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 04:48 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 191
Uploads: 0
I haven't changed font from the default so that threw me off. But you're right, the font did not support it. So after a bit of digging, I found out that the default font for actionbars is ARIALN and as far as I can tell is the only one supporting the dot thing. Anyway, to solve it, replaced line 74 with

ho:SetFont("Fonts\\ARIALN.TTF", 20, "OUTLINE")

Looks uglier but works fine. Will leave it up here in case anyone else runs into same problem.
Last edited by zohar101 : 08-04-10 at 05:01 PM.
zohar101 is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 05:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3373
Uploads: 89
The ? is the range indicator which is normaly a UTF-8 fontstring. Either your font does not support the dot icon or it's a UTF-8 issue.
__________________
| 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 : 08-04-10 at 05:47 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 08-02-10, 04:38 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 191
Uploads: 0
I have a bit of an issue. When I set local hide_hotkey = 0
if I don't have the key bound to anything (or at least anything within the wow keybinds, I do my binds from within vuhdo), it will show the ? as soon as I have something targetted. Like this:



edit: Hm well ok I figured out how to not have it show up at all if it's not bound, but by default, if there is no keybind it should show a little dot. How to get this to show up instead of the ?
Also ? is strangely offset to the right for some reason.
Or is this a font problem? Star (*) that's included with most fonts would do though I'm not sure how to set it as default, if no keybind.
Last edited by zohar101 : 08-03-10 at 02:07 AM.
zohar101 is offline Report comment to moderator  
Reply With Quote
Unread 07-22-10, 09:55 PM  
mlbeastie
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
hmm..

i cant see my bar, how do i get it to appear and how do i change it's size??
mlbeastie is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 08:24 AM  
krowbar71
A Kobold Labourer

Forum posts: 1
File comments: 6
Uploads: 0
Re: Re: Error with totem bar

Ahh, ok -- it is kind of what I thought it was. It was getting late here when I posted and didn't try reverting your totem bar change in rActionBarStyler (yet).
krowbar71 is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 02:21 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3373
Uploads: 89
Re: Error with totem bar

This is an rActionBarStyler issue since I added the shaman totem bar on suggestion. The bad thing is...this does not work properly. So, whoever told me it works...it does not, atleast not in combat.

I will revert the totem bar change since I have no shaman testing this is impossible...I really need to remember myself to get a shaman on PTR.
__________________
| 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 : 07-13-10 at 02:22 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 07-13-10, 12:42 AM  
krowbar71
A Kobold Labourer

Forum posts: 1
File comments: 6
Uploads: 0
Error with totem bar

On a shaman these errors keep appearing:

rActionButtonStyler attempted to call a protected function (MultiCastActionButton2:Show()) during combat lockdown.

Repeats for a few of the MultiCastActionButtons (2,4,6,9 and 10 only I think)
The older version still works fine.
krowbar71 is offline Report comment to moderator  
Reply With Quote
Unread 07-12-10, 04:46 AM  
Rhave
A Murloc Raider

Forum posts: 7
File comments: 22
Uploads: 0
I cant seem to make item equips have a different icon texture. I understand gloss_grey is the texture for equipped, but it seems no matter what different texture I change it to, my equiped items still look the same. I tried changing RGB numbers and nothing changes either. Any tips?
Rhave is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 06:05 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3373
Uploads: 89
Re: PLEASE PLEASE

FAQ. Take a look at rActionBarStyler info page aswell.

I'm currently testing a new version that is compatible to tullaRange. Reason: Reducing the the CPU usage.
__________________
| 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 : 07-03-10 at 06:07 AM.
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: