Download
(20 Kb)
Download
Updated: 09-08-13 08:45 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-08-13 08:45 AM
Created:01-09-09 09:43 PM
Downloads:96,430
Favorites:290
MD5:
5.4
rActionBarStyler  Popular! (More than 5000 hits)
Version: 50400.01
by: zork [More]

Intro
This is an actionbar mod. It uses the default Blizzard actionbars and adds some functionality and styling on top. This mod does moving/scaling/fading only. No graphical adjustments are made. (Use rActionButtonStyler for that)
What's new
- new core
- mouseover fading
- combat fading
- new drag function
- bar4 and bar5 can be combined to act as one on mouseover
- added the override bar
- added the possess bar
- added rLib

Install
The zip-file contains two folders. rLib and rActionBarStyler. Put both in your AddOns folder.
More actionbars
You can show/hide additional actionbars directly in the your interface settings.
Slash commands
Code:
/rabs
/rabs unlock
/rabs lock
/rabs reset

Config
Bars can be adjusted by editing the config.lua. Character specific adjustments can be added to the charspecific.lua.
SVN
http://code.google.com/p/rothui/sour...ctionBarStyler


50400.01
- updated toc for patch 5.4
- small code tweaks
- added the new MicroMenuButtons

50200.01
- updated for patch 5.2

50100.01
- updated for patch 5.1

50001.08a
- added rLib (Ups!)

50001.08
- fixing the rActionBarStyler possessbar vehicle change bug

50001.07
- added the overridebar macro condition to all bars

50001.06
- added petbattle macro condition to the bar display

50001.05
- Fixed a bug that when hovering the SpellFlyout frame on a bar that has mouseover enabled the bar would fade. Now the bar keeps the fadein alpha as long as the spellflyout frame is hovered aswell.

50001.04
- Added rCombatFader to rLib
- Added combat fading functionality to bar1,2,3,4,5, petbar, stancebar and overridebar
- Warning: Don't mix mouseover and combat fader. Pick one. If you just want to hide the bar OOC just add "[nocombat] hide;" to code of the bar that you want to be changed Like: RegisterStateDriver(frame, "visibility", "[nocombat] hide;[vehicleui] hide;show")

50001.03
- Added a show attribute to: bags, micromenu, petbar and stancebar. Thus making it possible to hide those frames without disabling the module itself.
- Note: Actionbars can be shown/hidden directly in your interface settings.

50001.02
- Fixed the BonusActionBarFrame bug
- Added a vehicle exit button for when you are in a vehicle but have no vehicle ui. (if that makes sense? need a test scenario for that one)
- Adjusted the OverrideBar to simulate 12 buttons to bring it more in line with actionbar1.

50001.01
- initial release for MoP

40300.06
- removed tainting extraActionButton code
- removed extraActionButton styling (part of the buttonstyler now)

40300.05
- Form switches for warlocks and rogues now _always_ spawn a new bar. Just put buttons in that bar.
- Added code snippets from Improved totem frame by Phanx to display totem timer and destroyer. (Shift-rightclick will destroy totem)

40300.04
- extraActionButton should be workin now

40300.03
- another try on the extra action button

40300.02
- fix the mainmenubar hide (make it secure)
- new try on the extraactionbutton

40300.01
- patch 4.3 fixes

4.008
- patch 4.2 fixes
- removed key function calls (no more keys in patch 4.2)
- added all new icons to the micro menu

4.007
- toc updated for patch 4.1

4.006
- WoW patch 4.0.6 fixes (actionbars disapearing for warriors etc.)
- Talent switch keybind problem may be fixed aswell

4.005
- fixed micro menu bar bug after talent spec
- added slash command to make frames movable/lockable while ingame

4.004
- better way of making the mainmenubar not appear after talent switch
- fixing the talent button display after "playe_entering_world" event

4.003
- fixed mainmenubar showing after talent spec change

4.002
- fixed rogue shapeshift placement
- fixed currency display
- fixed rogue and warlock barswitch when metharmorphed of in shadowdance

4.001
- COMPLETE REWRITE for Cataclysm

100812
- final totembar fix

100808
- totembar again (issue was fault of rActionButtonStyler, not BarStyler...sry)

100801
- added transparent textures again
- removed totembar (tainting issues)

100710
- added totembar

007
- patch 3.3 fixes

006
- new drag with ALT+SHIFT

005-2
- you can now hide the shapeshift or the petbar if you want
- readded my transparent textures to overwrite the Blizzard Pet and Shapeshiftbar background textures

005
- updated for 3.1
- some changes to the default values

004-6
- button layout 1x12 is default
- bar moving changed, now you need to hold down SHIFT+right click mouse

004-5
- added arg1 = "player" to the vehicle exit button events

004-3
- option to hide bags and micro menu
- possessbar now anchors the fshift frame
- created a own vehicle exit button
- fix for shapeshiftbutton1 position with only one shape (hooksecure)

004-2
- one function for all the movable stuff
- frame position table for all the default holder positons
- bars can now be locked

004
- complete rewrite
- bars can now be moved INGAME (omg?!), the position is written to the layout_cache.txt
- all bars can now be made on mouseover
- there is a testmode for more easy configuration
- 3 new texture to make the petbar and the shapeshift stuff invisible

003
- added micro menu
- added bag buttons and keyring

002
- mainmenubar and vehiclebar not hidden anymore. scaling to 0.001 and setting alpha to 0 does the trick
- fixed memory overflow bug

001
- initial release
Optional Files (0)


Archived Files (26)
File Name
Version
Size
Author
Date
50200.01
20kB
zork
03-04-13 05:36 PM
50100.01
20kB
zork
11-28-12 01:28 PM
50001.08a
19kB
zork
11-20-12 03:24 AM
50001.07
20kB
zork
09-21-12 02:15 PM
40300.06
21kB
zork
01-20-12 12:51 PM
40300.05
21kB
zork
12-10-11 08:38 AM
40300.04
20kB
zork
12-06-11 11:36 AM
40300.03
20kB
zork
12-04-11 06:11 PM
40300.02
20kB
zork
12-01-11 03:05 PM
40300.01
20kB
zork
11-30-11 12:29 PM
4.008
18kB
zork
06-29-11 03:35 PM
4.007
18kB
zork
04-28-11 11:42 AM
4.006
18kB
zork
02-09-11 01:54 PM
4.005
18kB
zork
11-12-10 06:27 PM
4.004
17kB
zork
10-17-10 08:33 AM
4.003
16kB
zork
10-16-10 06:05 AM
4.002
16kB
zork
10-15-10 08:41 PM
4.001
16kB
zork
10-15-10 03:41 PM
100812
8kB
zork
08-12-10 03:12 PM
007
7kB
zork
12-10-09 11:54 AM
006
7kB
zork
09-05-09 04:47 PM
005-2
7kB
zork
04-19-09 04:21 PM
004-6
7kB
zork
04-02-09 12:07 PM
003
3kB
zork
03-21-09 10:40 AM
002
2kB
zork
01-11-09 02:07 PM
001
2kB
zork
01-09-09 09:43 PM


Post A Reply Comment Options
Unread 10-31-12, 09:39 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Hi there, i would like to be able to have different button sizes on action bar 1 on different characters, this is how i edited the charspecific lua.

Code:
  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons = {
                    size            = 36,
                    margin          = -2,
      },
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
In game it doesnt change anything apart from the fact that i get this error

Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\rActionBarStyler\charspecific.lua line 24:
   unexpected symbol near '='
Tnx for your time.

--------EDIT---------
NVM GOT IT WORKING


correct lua:
Code:
  -----------------------------
  -- INIT
  -----------------------------

  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons.size = 36
    cfg.bars.bar1.buttons.margin = -2
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
Last edited by madmatt91 : 10-31-12 at 09:48 AM.
madmatt91 is offline Report comment to moderator  
Reply With Quote
Unread 11-16-12, 02:15 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
"Always show actionbars"

Hi Zork! Real quick question:

When you enable "Always show actionbars" option from the interface menu, why doesn't actionbar1 react to it? Also, is there a way to fix it somewhere in the .lua?

Tried searching for it myself, but I'm not that expierenced with .lua yet and tried to find some answers in the comments, but couldn't find anything there either.

Here's a picture to demonstrate what I mean

Thanks
tomsu is offline Report comment to moderator  
Reply With Quote
Unread 11-16-12, 05:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
Re:

Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
__________________
| 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 : 11-16-12 at 05:43 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-16-12, 07:18 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re:

Originally Posted by zork
Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
Thought this might be the case, but had to make sure from someone who actually knows lua Thanks anyways!
tomsu is offline Report comment to moderator  
Reply With Quote
Unread 11-16-12, 03:36 PM  
Bloodier
A Deviate Faerie Dragon

Forum posts: 19
File comments: 39
Uploads: 0
I'm trying to modify the petbar to have one column only.

In petbar.lua I changed the following (lines that were changed by others are the commented):

Code:
local frame = CreateFrame("Frame", "rABS_PetBar", UIParent, "SecureHandlerStateTemplate")
  --frame:SetWidth(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
  --frame:SetHeight(cfg.buttons.size + 2*cfg.padding)
  frame:SetWidth(cfg.buttons.size + 2*cfg.buttons.margin)
  frame:SetHeight(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
Code:
 for i=1, num do
    local button = _G["PetActionButton"..i]
    table.insert(buttonList, button) --add the button object to the list
    button:SetSize(cfg.buttons.size, cfg.buttons.size)
    button:ClearAllPoints()
    if i == 1 then
      --button:SetPoint("LEFT", frame, cfg.padding, 0)
	  button:SetPoint("TOP", frame, cfg.buttons.margin, 0)
    else
      local previous = _G["PetActionButton"..i-1]
      --button:SetPoint("LEFT", previous, "RIGHT", cfg.buttons.margin, 0)
	  button:SetPoint("TOP", previous, "BOTTOM", cfg.padding, 0)
    end
I get a stepped bar without margin between buttons. What's wrong with the code?
Bloodier is offline Report comment to moderator  
Reply With Quote
Unread 11-16-12, 07:13 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
You inserted the values into the x, not the y value. Swap padding/margin with 0.
__________________
| 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-12, 07:35 AM  
Bloodier
A Deviate Faerie Dragon

Forum posts: 19
File comments: 39
Uploads: 0
Originally Posted by zork
You inserted the values into the x, not the y value. Swap padding/margin with 0.
Thanks that solved the step problem
Bloodier is offline Report comment to moderator  
Reply With Quote
Unread 11-17-12, 10:06 AM  
Bloodier
A Deviate Faerie Dragon

Forum posts: 19
File comments: 39
Uploads: 0
Another question. How can I use the same position for different characters? Where is it saved? Can't see any rActionBar file in WTF folder.
Last edited by Bloodier : 11-17-12 at 10:07 AM.
Bloodier is offline Report comment to moderator  
Reply With Quote
Unread 11-17-12, 01:32 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
Originally Posted by Bloodier
Another question. How can I use the same position for different characters? Where is it saved? Can't see any rActionBar file in WTF folder.
That file is called layout-local.txt in your WTF/SERVER/CHAR folder.
__________________
| 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-18-12, 05:49 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 192
Uploads: 0
Having trouble with doing festival tables. Addon doesn't switch to the vehicle bar on this for some reason. Haven't tested it though with today's version. Will add once I test it out in a little bit if anything changes.
zohar101 is offline Report comment to moderator  
Reply With Quote
Unread 11-19-12, 02:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
That is fixed. Make sure you have the latest 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)
Last edited by zork : 11-19-12 at 02:42 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-19-12, 07:14 PM  
Clamsoda
A Cobalt Mageweaver

Forum posts: 242
File comments: 33
Uploads: 0
The latest version isn't packaged with rLib, not sure if that is intended or not.
Clamsoda is offline Report comment to moderator  
Reply With Quote
Unread 11-20-12, 03:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
Args. Thank you. Of course not intended.

Version 50001.08a will have rLib included. Sry.
__________________
| 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 : 11-20-12 at 03:25 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-25-12, 02:11 PM  
Siannus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 72
Uploads: 2
Im considering using this instead of Bartendar for my UI, however, Ive noticed in all screenshots and videos Ive seen that utilize this addon, empty slots are just that, empty. Is there anyway to have it to where empty slots are filled so to speak with the button styler of choice? Like if the styler adds a say white border and semi-transparent background, will the empty slots show that?

Also, will this scale with different resolution? I know my Bartendar will scale correctly from one resolution to another (ie: 1920x1090 vs 1440x900).
Last edited by Siannus : 11-25-12 at 02:14 PM.
Siannus is offline Report comment to moderator  
Reply With Quote
Unread 11-25-12, 02:26 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3307
Uploads: 86
If you want a Grid you can enable that in the default interface settings.
If you want different button border styles you can try rActionButtonStyler.
__________________
| 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: