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,394
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 11-17-14, 09:14 AM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Originally Posted by zork
After all this years. Are you sure you have not memorized those shortcuts already?
Yeah but I like to see shortcuts always for alts and abilities changes/removal as 6.0

then can't you help me with this code works when reload UI too??

My core.lua:
http://pastebin.com/dY7hvQ62
Last edited by Dhaern : 11-17-14 at 09:54 AM.
Dhaern is offline Report comment to moderator  
Reply With Quote
Unread 11-17-14, 02:24 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3370
Uploads: 89
After all this years. Are you sure you have not memorized those shortcuts already?
__________________
| 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 11-17-14, 12:40 AM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Hi zork, I'm using this code for num pad 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
Code:
hooksecurefunc("ActionButton_UpdateHotkeys", updateName)
It's working when i login into game but when I reload UI shortcuts dont work until I exit game/login again. Why I have this problem now in 6.0?? Can you help me to work this code when I reload UI?? Thx
Dhaern is offline Report comment to moderator  
Reply With Quote
Unread 06-28-14, 02:20 AM  
Sylen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 43
Uploads: 3
Everytime i use this addon, it seems to zoom the buttons after skinning. No idea why.
Sylen is offline Report comment to moderator  
Reply With Quote
Unread 05-27-14, 05:56 PM  
Turulo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
In case anyone wants to use this styler with the ButtonTimers addon you can use this tweak:

In core.lua in the init() function:

Code:
--ButtonTimers styling
if IsAddOnLoaded("ButtonTimers") then
   for n = 1, 4 do
      for i = 1, 12 do
         styleActionButton(_G["ABTWidbar"..n.."button"..i.."Button"])
      end 
   end
end
Last edited by Turulo : 05-27-14 at 05:57 PM.
Turulo is offline Report comment to moderator  
Reply With Quote
Unread 12-26-13, 11:18 AM  
Solvexx
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 43
Uploads: 2
It looks like the original default UI border is present
no matter which skin I use - Any ideas?
Solvexx is offline Report comment to moderator  
Reply With Quote
Unread 10-21-13, 06:18 PM  
Jansus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 69
Uploads: 1
Originally Posted by zork
That is because the config files of that plugin are outdated. Copy the textures in and edit the config manually.
I know how to edit the config, but I'm not sure exactly what to edit. Took a chance and removed the media the skin didn't have.
Code:
    buttonback        = "",
    buttonbackflat    = "",
    outer_shadow      = "",
Is this what you meant?
Jansus is offline Report comment to moderator  
Reply With Quote
Unread 10-21-13, 01:20 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3370
Uploads: 89
That is because the config files of that plugin are outdated. Copy the textures in and edit the config manually.
__________________
| 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 : 10-21-13 at 01:20 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-21-13, 09:11 AM  
Jansus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 69
Uploads: 1
I'm using http://www.wowinterface.com/download...Slim.html#info and the default skin shows until I reload UI.
Jansus is offline Report comment to moderator  
Reply With Quote
Unread 01-27-13, 05:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3370
Uploads: 89
Yeah...that is because in rActionButtonStyler/core/core.lua line the icon padding is hardcoded. (Line 162).
Plus the apply background function (Line 54) has another hardcoded value. I rewrote rBuffFrameStyler lately with the latest standards, I probably should do that to the button-styler too.

Gonna put that on my list for 5.2.

The counterpoint of that is that I would to change the config of rActionButtonStyler why may distract some users.

If you want to fix it:
  • Change the outer_shadow texture (which is the edge file) to your white8x8.
  • Change the hardcoded padding values in background and icon to 1.
  • Set the normal texture to an empty (transparent) texture. By default the normal texture is a border that interacts with actionbutton conditions (push-state, hover 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 : 01-27-13 at 05:22 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 01-27-13, 03:03 AM  
Jeremypwnz
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 16
Uploads: 1
How would I add a 1 px border to the action buttons? I found it relatively easy with your rBuffFrameStyler as I just changed lines 47-53 to:

Code:
background = {
      show              = true,   --show backdrop
      edgeFile          = "Interface\\Buttons\\WHITE8x8",
      color             = { r = 0, g = 0, b = 0, a = 1},
      classcolored      = false,
      inset             = 1,
      padding           = -1,
But I cannot for the life of me figure it out with this addon.
Jeremypwnz is offline Report comment to moderator  
Reply With Quote
Unread 01-04-13, 10:14 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3370
Uploads: 89
Originally Posted by Acidlollypop
How to change the frame framework? How to make a button as the screenshot number 2?
http://www.wowinterface.com/downloads/info12283.html

Get the textures from that addon and replace the ones in the download.
__________________
| 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 01-04-13, 11:45 AM  
eljumbo
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Originally Posted by zork
What actionbar addon are you using?
rActionBarStyler
eljumbo is offline Report comment to moderator  
Reply With Quote
Unread 01-04-13, 09:04 AM  
Acidlollypop
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
How to change the frame framework? How to make a button as the screenshot number 2?
Acidlollypop is offline Report comment to moderator  
Reply With Quote
Unread 01-03-13, 04:56 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3370
Uploads: 89
What actionbar addon are you using?
__________________
| 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: