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 08:43 PM
Downloads:96,135
Favorites:291
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 04:36 PM
50100.01
20kB
zork
11-28-12 12:28 PM
50001.08a
19kB
zork
11-20-12 02:24 AM
50001.07
20kB
zork
09-21-12 02:15 PM
40300.06
21kB
zork
01-20-12 11:51 AM
40300.05
21kB
zork
12-10-11 07:38 AM
40300.04
20kB
zork
12-06-11 10:36 AM
40300.03
20kB
zork
12-04-11 05:11 PM
40300.02
20kB
zork
12-01-11 02:05 PM
40300.01
20kB
zork
11-30-11 11:29 AM
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 12:54 PM
4.005
18kB
zork
11-12-10 05: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 10: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 01:07 PM
001
2kB
zork
01-09-09 08:43 PM


Post A Reply Comment Options
Old 01-17-09, 05:17 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Originally posted by sush
but one question how can i change the spacing of the petbar?
You need to readjust the setpoints of every petbarbutton to do that, its not that hard. But I would advise you to do that inside the rActionButtonStyler since you want to adjust the setpoints of the buttons in this case.

Something like this could do it:
Code:
  for i=1, NUM_PET_ACTION_SLOTS do
    if i > 1 then
      local name = "PetActionButton"..i;
      local name2 = "PetActionButton"..(i-1);
      local bu  = _G[name]
      local bu2  = _G[name2]
      bu:ClearAllPoints()
      bu:SetPoint("LEFT", bu2, "RIGHT", 20, 0)
    end
  end
Add this to the petstyle function. Adjust the "20" to adjust your spacing and read http://www.wowwiki.com/API_Region_SetPoint

Could this be done with your actionbuttons aswell? Yes I think so.
__________________
| 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-17-09 at 05:25 PM.
zork is offline Report comment to moderator  
Reply With Quote
Old 01-19-09, 02:18 PM  
Balkeep
A Cyclonian
 
Balkeep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 60
Uploads: 3
Cool mod. 1 question thou, how are u supposed to exit tanks on WG/BGs if u do this
Code:
VehicleMenuBar:SetScale(0.001)
VehicleMenuBar:SetAlpha(0)
Last edited by Balkeep : 01-19-09 at 04:30 PM.
Balkeep is offline Report comment to moderator  
Reply With Quote
Old 01-19-09, 04:03 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Originally posted by Balkeep
Cool mod. 1 question thou, how do u supposed to exit tanks on WG/BGs if u do this
Code:
VehicleMenuBar:SetScale(0.001)
VehicleMenuBar:SetAlpha(0)
Right click unitframe -> Exit vehicle.
__________________
| 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 01-19-09, 04:30 PM  
Balkeep
A Cyclonian
 
Balkeep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 60
Uploads: 3
Sorry, seems it was noob comment from me =P Great mod thou!
Balkeep is offline Report comment to moderator  
Reply With Quote
Old 01-21-09, 11:39 AM  
MoonWitch
A Rage Talon Dragon Guard
AddOn Author - Click to view AddOns

Forum posts: 342
File comments: 148
Uploads: 8
Could have sworn I replied here before...

Any hints on making the right sidebars alpha be .3 normal and on hover over .9? Or is that not possible?
MoonWitch is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 04:56 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Giving this a quick try for the first time.

Say i want my MultiBarLeft and MultiBarRight to have the same shape as the main bar, 2 horizontal rows of 6 buttons, do i have to reanchor every button one by one or is there an easier way ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 05:57 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Originally posted by Caellian
Giving this a quick try for the first time.

Say i want my MultiBarLeft and MultiBarRight to have the same shape as the main bar, 2 horizontal rows of 6 buttons, do i have to reanchor every button one by one or is there an easier way ?
This is how it works. Every button on screen needs some anchor. Currently the anchor and anchor positions of the both right bars are set to be vertical. So if you want them the other way round you need to re-point them button by button.

A "for"-loop will do much of the job here.

But be careful, the grade between tainting and not tainting is small.
__________________
| 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-23-09 at 05:58 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 07:46 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Aight well it's perfect now, the only thing i could be missing is to have my pet bar hidden unless i mouseover it.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 01-23-09 at 07:48 AM.
Caellian is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 08:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Originally posted by Caellian
Aight well it's perfect now, the only thing i could be missing is to have my pet bar hidden unless i mouseover it.
The problem is: you are not allowed to touch the petbarframe itself. This will cause tainting. So I am not able to position the petbarframe under your buttons because I am not allowed to re-point the petframe.

This code is untested but could be some kind of possibility:
Code:
    local alphahigh = 1
    local alphalow = 0.2

    local function myshowhidepet(alpha)
      for i=1, NUM_PET_ACTION_SLOTS do
        local pb = _G["PetActionButton"..i]
        pb:SetAlpha(alpha)
      end;
    end
    
    local f2 = CreateFrame("Frame","myPetBarHolderFrame",UIParent)
    f2:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }});
    f2:SetWidth(200) -- size the width here
    f2:SetHeight(100) -- size the height here
    f2:SetPoint("BOTTOM",0,300)  --move it under your petbuttons here
    --f2:SetFrameLevel(0) -- may be needed
    f2:SetAlpha(alphalow) --onload alpha (could be 0 when finished with positioning)
    f2:EnableMouse(true)
    f2:SetScript("OnEnter", function(self) myshowhidepet(alphahigh) end)
    f2:SetScript("OnLeave", function(self) myshowhidepet(alphalow) end)

    --onload setup
    for i=1, NUM_PET_ACTION_SLOTS do
      local pb = _G["PetActionButton"..i]
      pb:SetAlpha(alphalow)
      pb:HookScript("OnEnter", function(self) myshowhidepet(alphahigh) end)
      pb:HookScript("OnLeave", function(self) myshowhidepet(alphalow) end)
    end;
What could be done is the following:
- Create a helper frame and move it under the pet buttons.
- Create OnEnter and OnLeave-Sripts for every PetButton

You need to do this for the petbuttons aswell with a HookScript since when moving the mousing on a button you will leave the helper frame.
The helper frame is needed to fill the gap between the buttons, since when you leave the button they would turn off.

I cannot guarantee that this will not cause tainting or that it does work. Cannot test it right 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)
Last edited by zork : 01-23-09 at 08:50 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 08:41 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Going to try that right now.

Edit: Works perfectly, thanks, no taint at all.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 01-23-09 at 08:57 AM.
Caellian is offline Report comment to moderator  
Reply With Quote
Old 01-23-09, 09:57 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Ok, I tested it right now and I like it aswell.

Here is what I did:
Code:
  -- on/off
  local petbar_on_mouseover = 1
  -- range 0 - 1
  local petbar_off_alpha = 0
  
  -- on/off
  local rightbars_on_mouseover = 1
  -- range 0 - 1
  local rightbars_off_alpha = 0
  
    local alphahigh = 1

  local function myshowhidepet(alpha)
    for i=1, NUM_PET_ACTION_SLOTS do
      local pb = _G["PetActionButton"..i]
      pb:SetAlpha(alpha)
    end;
  end
  
  local function myshowhiderightbar(alpha)
    if MultiBarLeft:IsShown() then
      for i=1, 12 do
        local pb = _G["MultiBarLeftButton"..i]
        pb:SetAlpha(alpha)
      end
    end
    if MultiBarRight:IsShown() then
      for i=1, 12 do
        local pb = _G["MultiBarRightButton"..i]
        pb:SetAlpha(alpha)
      end
    end
  end
  
  if petbar_on_mouseover == 1 then
  
    local f2 = CreateFrame("Frame","myPetBarHolderFrame",UIParent)
    --comment this in to see the frame
    --f2:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }});
    f2:SetWidth(355) -- size the width here
    f2:SetHeight(50) -- size the height here
    f2:SetPoint("BOTTOM",-78,160)  --move it under your petbuttons here
    f2:SetScale(myscale)
    f2:EnableMouse(true)
    f2:SetScript("OnEnter", function(self) myshowhidepet(alphahigh) end)
    f2:SetScript("OnLeave", function(self) myshowhidepet(petbar_off_alpha) end)
  
    for i=1, NUM_PET_ACTION_SLOTS do
      local pb = _G["PetActionButton"..i]
      pb:SetAlpha(petbar_off_alpha)
      pb:HookScript("OnEnter", function(self) myshowhidepet(alphahigh) end)
      pb:HookScript("OnLeave", function(self) myshowhidepet(petbar_off_alpha) end)
    end;
  
  end
  
  if rightbars_on_mouseover == 1 then
  
    local f3 = CreateFrame("Frame","myRightBarHolderFrame",UIParent)
    --comment this in to see the frame
    --f3:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }});
    f3:SetWidth(130) -- size the width here
    f3:SetHeight(500) -- size the height here
    f3:SetPoint("RIGHT",5,-20)  --move it under your petbuttons here
    f3:SetScale(myscale)
    f3:EnableMouse(true)
    f3:SetScript("OnEnter", function(self) myshowhiderightbar(alphahigh) end)
    f3:SetScript("OnLeave", function(self) myshowhiderightbar(rightbars_off_alpha) end)
    
    for i=1, 12 do
      local pb = _G["MultiBarLeftButton"..i]
      pb:SetAlpha(rightbars_off_alpha)
      pb:HookScript("OnEnter", function(self) myshowhiderightbar(alphahigh) end)
      pb:HookScript("OnLeave", function(self) myshowhiderightbar(rightbars_off_alpha) end)
      local pb = _G["MultiBarRightButton"..i]
      pb:SetAlpha(rightbars_off_alpha)
      pb:HookScript("OnEnter", function(self) myshowhiderightbar(alphahigh) end)
      pb:HookScript("OnLeave", function(self) myshowhiderightbar(rightbars_off_alpha) end)
    end;
  
  end
This will hide the right bars and the pet bar and makes them appear on mouseover. Need to test this before I will release it finally.
__________________
| 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 01-23-09, 10:18 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Got one taint finally

Code:
blocked from using PetActionBarFrame:Show()
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Old 01-26-09, 05:25 AM  
Lyncher
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Great job!

Is it possible to hide key bindings and macro names? Thanks in advance for your help.
Lyncher is offline Report comment to moderator  
Reply With Quote
Old 01-27-09, 02:33 PM  
shkm
A Chromatic Dragonspawn
 
shkm's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 99
Uploads: 7
Just found this. Beautiful! Been waiting for an 'update' to rBars2 and have been using rActionButtonStyler + Dominos in the meantime. I am way too happy now to get away from Dominos now!

Thank you!
shkm is offline Report comment to moderator  
Reply With Quote
Old 01-30-09, 10:24 AM  
kubasniak
A Kobold Labourer

Forum posts: 1
File comments: 9
Uploads: 0
Hey I downloaded this addon, all is great BUT! How can I change the scale of bars? Because I don't know anything about programming, anything about LUA, wowwiki doesn't explain it how to :F or I just don't understand it, it's like BLACK MAGIC for me...

Just tell what, where and how to change please, coz it's rly nice addon
I'm playing on 800x600 Windowed Mode, and these bars are TOO small ;/
How can I change scales for that like your is on example screenshots :>?
Last edited by kubasniak : 01-30-09 at 10:25 AM.
kubasniak is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: