Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(232 Kb)
Download
Updated: 10-17-14 12:30 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-17-14 12:30 AM
Created:unknown
Downloads:15,757
Favorites:222
MD5:

ButtonBin  Popular! (More than 5000 hits)

Version: 1.0.87
by: neotron [More]

ButtonBin is a display addon for LibDataBroker objects. The initial design goal was to make a very compact display for LDB launchers, ignoring the labels. It has since evolved to become more of a full featured display addon, allowing both the compact button-only view as well as displaying labels with icons. Combined with FuBar2Broker, ButtonBin can fully replace FuBar as a displayer. With the new default configuration a left, right and center top bar layout is used, allowing for an easier transition.

Changes in r71:

  • 4.0.1 toc bump.

Changes in r71:
  • Repackaged to get the latest LibJostle included, fixing moving of the buff frame in Cataclysm/4.0.

Changes in r70:
  • Repackaged with new dependencies and verified to work with Cataclysm beta.

Changes in r69:
  • Bumped .toc to 30300 and repackaged with new dependencies.

Changes in r67:
  • Bumped .toc to 30100

Feature List:
  • Customizable size (scale, button size and number of buttons per row)
  • If an object doesn't have a native tooltip, BB makes one using the text.
  • Ability to collapse all buttons into one (state now saved)
  • Enable/disable individual data objects for display.
  • Ability to toggle horizontal and vertical growth direction (toggle x/y axis)
  • Configurable horizontal and vertical button padding.
  • Drop and Drag support to order the buttons.
  • Support for multiple bars (currently hard coded at up to five bars)
  • Background and border texture/color configuration
  • Auto-hide options: Hide in combat, hide out of combat, and show on mouse over only.
  • Ability to show labels (always or on mouse over only)
  • Can set the (max) width of the bins in pixels.
  • Per-block label and icon visibility configuration.
  • Global / bin level font size and style configuration.

Planned features:
  • Ability to disable tooltips on a per-bin and/or per-block basis.
  • Button skinning support.
  • More complete configuration to control the display.
  • Whatever else comes up...

Changes in 1.0.87:
  • Toc update + updated dependencies.

Changes in 1.0.77:
  • Toc update + updated dependencies.

Changes in 1.0.75:
  • Added support for OnReceiveDrag which allows addons like Scrap to accept items dragged to the LDB icon.
  • Started new versioning scheme with proper tagging.

Changes in r72:
  • 4.0.1 toc bump.

Changes in r71:
  • Repackaged to get the latest LibJostle included, fixing moving of the buff frame in Cataclysm/4.0.

Changes in r70:
  • Repackaged with new dependencies and verified to work with Cataclysm beta.

Changes in r69:
  • Bumped .toc to 30300 and repackaged with new dependencies.

r68:
  • Bumped .toc to 30200

r67:
  • Bumped .toc to 30100

r66:
  • Fixed a config UI issue. Moved 'Reset Bin Layout' to the main 'Bins' pane.
  • Fixed a small issue with profile copying.

r64:
  • Added option to disable tooltips on a per-bin and per-data block level.
  • Fixed problems with copying profiles. As a side effect, there is now a separate button to load the initial default bin layout that you can use after resetting a profile.

r62:
  • Fix formatting of label + value display.

r60:
  • Fixed a couple of bugs introduced in r59.

r59:
  • Fixed default layout to use a sane 3 bin setup emulating left/right/center FuBar geometry.
  • Added ability to move Blizzard frames out of the way to make room for the bins.
  • Added ability to assign a bin to a data block in the data block configuration.

r58:
  • Fixed issue with centered bins if the bin icon was shown (oops).
  • Added option to set use a custom icon texture and name for the bin icon display.

r57:
  • Added an option to center align the contents in a bin.
  • Added support for iconR, iconB, iconG, iconCoords/texcoords to enable fancy icon displays such as the TomTom crazy arrow feed.

r55:
  • Fixed bug when adding a new bin and immediately unlocking.
  • Fixed issue where a newly enabled data block didn't show up correctly.
  • Removed the ability to enable data blocks when there was no bins.
  • Changed default size and position to be center of the screen without a fixed width.

r53:
  • Added customizable tooltip scale. Only works on tooltips opened by ButtonBin however.
  • Some general code clean up and fixes.
  • Allow block level override for text display even on bars with all text disabled.
  • Rewrote text updating algorithm so it's no longer broken (fixes issues with StatBlock_Durability among others).
  • Added ability to toggle labels, text and values individually (per bin and per block)
  • Added configurable label, text, value and unit colors (on a bin level)
  • Fixed bug where a bin was initially the wrong size if it had mouseover visibility.
  • Fixed visibility issues when unlocking bins/buttons for mouseover bins.

r46:
  • Fixed bug when creating a new profile.
  • Fixed issues related to mouse over visibility and collapsing the bin.
  • Fixed issue with bin sizing when using label over mouse option.
  • Fixed an optimization bug that prevented the bin to be properly resized if the label length of a data block changed greatly.

r43
  • Per-data block configuration (label and icon visibility only)
  • Additional bin visibility option (mouse over while not in combat).
  • Ability to add and delete bins.
  • Fixes when copying and resetting a profile.
  • Ability to toggle icon visibility on a per-bin basis.
  • Fixed issue which made it impossible to set scale to 1.0 (doh!)
r35
  • Fixes for 3.0.
  • Fixed issues with profile copying.
  • Fixed an incorrect label (left vs right for icon location)
  • Some performance optimizations.
  • New versioning scheme, thus the lower number!
81491
  • Fixed issue with the green "moving box" unsticking from the bin if it's resized while movement is unlocked.
  • Fixed nil error when resizing / configuring a completely empty bin.
80757
  • Added option to set the pixel width of the bin.
  • Added toggle to decide whether or not to clamp a bin to the screen.
80714
  • Added font and font size bar level configuration.
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Author
Date
1.0.79-1
232kB
neotron
12-11-11 09:33 PM
1.0.77
231kB
neotron
04-27-11 12:39 AM
1.0.75
228kB
neotron
11-21-10 12:51 AM
r72
166kB
neotron
10-12-10 09:33 AM
r68
156kB
neotron
08-09-09 03:40 PM
r67
156kB
neotron
04-19-09 03:50 PM
r66
155kB
neotron
04-05-09 08:38 PM
r62
153kB
neotron
04-04-09 10:15 PM
r60
145kB
neotron
01-31-09 04:05 AM
r58
138kB
neotron
01-03-09 02:45 PM
r57
137kB
neotron
12-21-08 03:44 PM


Post A Reply Comment Options
Unread 08-20-08, 04:19 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4751
File comments: 2143
Uploads: 43
Looks awesome so far. Finally, an actual replacement for FuBar! I'm eagerly awaiting the per-plugin settings so I can turn off the label text on those pesky "launcher" type icons.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-20-08, 11:02 AM  
Vesuuvius
A Defias Bandit

Forum posts: 2
File comments: 22
Uploads: 0
Replacing Fubar

I've never found a great place to ask this, so here goes nothing:

Is there a distinct advantage to using LDB + Display (like this fine addon, or Fortress) over Fubar itself? I understand that flexible design and placement are factors, but most if us uninspired UI schlubs would still slap it all on the bottom in a bar-like configuration. I'm hoping and praying that it turns out to use a lot less resources.

Anyone?
Vesuuvius is offline Report comment to moderator  
Reply With Quote
Unread 08-20-08, 03:36 PM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Re: Replacing Fubar

Originally posted by Vesuuvius
I've never found a great place to ask this, so here goes nothing:

Is there a distinct advantage to using LDB + Display (like this fine addon, or Fortress) over Fubar itself? I understand that flexible design and placement are factors, but most if us uninspired UI schlubs would still slap it all on the bottom in a bar-like configuration. I'm hoping and praying that it turns out to use a lot less resources.

Anyone?
The advantage is, simply put, with LDB plugins, the user is not limited or "forced" to a specific display addon spec and can choose whatever display he wants, in order to render his addons/buttons (currently Fortress, StatBlockCore, ButtonBin, Barrel and very soon Titan all support the LDB spec).

Both Titan and FuBar made the "mistake" of imposing a spec in the past and have people code data objects/launchers specifically designed for that spec. LDB was designed to be "display agnostic" thus making life easier for both users (that want to use that nice plugin but at the same time don't want to have to switch to display addon X for one reason or another) and addon authors that don't have to code separate plugins for separate displays anymore, or pick a display and code specifically for that one.

That being said, ButtonBin is an excellent launcher display, with lots of customizable options. Keep it up neotron
Last edited by Tristanian : 08-20-08 at 03:38 PM.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 08-20-08, 09:50 PM  
neotron
A Kobold Labourer
 
neotron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 86
Uploads: 11
Re: Re: Replacing Fubar

What Tristanian is true. In general LDB is more an evolution for addon developers. The side effect of making a framework agnostic way to display an icon and/or some data to the user is more flexibility for the user to pick and choose how they want to display the data.

It should also remove the all too common "FuBar_FavoriteAddon" and "Titan_FavoriteAddon" addons which serve no other purpose than "hooking" an addon into respective display addons.

For example if you write an addon using the Ace3 framework or Dongle, you simply can't add FuBar support without also hooking into the Ace2 framework. This is a lot of unnecessary overhead. With LDB you can get "stat blocks/fortress" type lego blocks, titan panel (soon to come I heard!) traditional "bar" display, Button Bin type display (which can be a bit of everything) and even a minimap button display if that strikes you fancy.

I hope this will become the primary way for addons to display launchers (many find these useless but it's easy to disable in the LDB display addons) and information tidbits (like fps and such). I think there's even an addon that should allow LDB blocks to be shown on FuBar but I haven't tested it.

Expect per-block configuration to pop up sometime this weekend. As a temporary workaround, you can use one bar with labels and one without - that's what I do (in fact I use two bars with labels, one without, for my UI, until I implement per-block config).

Edit: fixed a typo
Last edited by neotron : 08-23-08 at 03:30 AM.
neotron is offline Report comment to moderator  
Reply With Quote
Unread 08-22-08, 10:30 PM  
Vesuuvius
A Defias Bandit

Forum posts: 2
File comments: 22
Uploads: 0
Re: Re: Re: Replacing Fubar

Thanks Tristanian and neotron! That has got to be clearest explanation of an addon programming concept that anyone has ever given! Hopefully WoWInsider will cover DataBroker addons in depth and get you some exposure.
Vesuuvius is offline Report comment to moderator  
Reply With Quote
Unread 08-26-08, 05:27 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4751
File comments: 2143
Uploads: 43
One small issue I've noticed while using this -- the width of a bin isn't always calculated properly when a plugin's text changes. I'd estimate that about 30% of the time the bar is the right length, 50% of the time it's too short and one or more plugins are hanging off the end, and 20% of the time it's too long with blank space at the end.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-29-08, 11:20 AM  
neotron
A Kobold Labourer
 
neotron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 86
Uploads: 11
Are you manually setting the max width? When the max width setting is used the bar is always AT LEAST that wide (and should become larger if the max width is too small to fix all labels).

I haven't see any real issues with the width calculations though, so... Hmm I wonder. The version here might be outdated..

Ah yes it is indeed. I'll upload a new version. It allows you to specify the width and should also fix the issues you mentioned.
neotron is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 01:29 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4751
File comments: 2143
Uploads: 43
The width seems to be working fine now.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 02:33 AM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 78
Uploads: 0
Support for multiple bars (currently hard coded at up to five bars)

So... how would one go about making this number go up to say 6 or 7.

While I'm asking questions, any way to change the bin icon?
Auraka is offline Report comment to moderator  
Reply With Quote
Unread 09-03-08, 09:54 PM  
neotron
A Kobold Labourer
 
neotron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 86
Uploads: 11
I need to add support for more. It's a TODO. I haven't considered changing the bin icon but that's a good idea that's easy enough to implement.
\
neotron is offline Report comment to moderator  
Reply With Quote
Unread 09-13-08, 08:31 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1078
File comments: 205
Uploads: 28
Feature request

I've been messing around with ButtonBin and Fortress...I much prefer ButtonBin and so far the ONLY thing Fortress has which I'd like to see is a per-DO configuration.

Example: I installed Attrition to replace Fubar_DurabilityFu. Its default display is "(icon) Attrition: 88%". With Fortress, I can select Attrition and remove the check from the "Show Label" box to make it display as "(icon) 88%". The only current way to do this with ButtonBin is to select the bin it resides in and select "Show Short Text" which does this for every button in that bin. Eww.

(Meh. Just read the older comments and saw that this is an upcoming feature.)

I was also wondering if there was a way to simulate Fubar's positioning scheme (left/center/right) by perhaps embedding a bin within a bin?
Last edited by Torhal : 09-13-08 at 08:34 PM.
Torhal is offline Report comment to moderator  
Reply With Quote
Unread 09-22-08, 05:38 PM  
neotron
A Kobold Labourer
 
neotron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 86
Uploads: 11
As for the per bin configuration, yes I need to add that. On the other issue I don't really have any plans on adding the fubar style left/right/center. However you can, easily, make one bar overlap another. This is what I do:


[long bar with background [center bin icons] [left side icon/text] ]

Basically the long bar has a fixed width that matches my screen resolution. I made an icon only bin in the middle without border/bg and another one to the left that grows the opposite direction (flip x toggled on).

It isn't necessarily perfect (they might overlap) but works well enough unless you constantly add and remove stuff...

It's possible that I at some point will add more complex setup but since there is a good and easy enough workaround (takes a few minutes to set up, with occasional adjustments) it's ok.

Primary todo's:

Individual configuration
Custom number of bins
neotron is offline Report comment to moderator  
Reply With Quote
Unread 09-22-08, 10:30 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1078
File comments: 205
Uploads: 28
Originally posted by neotron
As for the per bin configuration, yes I need to add that. On the other issue I don't really have any plans on adding the fubar style left/right/center. However you can, easily, make one bar overlap another. This is what I do:


[long bar with background [center bin icons] [left side icon/text] ]

Basically the long bar has a fixed width that matches my screen resolution. I made an icon only bin in the middle without border/bg and another one to the left that grows the opposite direction (flip x toggled on).

It isn't necessarily perfect (they might overlap) but works well enough unless you constantly add and remove stuff...

It's possible that I at some point will add more complex setup but since there is a good and easy enough workaround (takes a few minutes to set up, with occasional adjustments) it's ok.

Primary todo's:

Individual configuration
Custom number of bins
Ah, good idea. Thankye
Torhal is offline Report comment to moderator  
Reply With Quote
Unread 09-28-08, 11:38 PM  
Hevanus
A Deviate Faerie Dragon
 
Hevanus's Avatar

Forum posts: 15
File comments: 204
Uploads: 0
Running r81492 In WotLK beta with standalone Ace3. When I right-click the ButtonBin icon, I get the following error:

Code:
Interface\AddOns\ButtonBin\ButtonBin.lua:1150: attempt to call global 'InterfaceOptionsFrame_OpenToFrame' (a nil value)
[C]: in function `InterfaceOptionsFrame_OpenToFrame'
Interface\AddOns\ButtonBin\ButtonBin.lua:1150: in function `ToggleConfigDialog'
Interface\AddOns\ButtonBin\ButtonBin.lua:162: in function <Interface\AddOns\ButtonBin\ButtonBin.lua:152>
All instances of InterfaceOptionsFrame_OpenToFrame need to be changed to InterfaceOptionsFrame_OpenToCategory in your code I think, but then it will only work in WotLK.
Last edited by Hevanus : 09-28-08 at 11:39 PM.
Hevanus is offline Report comment to moderator  
Reply With Quote
Unread 10-13-08, 05:17 PM  
neotron
A Kobold Labourer
 
neotron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 86
Uploads: 11
I already fixed this in the normal version (which currently should be available from curse.com). I'm waiting for tonight, or perhaps tomorrow, to release a 3.0 version here. I admit I've been somewhat engaged in playing on the beta and preparing for the patch (selling of items and such).
neotron is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.