Download
(14Kb)
Download
Updated: 08-16-18 01:18 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-16-18 01:18 PM
Created:01-09-09 09:43 PM
Downloads:129,849
Favorites:284
MD5:

rActionBar  Popular! (More than 5000 hits)

Version: 800.20180816
by: zork [More]


Intro

rActionBar is a framework for Blizzard actionbars. It does nothing on its own, needs a layout like rActionBar_Zork.
API documentation
rActionBar API documentation
Quick-Links
rActionBar, rActionBar_Zork, rBuffFrame, rBuffFrame_Zork, rButtonTemplate, rButtonTemplate_Zork
Requires
rLib
Git
https://github.com/zorker/rothui/tre...8.0/rActionBar

Optional Files (3)
File Name
Version
Size
Author
Date
Type
800.20180901
2kB
09-02-18 03:34 AM
Addon
801-2018081101
2kB
08-11-18 04:38 AM
Addon
700.20161004
1kB
10-04-16 06:07 AM
Addon


Post A Reply Comment Options
Unread 12-12-13, 10:11 PM  
CapnKirk
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Cmon, you really deleted my post here explaining how to solve the micro store button for people who do not wish to update to the new one? AND you removed my post on the RBBS page telling people how to make their orbs work again(Regarding NAMEPLATE_FONT)? Give credit where it's due, man. Not everyone wants to update and lose all of their modifications. You tend to give a lot of "sure, it can be done, but im not going to teach you" answers, but at least let the ones that come here WILLING to give the answers do so. Dont take down our support. Btw folks, for as long as this is posted, you can feel free to PM me and I will try to help you solve your LUA woes regarding patch changes =)

-Zack
Last edited by CapnKirk : 12-12-13 at 10:48 PM.
Report comment to moderator  
Reply With Quote
Unread 12-12-13, 06:25 PM  
Solvexx
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 29
Uploads: 2
Hey mate! Love your addon.
Quick question for you though: Is it possible to also include bar6 in this addon?
I've seen m_actionbars do it and I loved that functionality when I tried it out.

Although the rest of the functionality provided by your addon and linked addons is too great to pass yours up :P So if it were possible to also use bar6 it would be the absolute best of both worlds.

Any help would be greatly appreciated! :3
Thanks mate.
Report comment to moderator  
Reply With Quote
Unread 12-12-13, 04:15 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by kasca
There anyone working on this. I really would hate to lose it =(
You are kidding right? If you are talking about the StoreMicroButton that was fixed long time ago. Make sure you are using the latest version.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-12-13 at 04:21 PM.
Report comment to moderator  
Reply With Quote
Unread 12-12-13, 09:17 AM  
kasca
A Frostmaul Preserver

Forum posts: 288
File comments: 204
Uploads: 0
There anyone working on this. I really would hate to lose it =(
Report comment to moderator  
Reply With Quote
Unread 11-11-13, 10:06 AM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
Thank you a bunch Zork!
Report comment to moderator  
Reply With Quote
Unread 11-11-13, 02:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Mirrikh
...but could you show me where to edit it?
I was off for the weekend so here we go:

Put this into bar4.lua
Lua Code:
  1. -----------------------------
  2.   -- INIT
  3.   -----------------------------
  4.  
  5.   --get the addon namespace
  6.   local addon, ns = ...
  7.   local gcfg = ns.cfg
  8.   --get some values from the namespace
  9.   local cfg = gcfg.bars.bar4
  10.   local dragFrameList = ns.dragFrameList
  11.  
  12.   --MultiBarRight
  13.  
  14.   -----------------------------
  15.   -- FUNCTIONS
  16.   -----------------------------
  17.  
  18.   if not cfg.enable then return end
  19.  
  20.   local num = NUM_ACTIONBAR_BUTTONS
  21.   local buttonList = {}
  22.  
  23.   --create the frame to hold the buttons
  24.   local frame = CreateFrame("Frame", "rABS_MultiBarRight", UIParent, "SecureHandlerStateTemplate")
  25.   frame:SetWidth(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
  26.   frame:SetHeight(cfg.buttons.size + 2*cfg.padding)
  27.   frame:SetPoint(cfg.pos.a1,cfg.pos.af,cfg.pos.a2,cfg.pos.x,cfg.pos.y)
  28.   frame:SetScale(cfg.scale)
  29.  
  30.   --move the buttons into position and reparent them
  31.   MultiBarRight:SetParent(frame)
  32.   MultiBarRight:EnableMouse(false)
  33.  
  34.   for i=1, num do
  35.     local button = _G["MultiBarRightButton"..i]
  36.     table.insert(buttonList, button) --add the button object to the list
  37.     button:SetSize(cfg.buttons.size, cfg.buttons.size)
  38.     button:ClearAllPoints()
  39.     if i == 1 then
  40.       button:SetPoint("LEFT", frame, cfg.padding, 0)
  41.     else
  42.       local previous = _G["MultiBarRightButton"..i-1]
  43.       button:SetPoint("LEFT", previous, "RIGHT", cfg.buttons.margin, 0)
  44.     end
  45.   end
  46.  
  47.   --show/hide the frame on a given state driver
  48.   RegisterStateDriver(frame, "visibility", "[petbattle][overridebar][vehicleui][possessbar,@vehicle,exists] hide; show")
  49.  
  50.   --create drag frame and drag functionality
  51.   if cfg.userplaced.enable then
  52.     rCreateDragFrame(frame, dragFrameList, -2 , true) --frame, dragFrameList, inset, clamp
  53.   end
  54.  
  55.   --create the mouseover functionality
  56.   if cfg.mouseover.enable then
  57.     rButtonBarFader(frame, buttonList, cfg.mouseover.fadeIn, cfg.mouseover.fadeOut) --frame, buttonList, fadeIn, fadeOut
  58.     frame.mouseover = cfg.mouseover
  59.   end
  60.  
  61.   --create the combat fader
  62.   if cfg.combat.enable then
  63.     rCombatFrameFader(frame, cfg.combat.fadeIn, cfg.combat.fadeOut) --frame, buttonList, fadeIn, fadeOut
  64.   end

Put this into bar5.lua
Lua Code:
  1. -----------------------------
  2.   -- INIT
  3.   -----------------------------
  4.  
  5.   --get the addon namespace
  6.   local addon, ns = ...
  7.   local gcfg = ns.cfg
  8.   --get some values from the namespace
  9.   local cfg = gcfg.bars.bar5
  10.   local dragFrameList = ns.dragFrameList
  11.  
  12.   --MultiBarLeft
  13.  
  14.   -----------------------------
  15.   -- FUNCTIONS
  16.   -----------------------------
  17.  
  18.   if not cfg.enable then return end
  19.  
  20.   local num = NUM_ACTIONBAR_BUTTONS
  21.   local buttonList = {}
  22.  
  23.   --create the frame to hold the buttons
  24.   local frame = CreateFrame("Frame", "rABS_MultiBarLeft", UIParent, "SecureHandlerStateTemplate")
  25.   frame:SetWidth(num*cfg.buttons.size + (num-1)*cfg.buttons.margin + 2*cfg.padding)
  26.   frame:SetHeight(cfg.buttons.size + 2*cfg.padding)
  27.   frame:SetPoint(cfg.pos.a1,cfg.pos.af,cfg.pos.a2,cfg.pos.x,cfg.pos.y)
  28.   frame:SetScale(cfg.scale)
  29.  
  30.   --move the buttons into position and reparent them
  31.   MultiBarLeft:SetParent(frame)
  32.   MultiBarLeft:EnableMouse(false)
  33.  
  34.   for i=1, num do
  35.     local button = _G["MultiBarLeftButton"..i]
  36.     table.insert(buttonList, button) --add the button object to the list
  37.     button:SetSize(cfg.buttons.size, cfg.buttons.size)
  38.     button:ClearAllPoints()
  39.     if i == 1 then
  40.       button:SetPoint("LEFT", frame, cfg.padding, 0)
  41.     else
  42.       local previous = _G["MultiBarLeftButton"..i-1]
  43.       button:SetPoint("LEFT", previous, "RIGHT", cfg.buttons.margin, 0)
  44.     end
  45.   end
  46.  
  47.   --show/hide the frame on a given state driver
  48.   RegisterStateDriver(frame, "visibility", "[petbattle][overridebar][vehicleui][possessbar,@vehicle,exists] hide; show")
  49.  
  50.   --create drag frame and drag functionality
  51.   if cfg.userplaced.enable then
  52.     rCreateDragFrame(frame, dragFrameList, -2 , true) --frame, dragFrameList, inset, clamp
  53.   end
  54.  
  55.   --create the mouseover functionality
  56.   if cfg.mouseover.enable then
  57.     rButtonBarFader(frame, buttonList, cfg.mouseover.fadeIn, cfg.mouseover.fadeOut) --frame, buttonList, fadeIn, fadeOut
  58.     frame.mouseover = cfg.mouseover
  59.   end
  60.  
  61.   --create the combat fader
  62.   if cfg.combat.enable then
  63.     rCombatFrameFader(frame, cfg.combat.fadeIn, cfg.combat.fadeOut) --frame, buttonList, fadeIn, fadeOut
  64.   end

That makes both bars horizontal.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-08-13, 10:59 AM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
Originally Posted by zork
Originally Posted by Mirrikh
Hey Zork, love the addon, so nice and pretty .lua friendly though i am wondering, how do i go about making bar5 horizontal orientation instead of vertical?
Well you can compare bar1 and bar4 SetPoints().
Well i've looked around through the code, but i'm not too good at .lua so i couldn't figure out how to do it. I hate to bother you too much, but could you show me where to edit it?
Last edited by Mirrikh : 11-10-13 at 10:09 AM.
Report comment to moderator  
Reply With Quote
Unread 11-08-13, 10:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Mirrikh
Hey Zork, love the addon, so nice and pretty .lua friendly though i am wondering, how do i go about making bar5 horizontal orientation instead of vertical?
Well you can compare bar1 and bar4 SetPoints().
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-07-13, 08:04 PM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
Hey Zork, love the addon, so nice and pretty .lua friendly though i am wondering, how do i go about making bar5 horizontal orientation instead of vertical?
Last edited by Mirrikh : 11-07-13 at 08:08 PM.
Report comment to moderator  
Reply With Quote
Unread 10-24-13, 12:40 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Check bar3.lua. Change the num variable to 3.
http://code.google.com/p/rothui/sour...re/bar3.lua#19
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-24-13 at 12:40 AM.
Report comment to moderator  
Reply With Quote
Unread 10-24-13, 12:16 AM  
Solvexx
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 29
Uploads: 2
Hello Zork! I love your stuff.
How many I go about reducing the amount of buttons shown from 12 on bar 3 down to only 3 shown?

Thank you very much, I am happy to use LUA. and if needed to just be pointed in the direction of a website with the information if easier.

Thanks mate.
Report comment to moderator  
Reply With Quote
Unread 09-28-13, 10:29 AM  
Syliha
A Flamescale Wyrmkin
 
Syliha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 104
File comments: 160
Uploads: 4
Alright I hope you see this:

I want to "hardcode" the position of my actionbars so they stay consistent whatever character i am on.

But if the position of bar 2 is not set to use the userplacement it will ALWAYS be next to bar one. I have no idea how i can change that. Both are 2x6 btw.

Hope you can help me out with that ty!
__________________
Balance is, when everyone is unhappy.
Last edited by Syliha : 09-28-13 at 04:40 PM.
Report comment to moderator  
Reply With Quote
Unread 09-13-13, 01:55 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: can make look like this with Diablo 3 layout?

__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-13-13 at 05:42 AM.
Report comment to moderator  
Reply With Quote
Unread 09-12-13, 05:21 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Re: Re: No XP bar

Originally Posted by zork
rActionBarStyler does not provide an XP bar. You need another mod/macro for that purpose.
OK, thanks. Decided to use Obar instead. It looks almost exactly likes yours but includes the XP bar.
Report comment to moderator  
Reply With Quote
Unread 09-12-13, 02:25 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: No XP bar

rActionBarStyler does not provide an XP bar. You need another mod/macro for that purpose.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-12-13 at 03:49 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: