Download
(6Kb)
Download
Updated: 06-19-10 02:49 PM
Pictures
File Info
Updated:06-19-10 02:49 PM
Created:unknown
Downloads:9,469
Favorites:31
MD5:

HBar  Popular! (More than 5000 hits)

Version: 2.3.9
by: hipjipp [More]

HBar
  • What does it do?
It hides everything on your actionbars exept your buttons, shortens it down to the mere width of all twelve buttons. It also moves your actionbars to different positions on the screen to take as little space as possible.
  • Why would i use this addon?
Because you got tired of the original actionbars or perhaps other bar mods just didn't cut it. You might also want to use this addon because of it's VERY low memory print (~4kb while playing, no CPU impact).
≈≈ Configured through lua ≈≈
I recommend that you use this with HBarHide


Code:
*** Description of the colors ***

White: Usable and in range
RED: Out-of-Range
Blue: Out-of-Mana
Purple: Out-of-Mana and Out-of-Range
Gray: Action not usable
Known Issues
  • None

2.3.9 || 22:41 / 19-06-10 +0200
---- Fixed BonusActionBarFrames scale
---- Moved the UIErrorsFrame outside the table and made it invisible for easier to show/hide

2.3.8 || 21:54 / 06-06-10 +0200
---- Added the reputationbar to the hiding list

2.7.3.1 || 17:52 / 05-05-10 +0200
---- Fixed the failed bar-position

2.3.7 || 18:31 / 26-05-10 +0200
---- Added another variable for easier access to the sidebars scale

2.3.6 || Time missing due to me being dumb / 25-05-10 +0200
---- Updated to accomodate the changes in HBarHide

2.3.5 || 18:20 / 22-05-10 +0200
---- Added another variable at the top, silly me for forgetting it last time

2.3.4 || 23:27 / 17-05-10 +0200
---- Added new variable at the top for easy change of default ActionBar Positions
---- not much else

2.3.3 || 13:47 / 17-05-10 +0200
---- "Updated" for 3.3.3
---- Fixed minor bug

2.3.2 || 01:17 / 01-02-09 +0200
---- Minor bugfixes
---- Fixed vehicle bugs and some positions

2.3.0 || 14:24 / 23-12-08 +0200
---- Fixed some small things
---- No major changes

2.2.1 || 07:14 / 14-10-08 +0200
---- Cleaned up and commented some code
---- Reset the bar positions for the public again (keep forgetting)

2.2.0 || 13:27 / 13-10-08 +0200
---- Added OOM and unusable indicators on demand
---- Commented some code

2.0.5 || 07:36 / 18-09-08 +0200
---- Fixed range-coloring and tweaked a few things

2.0.3
---- Fixed some bar positions, i had them overlooked

2.0.2
---- Commented the code
---- Moved the bars back onto the screen for people not using HBarHide

2.0.0
---- Initial release
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.4
8kB
06-19-10 03:02 PM
Addon


Post A Reply Comment Options
Unread 06-06-10, 01:09 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Re: Missing frame in

Originally posted by Psoewish
Alright so, earlier when I tried to watch a reputation, I noticed that the reputation bar is not hidden yet, only the xp bar is. This isn't a problem at lower levels because the reputation bar is built into the xp bar ... but at max level (or when using an addon that replaces the xp and rep bar) these become seperate.

So you might want to update your addon and just add "ReputationWatchBar" to the list of hidden frames to fix this for max lvl people. (and users of other addons as well as a bonus :P)
Thanks for telling me this as i NEVER track any reputation. Added for next update.
Report comment to moderator  
Reply With Quote
Unread 06-06-10, 11:56 AM  
Psoewish
A Scalebane Royal Guard
 
Psoewish's Avatar
AddOn Author - Click to view AddOns

Forum posts: 447
File comments: 16
Uploads: 1
Missing frame in "hide" array

Alright so, earlier when I tried to watch a reputation, I noticed that the reputation bar is not hidden yet, only the xp bar is. This isn't a problem at lower levels because the reputation bar is built into the xp bar ... but at max level (or when using an addon that replaces the xp and rep bar) these become seperate.

So you might want to update your addon and just add "ReputationWatchBar" to the list of hidden frames to fix this for max lvl people. (and users of other addons as well as a bonus :P)
Report comment to moderator  
Reply With Quote
Unread 06-03-10, 07:40 PM  
MaikJ
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Awesome thanks! I really love this addon and am kind of saddened that I didn't spend the time to find it earlier. Hats off to you man! Thanks again for a quick response and all the work you've done!
Last edited by MaikJ : 06-03-10 at 07:50 PM.
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 11:11 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Re: Question

Originally posted by MaikJ
Hey guys, I've skimmed through the comments to try and find an answer but haven't been able to find the help. I'm very anxious to use this addon, I love the idea of it. I just can't seem to get started with it >_< I am absolutely clueless about how to configure it through the LUA and figured by default it would be setup like the author's. However, I can't seem to get it to work or display anything at all. It does remove the default action bar look, but replaces it with absolutely nothing. I've re-downloaded the addon, cleared my cache/wtf files and still no luck. Any help would be much appreciated.
It seems i forgot to change it back before uploading. However, your problem is very easily solvable.
Code:
1. Open up HBar.lua in your prefered text-editor.
2. You should be at the top of the file; Look for "ypos"
3. Change -300 to 10 and your problem should be fixed
4. Save the file, and if you already had WoW running during this, reload your UI (/console reloadui)
I'd recommend you testing out HBarHide to go with HBar.

If you need anymore help or just want to ask something, go right ahead.
Last edited by hipjipp : 06-02-10 at 11:12 PM.
Report comment to moderator  
Reply With Quote
Unread 06-02-10, 09:55 PM  
MaikJ
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Question

Hey guys, I've skimmed through the comments to try and find an answer but haven't been able to find the help. I'm very anxious to use this addon, I love the idea of it. I just can't seem to get started with it >_< I am absolutely clueless about how to configure it through the LUA and figured by default it would be setup like the author's. However, I can't seem to get it to work or display anything at all. It does remove the default action bar look, but replaces it with absolutely nothing. I've re-downloaded the addon, cleared my cache/wtf files and still no luck. Any help would be much appreciated.
Report comment to moderator  
Reply With Quote
Unread 05-26-10, 09:45 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Re: 3 bars

Originally posted by Kendian
Is there any way possible to move one of the side bars, to position directly under the main 2? I'm a clicker, unfortunately, and I need just 3 bars on my toons for everything (I'm also a macro ctrl:modifier addict, lol) But with 3 main bars, right there, I wouldn't have to use any other bar addon, and that would be lovely in and of itself. My thanks, for any/all help you can give~
Is the necessity for that really needed? If you can adapt one bar to another there's already a third bar at the top to not obfuscate your view too much.

But if you really want to change one of the right bars to be horisontal instead of being vertical and position it wherever you can use and modifie this code to make it do as you please:
Code:
MultiBarLeft:SetScale(scale)
for i = 1, 12, 1 do
    if (i == 1) then
        MultiBarLeftButton1:ClearAllPoints()
        MultiBarLeftButton1:SetPoint("TOPLEFT", ActionButton1, "BOTTOMLEFT", 0, -2)
    else
        _G["MultiBarLeftButton"..i]:ClearAllPoints()
        _G["MultiBarLeftButton"..i]:SetPoint("TOPLEFT", "MultiBarLeftButton"..i-1, "TOPRIGHT", 6, 0)
    end
end
Report comment to moderator  
Reply With Quote
Unread 05-25-10, 08:26 PM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
3 bars

Is there any way possible to move one of the side bars, to position directly under the main 2? I'm a clicker, unfortunately, and I need just 3 bars on my toons for everything (I'm also a macro ctrl:modifier addict, lol) But with 3 main bars, right there, I wouldn't have to use any other bar addon, and that would be lovely in and of itself. My thanks, for any/all help you can give~
Report comment to moderator  
Reply With Quote
Unread 05-24-10, 08:24 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Originally posted by Psoewish
Oh my, that is awesome! Mirrorred everything for the right side with this code as well and working like a charm. Now to dissect this with some guides so I actually know what it's doing as well.

You may have inspired a person to someday become an addon developer with your little addon here.

EDIT: Aha I see, that wasn't too hard to figure out ... the only thing I'm unsure of is that _G, which is a global variable if I can still read correctly. Why is this used here?
The _G is calling the global and is used because we can't combine it with the for-loop otherwise. And i'm extremely happy that i could help and inspire someone to code addons themselves. =)
Report comment to moderator  
Reply With Quote
Unread 05-24-10, 07:57 AM  
Psoewish
A Scalebane Royal Guard
 
Psoewish's Avatar
AddOn Author - Click to view AddOns

Forum posts: 447
File comments: 16
Uploads: 1
Originally posted by hipjipp
I was just about to write up some code for that. use this instead and tweak it to your fitness. Just ask if you need anything. :3
Code:
for i = 1, 12, 1 do 
    if (i == 1) then
        MultiBarLeftButton1:ClearAllPoints()
        MultiBarLeftButton1:SetPoint("LEFT", UIParent, "LEFT", -xpos, -350)
    else
        _G["MultiBarLeftButton"..i]:ClearAllPoints()
        _G["MultiBarLeftButton"..i]:SetPoint("TOPLEFT", "MultiBarLeftButton"..i-1, "TOPRIGHT", 5, 0)
    end
end
Oh my, that is awesome! Mirrorred everything for the right side with this code as well and working like a charm. Now to dissect this with some guides so I actually know what it's doing as well.

You may have inspired a person to someday become an addon developer with your little addon here.

EDIT: Aha I see, that wasn't too hard to figure out ... the only thing I'm unsure of is that _G, which is a global variable if I can still read correctly. Why is this used here?
Last edited by Psoewish : 05-24-10 at 08:06 AM.
Report comment to moderator  
Reply With Quote
Unread 05-24-10, 06:29 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Originally posted by Psoewish
Thank you for this wonderful addon! I'm really having a lot of fun with it, I know absolutely nothing about LUA but your addon and my quest for minimalism have gotten me into editing this beauty just right.

I already managed to split up the 2 action bars on the right and have them position on the left and right side of the screen respectively, and am now trying to get them to display in 1 row rather than 1 column. :3

EDIT: And I did it too ... I bet this is a horribly inefficient way to do it, but it works!

Code:
<snip>
I was just about to write up some code for that. use this instead and tweak it to your fitness. Just ask if you need anything. :3
Code:
for i = 1, 12, 1 do 
    if (i == 1) then
        MultiBarLeftButton1:ClearAllPoints()
        MultiBarLeftButton1:SetPoint("LEFT", UIParent, "LEFT", -xpos, -350)
    else
        _G["MultiBarLeftButton"..i]:ClearAllPoints()
        _G["MultiBarLeftButton"..i]:SetPoint("TOPLEFT", "MultiBarLeftButton"..i-1, "TOPRIGHT", 5, 0)
    end
end
Report comment to moderator  
Reply With Quote
Unread 05-24-10, 05:08 AM  
Psoewish
A Scalebane Royal Guard
 
Psoewish's Avatar
AddOn Author - Click to view AddOns

Forum posts: 447
File comments: 16
Uploads: 1
Thank you for this wonderful addon! I'm really having a lot of fun with it, I know absolutely nothing about LUA but your addon and my quest for minimalism have gotten me into editing this beauty just right.

I already managed to split up the 2 action bars on the right and have them position on the left and right side of the screen respectively, and am now trying to get them to display in 1 row rather than 1 column. :3

EDIT: And I did it too ... I bet this is a horribly inefficient way to do it, but it works!

Code:
local yposside = 45			--Vertical alignment of sidebars
local padding = 42			--Space individual buttons

MultiBarLeftButton1:ClearAllPoints()	
MultiBarLeftButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos, yposside)
	
MultiBarLeftButton2:ClearAllPoints()	
MultiBarLeftButton2:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding, yposside)
	
MultiBarLeftButton3:ClearAllPoints()
MultiBarLeftButton3:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*2, yposside)
	
MultiBarLeftButton4:ClearAllPoints()	
MultiBarLeftButton4:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*3, yposside)
	
MultiBarLeftButton5:ClearAllPoints()	
MultiBarLeftButton5:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*4, yposside)
	
MultiBarLeftButton6:ClearAllPoints()
MultiBarLeftButton6:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*5, yposside)
	
MultiBarLeftButton7:ClearAllPoints()	
MultiBarLeftButton7:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*6, yposside)
	
MultiBarLeftButton8:ClearAllPoints()	
MultiBarLeftButton8:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*7, yposside)
	
MultiBarLeftButton9:ClearAllPoints()
MultiBarLeftButton9:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*8, yposside)	
	
MultiBarLeftButton10:ClearAllPoints()	
MultiBarLeftButton10:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*9, yposside)	
	
MultiBarLeftButton11:ClearAllPoints()
MultiBarLeftButton11:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*10, yposside)	
	
MultiBarLeftButton12:ClearAllPoints()
MultiBarLeftButton12:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", -xpos+padding*11, yposside)
	
	
MultiBarRightButton1:ClearAllPoints()	
MultiBarRightButton1:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos, yposside)
	
MultiBarRightButton2:ClearAllPoints()	
MultiBarRightButton2:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding, yposside)
	
MultiBarRightButton3:ClearAllPoints()
MultiBarRightButton3:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*2, yposside)
	
MultiBarRightButton4:ClearAllPoints()	
MultiBarRightButton4:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*3, yposside)
	
MultiBarRightButton5:ClearAllPoints()	
MultiBarRightButton5:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*4, yposside)
	
MultiBarRightButton6:ClearAllPoints()	
MultiBarRightButton6:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*5, yposside)
	
MultiBarRightButton7:ClearAllPoints()	
MultiBarRightButton7:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*6, yposside)
	
MultiBarRightButton8:ClearAllPoints()	
MultiBarRightButton8:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*7, yposside)
	
MultiBarRightButton9:ClearAllPoints()	
MultiBarRightButton9:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*8, yposside)
	
MultiBarRightButton10:ClearAllPoints()	
MultiBarRightButton10:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*9, yposside)
	
MultiBarRightButton11:ClearAllPoints()	
MultiBarRightButton11:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*10, yposside)
	
MultiBarRightButton12:ClearAllPoints()
MultiBarRightButton12:SetPoint("BOTTOMRight", UIParent, "BOTTOMRight", xpos-padding*11, yposside)
Last edited by Psoewish : 05-24-10 at 05:59 AM.
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 02:39 PM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 176
File comments: 396
Uploads: 1
Originally posted by hipjipp
Then i recommend that you know a little bit of lua. Since i don't do anything with the original actionbars but move and scale them and Dominos breaks them apart and builds them up from scratch again it is alot more versatile (spelling?).

If you wish to split up an actionbar to something like 2x6 instead of the original 1x12 you should be able to do it like this:
Code:
ActionButton1:ClearAllPoints()
ActionButton6:ClearAllPoints()

ActionButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 5, 25)
ActionButton6:SetPoint("TOP", ActionButton1, "BOTTOM", 0, -3)
I'm sorry, but if you would like to customize your actionbars, maybe HBar isn't for you. It's just slimming down the original ones by everything but the bars.
That should suffice. If I have a section that's 6x2, I can just leave out the top 3x2 section, essentially giving me a 3x2 one. I use 6 bars with Dominos, so it's not a bar issue.

...And does it work with ButtonFacade?

Thanks!
Last edited by Politig : 05-18-10 at 03:48 PM.
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 06:18 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Originally posted by Politig
My intention is to split my Actions bars into different sections. Currently I use Dominos to have a little section of bars 3x2 for items, my main 3x10 area for spells, etc. I just don't know how easy it'll be to keep testing those out.
Then i recommend that you know a little bit of lua. Since i don't do anything with the original actionbars but move and scale them and Dominos breaks them apart and builds them up from scratch again it is alot more versatile (spelling?).

If you wish to split up an actionbar to something like 2x6 instead of the original 1x12 you should be able to do it like this:
Code:
ActionButton1:ClearAllPoints()
ActionButton6:ClearAllPoints()

ActionButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 5, 25)
ActionButton6:SetPoint("TOP", ActionButton1, "BOTTOM", 0, -3)
I'm sorry, but if you would like to customize your actionbars, maybe HBar isn't for you. It's just slimming down the original ones by everything but the bars.
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 05:58 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 176
File comments: 396
Uploads: 1
Originally posted by hipjipp
To keep it as small as possible yes. but there's not much you would like to change. And with the new variable added it's even easier.
Sorry if you don't like changing things directly, but if i added a GUI the addon would go from 4kb to about 250kb. and i don't want that.
My intention is to split my Actions bars into different sections. Currently I use Dominos to have a little section of bars 3x2 for items, my main 3x10 area for spells, etc. I just don't know how easy it'll be to keep testing those out.
Report comment to moderator  
Reply With Quote
Unread 05-17-10, 04:18 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Originally posted by Politig
Any and all configs must be done through the LUA file?
To keep it as small as possible yes. but there's not much you would like to change. And with the new variable added it's even easier.
Sorry if you don't like changing things directly, but if i added a GUI the addon would go from 4kb to about 250kb. and i don't want that.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: