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 07:46 PM
Downloads:66,818
Favorites:315
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 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 (21)
File Name
Version
Size
Author
Date
50200.01
24kB
zork
03-04-13 04:37 PM
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 09-24-12, 01:50 AM  
Wakez
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Does this mean Dominos and Bartender are once again supported?
Front page for the addon states otherwise.
Last edited by Wakez : 09-24-12 at 01:51 AM.
Wakez is offline Report comment to moderator  
Reply With Quote
Old 09-21-12, 02:20 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
Beta is over. rActionButtonStyler got updated for MoP. Have fun.
__________________
| 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
Old 09-07-12, 01:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
The support for Dominos is temporarily removed in rActionButtonStyler (MoP Beta). Once MoP arrives it will be included again. Thus some bars are unskinned.
__________________
| 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 : 09-07-12 at 01:10 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 09-06-12, 05:54 PM  
Ereki
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 63
Uploads: 3
I don't know if I'm just really stupid but I can't for the love of god make it skin all my bars (I use Dominos) I get 1, 3, 4, 5 an 6 skinned. But not 2, 7, 8, 9 and 10 I just can't see what's wrong I feel like I've tried everything except going into the core files to check there...
http://i.imgur.com/gEw92.jpg There's a screenshot of some of the unskinned and skinned bars
Ereki is offline Report comment to moderator  
Reply With Quote
Old 04-29-12, 11:32 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
Add the function call to the updateHotkey function. Basically do this:
Lua Code:
  1. local function updateName(self, actionButtonType)
  2.     local replace = string.gsub
  3.     local ho = _G[self:GetName() .. "HotKey"]
  4.     local key = ho:GetText()
  5.     key = replace(key, '(s%-)', 'S')
  6.     key = replace(key, '(a%-)', 'A')
  7.     key = replace(key, '(c%-)', 'C')
  8.     key = replace(key, '(Mouse Button )', 'M')
  9.     key = replace(key, '(Middle Mouse)', 'M3')
  10.     key = replace(key, '(Mouse Wheel Down)', 'MWD')
  11.     key = replace(key, '(Mouse Wheel Up)', 'MWU')
  12.     key = replace(key, '(Num Pad )', 'N')
  13.     key = replace(key, '(Page Up)', 'PU')
  14.     key = replace(key, '(Page Down)', 'PD')
  15.     key = replace(key, '(Spacebar)', 'SpB')
  16.     key = replace(key, '(Insert)', 'Ins')
  17.     key = replace(key, '(Home)', 'Hm')
  18.     key = replace(key, '(Delete)', 'Del')
  19.     if ho:GetText() == _G['RANGE_INDICATOR'] then
  20.         ho:SetText('')
  21.     else
  22.         ho:SetText(key)
  23.     end
  24.   end
  25.  
  26.   --update hotkey func
  27.   local function updateHotkey(self, actionButtonType)
  28.     local ho = _G[self:GetName() .. "HotKey"]
  29.     if ho and not cfg.hotkeys.show then
  30.       ho:Hide()
  31.     else
  32.        updateName(self, actionButtonType)
  33.     end
  34.   end

You add your function on top of the updateHotkey function and inside the updateHokey function you call the updateName function.
http://code.google.com/p/rothui/sour...r/core.lua#239
__________________
| 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 : 04-29-12 at 11:33 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 04-29-12, 12:59 AM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 61
Uploads: 0
Hi Zork, if I want implement this function for keybindings shortcuts:

Code:
  
  local function updateName(self, actionButtonType)
	local replace = string.gsub
	local ho = _G[self:GetName() .. "HotKey"]
	local key = ho: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 ho:GetText() == _G['RANGE_INDICATOR'] then
		ho:SetText('')
	else
		ho:SetText(key)
	end
  end
Where/How call this function? I need help plz. Thx for all.
Last edited by Dhaern : 04-29-12 at 12:59 AM.
Dhaern is offline Report comment to moderator  
Reply With Quote
Old 04-19-12, 02:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
What actionbar mod are you using? If you are using rActionBarStyler make sure you have the latesr versions of rActionBarStyler and rActionButtonStyler there were some improvements.
__________________
| 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
Old 04-18-12, 09:16 PM  
linguini
A Deviate Faerie Dragon

Forum posts: 18
File comments: 72
Uploads: 0
my extra action button is a bit messed up

http://i.imgur.com/hpk5t.png

is there anyway to get back the background texture? or maybe fix the frame or something?
linguini is offline Report comment to moderator  
Reply With Quote
Old 02-16-12, 02:15 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
Upload incoming.

__________________
| 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
Old 02-16-12, 01:31 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
I did it. I found a way to hack Bartender4 icon styling.

The fixing code snippet is:
Code:
    if bartender4 then --fix the normaltexture
      nt:SetTexCoord(0,1,0,1)
      nt.SetTexCoord = function() return end
      bu.SetNormalTexture = function() return end
    end


Works for all actionbuttons and stance buttons.

Pet buttons are scary ... a lot of hacked code in Bartender4->petbutton.lua. In fact the default NormalTexture is disabled and replaced by another texture. So no pet bar skinning for Bartender4, but stance and actionbutton skinning works perfect.

Dominos has pet and actionbar skinng but no stancebar. That is because the stancebar of Dominos is using no NormalTexture.

Hmm pretty happy with the outcome actually.

The good thing on the new styling is that it is only called once at loadup. Thus it requires a reload if you pop new bars that was not available at load. Small price to pay imo. Since I could remove all the ActionButtonUpdate hooks (which fire alot) in combat.
__________________
| 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 : 02-17-12 at 01:12 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 02-16-12, 11:00 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
No. To skin Bartender I have to call the skin function with the Bartender button name. I'm not doing that atm. We will see, gonna test some stuff now.
__________________
| 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
Old 02-16-12, 08:30 AM  
ronconsoda
A Defias Bandit

Forum posts: 3
File comments: 8
Uploads: 0
Originally Posted by zork
Well that was fast.

Maybe i can finally style Bartender buttons? I guess no but who knows.
did a quick check with bartender4. Nowadays you skin about half of it. But bartender still does to much its own skinning. Therefore nope it does not work
ronconsoda is offline Report comment to moderator  
Reply With Quote
Old 02-16-12, 07:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
Well that was fast.

Maybe i can finally style Bartender buttons? I guess no but who knows.
__________________
| 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 : 02-16-12 at 07:47 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 02-16-12, 07:26 AM  
ronconsoda
A Defias Bandit

Forum posts: 3
File comments: 8
Uploads: 0
To all those Dominos users who want to keep using this addon add the following to the init() function:

Code:
	for i = 1, 60 do
		local bu = _G["DominosActionButton"..i]
		if bu then
			styleActionButton(bu)
		end
	end
ronconsoda is offline Report comment to moderator  
Reply With Quote
Old 02-16-12, 02:02 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1311
File comments: 3289
Uploads: 84
The update from yesterday is quite a rewrite on how the style functions get called. I know some of you use this mod together with Dominos.
This may not work anymore with the latest version because I removed most of the ActionButtonTemplate hooks.

Gonna look into 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)
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: