Quantcast
Download
(14 Kb)
Download
Updated: 11-01-16 04:37 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:11-01-16 04:37 PM
Created:01-09-09 09:43 PM
Downloads:106,309
Favorites:294
MD5:
7.1.0

rActionBar  Popular! (More than 5000 hits)

Version: 710.20161101
by: zork [More]
Optional Files (3)
File Name
Version
Size
Author
Date
Type
1.0-2016112401
2kB
11-24-16 01:07 AM
Addon
710.20161027
1kB
10-27-16 12:41 PM
Addon
700.20161004
1kB
10-04-16 06:07 AM
Addon


Archived Files (30)
File Name
Version
Size
Author
Date
710.20161027
14kB
zork
10-27-16 12:42 PM
700.20161004
14kB
zork
10-04-16 06:04 AM
60000.01
21kB
zork
10-24-14 07:48 PM
50400.01
20kB
zork
09-08-13 08:45 AM
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 01-17-09, 06:17 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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.
| WoWI AddOns | GitHub | Zork (WoW) | 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 06:25 PM.
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 03:18 PM  
Balkeep
A Cyclonian
 
Balkeep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 58
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 05:30 PM.
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 05:03 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 05:30 PM  
Balkeep
A Cyclonian
 
Balkeep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 58
Uploads: 3
Sorry, seems it was noob comment from me =P Great mod thou!
Report comment to moderator  
Reply With Quote
Unread 01-21-09, 12:39 PM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 163
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?
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 05:56 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
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'); }
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 06:57 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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.
| WoWI AddOns | GitHub | Zork (WoW) | 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 06:58 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 08:46 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
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 08:48 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 09:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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.
| WoWI AddOns | GitHub | Zork (WoW) | 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 09:50 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 09:41 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
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 09:57 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 10:57 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 11:18 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 281
File comments: 252
Uploads: 5
Got one taint finally

Code:
blocked from using PetActionBarFrame:Show()
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Report comment to moderator  
Reply With Quote
Unread 01-26-09, 06: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.
Report comment to moderator  
Reply With Quote
Unread 01-27-09, 03:33 PM  
shkm
A Chromatic Dragonspawn
 
shkm's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 98
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!
Report comment to moderator  
Reply With Quote
Unread 01-30-09, 11:24 AM  
kubasniak
A Kobold Labourer

Forum posts: 1
File comments: 8
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 11:25 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: