| Tested: | Hour of Twilight 4.3 |
| Updated: | 02-16-12 02:14 PM |
| Created: | 12-27-08 07:46 PM |
| Downloads: | 56,133 |
| Favorites: | 298 |
| MD5: |

Small mod to add style to actionbuttons.Preview
Supports DOMINOS and BARTENDER4!
If you like rActionBarStyler and rActionButtonStyler you may like: rBuffFrameStyler
You can replace the default button textures with different ones. To do that download one of the following addons and extract the images into your media folder.Config
Show available styles
- Settings can be adjusted by editing the config.luaSVN
- There are settings for textures, colors, hotkeys, macronames, itemcount, cooldowns and so on.
lua Code:
cfg.textures = { normal = "Interface\\AddOns\\rActionButtonStyler\\media\\gloss", flash = "Interface\\AddOns\\rActionButtonStyler\\media\\flash", hover = "Interface\\AddOns\\rActionButtonStyler\\media\\hover", pushed = "Interface\\AddOns\\rActionButtonStyler\\media\\pushed", checked = "Interface\\AddOns\\rActionButtonStyler\\media\\checked", equipped = "Interface\\AddOns\\rActionButtonStyler\\media\\gloss_grey", buttonback = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background", buttonbackflat = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background_flat", outer_shadow = "Interface\\AddOns\\rActionButtonStyler\\media\\outer_shadow", } cfg.background = { showbg = true, --show an background image? showshadow = true, --show an outer shadow? useflatbackground = false, --true uses plain flat color instead backgroundcolor = { r = 0.3, g = 0.3, b = 0.3, a = 0.7}, shadowcolor = { r = 0, g = 0, b = 0, a = 0.9}, classcolored = false, inset = 5, } cfg.color = { normal = { r = 0.37, g = 0.3, b = 0.3, }, equipped = { r = 0.1, g = 0.5, b = 0.1, }, classcolored = false, } cfg.hotkeys = { show = false, fontsize = 12, pos1 = { a1 = "TOPRIGHT", x = 0, y = 0 }, pos2 = { a1 = "TOPLEFT", x = 0, y = 0 }, --important! two points are needed to make the hotkeyname be inside of the button } cfg.macroname = { show = false, fontsize = 12, pos1 = { a1 = "BOTTOMLEFT", x = 0, y = 0 }, pos2 = { a1 = "BOTTOMRIGHT", x = 0, y = 0 }, --important! two points are needed to make the macroname be inside of the button } cfg.itemcount = { show = true, fontsize = 12, pos1 = { a1 = "BOTTOMRIGHT", x = 0, y = 0 }, } cfg.cooldown = { spacing = 0, } cfg.font = "Fonts\\FRIZQT__.TTF"
http://code.google.com/p/rothui/sour...onButtonStyler
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 |
||
1.5 |
28kB |
05-24-09 06:32 AM |
Addon |
||
1.5 |
27kB |
05-24-09 06:29 AM |
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 |
File Name |
Version |
Size |
Author |
Date |
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 |
![]() |
Comment Options |
|
|
||
|
Add the function call to the updateHotkey function. Basically do this:
Lua Code:
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. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
Last edited by zork : 04-29-12 at 11:33 AM.
|
||
|
|
|
|
||
|
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. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
|
||
|
|
|
|
|
|
A Deviate Faerie Dragon
Forum posts: 18
File comments: 61
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? |
|
|
|
|
||
|
__________________
| Simple is beautiful. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
|
||
|
|
|
|
||
|
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. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
Last edited by zork : 02-17-12 at 01:12 AM.
|
||
|
|
|
|
||
|
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. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
|
||
|
|
|
|
||
|
Well that was fast.
![]() Maybe i can finally style Bartender buttons? I guess no but who knows.
__________________
| Simple is beautiful. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
Last edited by zork : 02-16-12 at 07:47 AM.
|
||
|
|
|
|
|
|
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 |
|
|
|
|
||
|
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. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
|
||
|
|
|
|
||
|
Added a new style function for the ExtraActionButton1.
Result: Function: http://code.google.com/p/rothui/sour...vn796&r=796#86
__________________
| Simple is beautiful. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
Last edited by zork : 01-20-12 at 11:56 AM.
|
||
|
|
|
|
||
|
A Deviate Faerie Dragon
Forum posts: 17
File comments: 196
Uploads: 0
|
![]() |
|
|
|
|
|
|
|
Hey zork,
Not sure if this is intentional, but this won't restyle the ExtraActionButton . The regular function doesn't work if you add it, too, because that the button doesn't appear to have a NormalTexture. It works fine if you make an exception for it (not sure about taint though).
Last edited by Haleth : 12-05-11 at 02:43 AM.
|
|
|
|
|
|
|||
__________________
| Simple is beautiful. | Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de
Last edited by zork : 12-05-11 at 12:20 AM.
|
|||
|
|
![]() |