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,677
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 02-09-17, 07:09 PM  
Dools1337
A Defias Bandit
 
Dools1337's Avatar

Forum posts: 2
File comments: 30
Uploads: 0
Thanks for this nice addon. I was looking for a replacement for m_actionbar and yours is comin handy.
Just a couple of questions :

- I'm trying to desactivate bar3

--create
--rActionBar:CreateActionBar3(A, bar3)

is that correct ? Cause it's throwing a bunch of errors.
Do I need to edit core.lua ?
|-frameVisibility (OPTIONAL), type:STRING, -- this one ?
This is probably what I should do right ?

Tried to move them around a bot playing on anchor point and x,y axis. I'm probably doing something wrong cause it get " stuck " sometimes.
If you could give me an exemple, that would probably be enough to help me.

Thanks Zork, ever since I discovered your work, I'm using your addons extensively.

EDIT : Oh and I'm probably dumb but I didn't see anything in the layout about showing hotkeys ?
Also do you plan on adding an artifact bar ?

EDIT : Oh I'm stupid. Used your r_buttontemplate and didn't see alpha hotkey was on 0
Cheers
Last edited by Dools1337 : 02-09-17 at 09:51 PM.
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 02:14 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Fixed the rLib frame fader bug using the idea below. New version of rLib is available:
http://www.wowinterface.com/download...4242-rLib.html

Diff: https://github.com/zorker/rothui/com...a3128b8a6b569b
__________________
| 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-30-16, 05:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Hmmm. I have an idea. Currently I run the animationgroup on the frame itself. Maybe I can just add a new frame just for the animation and on update copy the alpha to the parent frame.

Lua Code:
  1. local function FaderOnFinished(self,...)
  2.   print(...)
  3. end
  4.  
  5. local function FaderOnUpdate(self,...)
  6.   print(...)
  7. end
  8.  
  9. local function FaderOnAlpha(...)
  10.   print(...)
  11. end
  12.  
  13. local function CreateFaderAnimation(frame)
  14.   if frame.fader then return end
  15.   local animFrame = CreateFrame("Frame",nil,frame)
  16.   frame.fader = animFrame:CreateAnimationGroup()
  17.   frame.fader.__owner = frame
  18.   frame.fader.direction = nil
  19.   frame.fader.setToFinalAlpha = false --test if this will NOT apply the alpha to all regions
  20.   frame.fader.anim = frame.fader:CreateAnimation("Alpha")
  21.   hooksecurefunc(animFrame,"SetAlpha",FaderOnAlpha)
  22.   frame.fader:HookScript("OnFinished", FaderOnFinished)
  23.   frame.fader:HookScript("OnUpdate", FaderOnUpdate)
  24. end
__________________
| 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-30-16, 04:47 AM  
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 195
Uploads: 14
This is my current fix.

add code in rButtonTemplate\core.lua

Code:
local function SetupBackdrop(button,backdrop)
  ......

  if button.__faderParent then
    button.__faderParent.fader:HookScript("OnFinished", function()
      bg:SetBackdropColor(unpack(backdrop.backgroundColor))
    end)
  end
end
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 04:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Same bug as with font strings in the WoW animation API. The alpha transition applies the alpha to all children.

I probably should implement my own version via OnUpdate.
__________________
| 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 : 11-30-16 at 04:49 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 04:00 AM  
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 195
Uploads: 14
And also for the framefader in rLib, if you create background color for any actionbuttons with a mouseover fader, the background color would be darker than normal once you mouseover them.



The bar on the right is the original color without fader, and the bar with fader on the left is what happened after mouseover.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 02:36 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Thanks will test it.
__________________
| 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-28-16, 09:36 AM  
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 195
Uploads: 14
I just found a new bug.

If you hide the Right Bar and Right Bar 2 in the InterfaceOptionPanel, those bars would appear again once you exit from a vehicle UI.

I made a quick fix atm.
Code:
local event = CreateFrame("Frame")
event:RegisterEvent("UNIT_EXITING_VEHICLE")
event:SetScript("OnEvent", function(self)
	if not self.fixed then
		InterfaceOptions_UpdateMultiActionBars()
		self.fixed = true
	end
end)
Last edited by siweia : 11-28-16 at 10:12 AM.
Report comment to moderator  
Reply With Quote
Unread 11-15-16, 12:04 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: exp bar addon

I just use a xp macro nowadays. Imo such a bar is not needed.
__________________
| 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-15-16, 09:45 AM  
Garry
A Kobold Labourer
 
Garry's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 159
Uploads: 6
exp bar addon

Hey Zork,
after a few years of WoW break i decided to play wow again.
Your addons were the first i searched for and directly installed them.

THe only thing I miss is an eXP-bar for the actionbar. In your old Diablo Style UI it was called jEXP.
Now i wonder where did you hide it?
__________________
Report comment to moderator  
Reply With Quote
Unread 11-03-16, 01:47 PM  
pas06
A Theradrim Guardian

Forum posts: 62
File comments: 18
Uploads: 0
Hi, i noticed a small bug. Don't know if this is a problem with rButtonTemplate or rActionBar. i am playing an enhancement shaman and playing with that talent that gives stormstrike 2 charges. On my button it showed that i had one charge/stack left for that ability but i actually didn't have one(i pressed the button but nothing happened) Using OmniCC. A cooldown number is only shown if i don't have a charge left.
Edit: it happened again today and i made a screenshot of it
http://imgur.com/BgZYoqh
Last edited by pas06 : 11-07-16 at 10:33 AM.
Report comment to moderator  
Reply With Quote
Unread 11-01-16, 04:09 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Found a solution for the Illidan problem.
https://github.com/zorker/rothui/com...eaf4a01070c3a4

Illidan has abilities that load new actionbuttons on use of other abilities. This will not work properly for whatever reason. But with that change a simple page swap will load the correct buttons.
__________________
| 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 : 11-01-16 at 04:34 PM.
Report comment to moderator  
Reply With Quote
Unread 10-31-16, 01:29 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Nope.
__________________
| 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 10-31-16, 12:42 PM  
pas06
A Theradrim Guardian

Forum posts: 62
File comments: 18
Uploads: 0
Thanks for the reply it works.
regarding the one bag solution.
i used
Code:
--create
rActionBar:CreateBagBar(A, bagbar)

CharacterBag0Slot:Hide()
CharacterBag1Slot:Hide()
CharacterBag2Slot:Hide()
CharacterBag3Slot:Hide()
to still keep the fading function. any downside doing this?
Report comment to moderator  
Reply With Quote
Unread 10-30-16, 10:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
To do that you need to write a hack.
The micro menu buttons have an unavoidadable blank space above them. You can see it by doing /fstack and hovering the button. On top of that each bar cannot be moved out of UIParent. That leads to a gap above the buttons.
You can remove the clamp of the micromenu bar and move it up a few pixels.
Lua Code:
  1. --frame is the name of your micro menu frame
  2. frame:SetClampedToScreen(false)
  3. frame:SetPoint("TOP",0,0)--adjust x and y to your liking
If you do not need the bag bar you can just reparent the main backpack button and reposition it to your liking.
Lua Code:
  1. MainMenuBarBackpackButton:SetParent(UIParent)
  2. MainMenuBarBackpackButton:ClearAllPoints()
  3. MainMenuBarBackpackButton:SetPoint("BOTTOMRIGHT",0,0)
__________________
| 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-30-16 at 10:38 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: