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,273
Favorites:314
MD5:
5.4
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 06-03-10, 05:11 AM  
Toodels
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 6
Uploads: 1
Buffs

An addon which does exactly the same just for Buffs would be awesome to finally get rid of buttonfacade
Toodels is offline Report comment to moderator  
Reply With Quote
Unread 05-17-10, 11:16 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Get yourself a text editor (Notepad++ f.e.) and open rActionButtonStyler.lua

Go to line 76
Code:
local function rActionButtonStyler_AB_style(self)
In this function I'm rewriting alot of the default button stuff. Just remove everything but
Code:
  local function rActionButtonStyler_AB_style(self)
  
    local action = self.action
    local name = self:GetName()
    local bu  = _G[name]
    bu:SetPushedTexture(rb2_pushed_texture)
end
Final step is to go to the bottom area where the function calls are. Remove everything but
Code:
hooksecurefunc("ActionButton_Update",   rActionButtonStyler_AB_style)
You can define any texture you want in the variable used for SetPusedTexture().

http://code.google.com/p/rothui/sour...ttonStyler.lua
__________________
| 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 : 05-17-10 at 11:18 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 05-17-10, 10:57 AM  
Phewx2
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 63
Uploads: 2
I hope you can help me. I only wanted to change the pushed texture for my blizzard default buttons and not the frame of the buttons etc.

Can you tell me how to change the .lua for this?
Phewx2 is offline Report comment to moderator  
Reply With Quote
Unread 05-13-10, 12:27 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
this mod is not bartender compatible. dominos works though.
__________________
| 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 05-13-10, 02:14 AM  
jizzle1
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello, Im not really familiar with LUA files so I figured I would post this on here to see if I could get some assistance. I love this addon btw so far only having one problem. There are some red bars hovering over each of my bars making me not able to see my buttons, The addon I am using is bartender now I know i have read that this addon works great with dominos. if I need to I will switch to dominos but for now maybe I just need to do somethign as simple as change something in the LUA file but not sure what I need to change. Posting screen shot i took. I am in the middle of redoing my UI so it looks pretty bad right now. thanks in advance.


EDIT: Went ahead and tried it out with dominos and it works much much better. sorry hehe, I should of tried that one first!


Last edited by jizzle1 : 05-13-10 at 02:25 AM.
jizzle1 is offline Report comment to moderator  
Reply With Quote
Unread 04-02-10, 12:16 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 192
Uploads: 0
Ok been trying to muck with the code to set red range back to default showing on text only but I break something in the process as the text colors red but the color doesn't reset. Could you please just point me to stuff I need to edit out/change so I have the simple range/mana text coloring instead of the whole button? Thanks for a great addon.
Last edited by zohar101 : 04-02-10 at 01:27 PM.
zohar101 is offline Report comment to moderator  
Reply With Quote
Unread 03-19-10, 08:27 PM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar

Forum posts: 142
File comments: 430
Uploads: 0
Hey Zork. Tried this with dominos and can't seem to keep the macro text on the buttons. This seems to be handled by dominos, which I have that option checked. It shows, but if I reload or flip bars, it goes away.

Edit: Figured it out. Solution a couple pages in this thread. However, the buttons are not coloring correctly for me. They start off tinted very white then as I use the buttons or swap bars, they color correctly. No idea what's going on.
Last edited by Toran : 03-28-10 at 02:16 PM.
Toran is offline Report comment to moderator  
Reply With Quote
Unread 03-14-10, 12:43 AM  
Lùinwë
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Hi,
For a better view on my UI, I modified the line 90 :
Code:
nt:SetHeight(bu:GetHeight()+4)
nt:SetWidth(bu:GetWidth()+4)
and the line 110 :
Code:
ic:SetPoint("TOPLEFT", bu, "TOPLEFT")
ic:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT")
The problem is that the modification only is applied on my normal border, checked and pushed borders still smaller. Is there a way to apply the same thing to them ? Thanks
Last edited by Lùinwë : 03-14-10 at 05:04 AM.
Lùinwë is offline Report comment to moderator  
Reply With Quote
Unread 03-07-10, 05:54 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
@silvanaa
The rActionBarStyler package contains textures that must be installed. The addon alone is not enough. I rewrite Blizzard textures with transparent ones.

@Meebsy
Thanks for reporting. Blizzard introduced http://www.wowwiki.com/API_securecall so stuff needs to be changed to make it work.

In rActionButtonStyler.lua change
Code:
ActionButton_OnUpdate = rActionButtonStyler_AB_onupdate
to
Code:
--ActionButton_OnUpdate = rActionButtonStyler_AB_onupdate
  hooksecurefunc("ActionButton_OnUpdate",   rActionButtonStyler_AB_onupdate)
For rBuff...Just open rBuff.lua and delete the lines containing BUFF_FLASH_TIME_ON, BUFF_MIN_ALPHA etc.
__________________
| 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 : 03-07-10 at 06:02 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 03-07-10, 12:48 AM  
Silvanaa
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 3
Im having an issue with the standard blizzard pet bar background still being present when i use ractionbuttonstyler/ractionbarstyler: http://img52.imageshack.us/img52/957...0710014320.jpg
Silvanaa is offline Report comment to moderator  
Reply With Quote
Unread 03-06-10, 06:57 PM  
Meebsy
A Murloc Raider
 
Meebsy's Avatar

Forum posts: 5
File comments: 54
Uploads: 0
Taint Logging

Recently I've had trouble with rActionBarStyler not paging the action bars properly during events where I'm in a vehicle or possession so I decided to do some taint logging to see if I could find a possible solution.
Running the normal "/console taintLog 1" didn't find anything except taint in PicoFriends, so I decide to run a full taint log with "/console taintLog 2" and it brought up the following.

Code:
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton1:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton2:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton3:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton4:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton5:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton6:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton7:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton8:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton9:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton10:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton11:OnUpdate()
3/7 10:48:22.447  Execution tainted by rActionButtonStyler while reading ActionButton_OnUpdate - ActionButton12:OnUpdate()
This happened for every single button of every single action bar over and over again.
I also noticed the following taint as well.
Code:
3/7 10:48:22.447  Execution tainted by rBuff while reading BUFF_FLASH_TIME_ON - Interface\FrameXML\BuffFrame.lua:73
3/7 10:48:22.447  Execution tainted by rBuff while reading BUFF_FLASH_TIME_ON - Interface\FrameXML\BuffFrame.lua:73
3/7 10:48:22.447  Execution tainted by rBuff while reading BUFF_MIN_ALPHA - Interface\FrameXML\BuffFrame.lua:77
3/7 10:48:22.447  Execution tainted by rBuff while reading BUFF_MIN_ALPHA - Interface\FrameXML\BuffFrame.lua:77
3/7 10:48:22.447  Execution tainted by rBuff while reading SecondsToTimeAbbrev - Interface\FrameXML\BuffFrame.lua:255
3/7 10:48:22.447      securecall()
3/7 10:48:22.447      Interface\FrameXML\BuffFrame.lua:241
I'm not sure how these would effect the paging of the action bars.
Btw I'm not using the default skinning you gave it, I'm currently using http://www.wowinterface.com/download...tNameSkin.html

I only used "/console taintLog 2" for 1 second and it made a ~3mg log file of the above taint repeating over and over again.

EDIT: I just reset rActionButtonStyler back to it's default skinning and it is still producing the same taint.
__________________
Last edited by Meebsy : 03-06-10 at 07:05 PM.
Meebsy is offline Report comment to moderator  
Reply With Quote
Unread 02-21-10, 08:26 AM  
Rainrider
A Rage Talon Dragon Guard

Forum posts: 316
File comments: 91
Uploads: 0
Hey cool, herzlichen Dank, ich werde Deine Tipps befolgen. War auch auf dem richtigen Weg mit dem FrameXML Browser. Werde dann meine Fragen in den von Dir vorgeschlagenen Foren stellen.

Vielen Dank noch mal
Rain
Rainrider is offline Report comment to moderator  
Reply With Quote
Unread 02-21-10, 05:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Wenn du dich dafür interessiert, melde dich mal hier http://ui.phcnet.de/index.php und http://www.buffed.de/forum/index.php...n-wow-add-ons/ an. Da gibts viele Leute die dir weiterhelfen auf Deutsch.

Du musst dir zuerst einmal angucken welches Template Blizzard für die Buttons verwendet. Dazu gibts bei wowprogramming einen Blizzard xml/lua Browser: http://wowprogramming.com/utils/xmlbrowser

http://wowprogramming.com/utils/xmlb...onBarFrame.lua

Da gibts genug Funktionen Funktionen die du hooken könntest. Such vorallem ob dort irgendwo Textren gesetzt werden. (normalTexture)
__________________
| 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 02-20-10, 11:05 AM  
Rainrider
A Rage Talon Dragon Guard

Forum posts: 316
File comments: 91
Uploads: 0
Ich erlaube mir dann auch auf Deutsch zu schreiben. Danke für den Hinweis, leider hilft er mir nicht weiter, da I.am.Weasl einfach nur den Behälter des Totembars bewegt. Zum Stylen brauchen wir aber die Buttons selbst. Außerdem braucht man hooksecurefunc um Änderungen abzufangen, was anscheinend in rActionBatStyler nicht nötig ist. Ich bräuchte lediglich einen Tipp welche Blizzfunktion ich anhaken sollte. Tut mir leid, ich weiß das ist kein Lernforum, wäre trotzdem für Hilfe sehr dankbar.

Grüße
Rain
Rainrider is offline Report comment to moderator  
Reply With Quote
Unread 02-20-10, 09:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Check rActionBarStyler comments. Someone posted a solution 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)
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: