Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(24 Kb)
Download
Updated: 09-16-13 04:44 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-16-13 04:44 AM
Created:12-27-08 08:46 PM
Downloads:67,507
Favorites:310
MD5:
rActionButtonStyler  Popular! (More than 5000 hits)
Version: 50400.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
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 (18)
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
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 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 (21)
File Name
Version
Size
Author
Date
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 10-14-10, 02:45 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 15
Uploads: 5
Re: Re: 4.0.1 combatibilty fix

Originally posted by JackOnTheMap
Added but all it did was get rid of the borders entirely. Guess I'll wait for Zork to upload a new version.
Yeah, not sure what to tell you - added that line in both my slightly modded version of rABuS and in a fresh copy of the latest version, and it fixes both. If you've made any modifications that put the NormalTexture on a lower strata/drawlevel than the rest of the button, that might be what's causing them to disappear. Try changing the nt:SetHeight() and nt:SetWidth() calls to nt:SetHeight(bu:GetHeight() + 10) and nt:SetWidth(bu:GetWidth() + 10), and see if that changes anything.
columnFive is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 09:47 AM  
JackOnTheMap
A Murloc Raider

Forum posts: 8
File comments: 129
Uploads: 0
Re: 4.0.1 combatibilty fix

Originally posted by columnFive
If anyone else is having a post-patch issue with rActionButtonStyler making ActionButton borders way too big for their buttons, the following fix worked for me:

Before line 90, add:
Code:
nt:ClearAllPoints()
Apparently ActionBarTemplate.xml now sets TOPLEFT/BOTTOMRIGHT points for each button's NormalTexture element, which need to be cleared in order for the addon's method of setting border size to work.

As far as I can tell, Shapeshift/Pet/Totem bar frames are not affected.
Added but all it did was get rid of the borders entirely. Guess I'll wait for Zork to upload a new version.
JackOnTheMap is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 09:58 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 15
Uploads: 5
Originally posted by Dhaern
Is there any posibilty to show macro's text in buttons on bars or plans for implement this feature? Thx for all
Macro text is hidden by default, if I'm not mistaken - you can change this by opening rActionButtonStyler.lua and either deleting or commenting out line 107 (add "--" before it).
columnFive is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 07:53 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 61
Uploads: 0
Is there any posibilty to show macro's text in buttons on bars or plans for implement this feature? Thx for all
Last edited by Dhaern : 10-13-10 at 07:54 PM.
Dhaern is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 12:21 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1364
File comments: 3273
Uploads: 86
Re: 4.0.1 combatibilty fix

I have already a running version. Gonna upload it tonight.
__________________
| 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-12-10, 06:53 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 15
Uploads: 5
4.0.1 combatibilty fix

If anyone else is having a post-patch issue with rActionButtonStyler making ActionButton borders way too big for their buttons, the following fix worked for me:

Before line 90, add:
Code:
nt:ClearAllPoints()
Apparently ActionBarTemplate.xml now sets TOPLEFT/BOTTOMRIGHT points for each button's NormalTexture element, which need to be cleared in order for the addon's method of setting border size to work.

As far as I can tell, Shapeshift/Pet/Totem bar frames are not affected.
columnFive is offline Report comment to moderator  
Reply With Quote
Unread 09-29-10, 05:35 AM  
Ereki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 63
Uploads: 3
Originally posted by zork
Make a screenshot. No clue. Which server? Cata, PTR, Live? Version?
It's on live, it's not a bug or anything like that when you're on a mount the button should get highlighted, but it just doesn't fit in with the rest of my UI so I'd just like to tone it down a bit.
http://imgur.com/R3xIl.png Mounted button to the left and unmounted to the right. I'm using pHishr Smart Name Skin if that matters in any way.
Edit:
And I'm using the lastest version of rActionButtonStyler
Last edited by Ereki : 09-29-10 at 06:42 AM.
Ereki is offline Report comment to moderator  
Reply With Quote
Unread 09-29-10, 01:22 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1364
File comments: 3273
Uploads: 86
Make a screenshot. No clue. Which server? Cata, PTR, Live? Version?
__________________
| 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 09-28-10, 06:09 PM  
Ereki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 63
Uploads: 3
Hey, I'm trying to configure a skin I downloaded but I can't get my head around one thing, which texture is used for buttons with things like mounts on them. When I'm mounted I get an overlay texture but I can't figure out which one of the texture it is.
Ereki is offline Report comment to moderator  
Reply With Quote
Unread 08-20-10, 02:39 AM  
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 99
File comments: 313
Uploads: 4
btw thanks for the addon, finally something to style buttons without the cpu cycles from facade
__________________
Sideshow is offline Report comment to moderator  
Reply With Quote
Unread 08-19-10, 11:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1364
File comments: 3273
Uploads: 86
Re: Re: Re: Re: Dominos bug

Ah, gonna add that. So the buttons in Dominos have no holder frame on their own, thats why they bug out.
__________________
| 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 08-19-10, 08:55 AM  
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 99
File comments: 313
Uploads: 4
Re: Re: Re: Dominos bug

fix:

if not self.rabsstyle and self:GetParent():GetName() ~= "MultiCastActionBarFrame" ..................


should be

if not self.rabsstyle and self:GetParent() and self:GetParent():GetName() ~= "MultiCastActionBarFrame" ..................


well it's not a fix really, just a workaround, no idea what the line does
__________________
Sideshow is offline Report comment to moderator  
Reply With Quote
Unread 08-16-10, 06:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1364
File comments: 3273
Uploads: 86
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 online now 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: 227
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
Post A Reply



Category Jump: