Download
(177Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 01-23-24 03:28 PM
Pictures
File Info
Compatibility:
Seeds of Renewal (10.2.5)
Classic (1.15.0)
WOTLK Patch (3.4.3)
Updated:01-23-24 03:28 PM
Created:unknown
Downloads:18,120
Favorites:214
MD5:

ButtonBin  Popular! (More than 5000 hits)

Version: 20240123
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...

Button Bin
20240123 (2024-01-23)
Full Changelog Previous Releases
  • Fixed nil error in libjostle.
  • Update Interface version
  • Fixed toc update.
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Author
Date
2022-12-20-2
177kB
neotron
12-19-22 07:32 PM
2022-12-20-1
177kB
neotron
12-19-22 07:30 PM
2022-12-20
172kB
neotron
12-19-22 07:25 PM
2022-12-19
172kB
neotron
12-19-22 02:13 PM
2022-08-13
179kB
neotron
08-13-22 05:07 AM
2022-08-06
177kB
neotron
08-06-22 01:08 PM
2022-07-29
177kB
neotron
07-29-22 11:39 AM
2022-01-20.1
177kB
neotron
01-20-22 06:45 AM
2021-11-18
177kB
neotron
11-18-21 02:10 PM
2021-11-18
177kB
neotron
11-18-21 02:10 PM
2021-11-11
177kB
neotron
11-11-21 03:40 PM
2021-08-16
177kB
neotron
08-16-21 08:35 AM
2021-05-22
177kB
neotron
05-22-21 01:13 PM


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

Forum posts: 5617
File comments: 2321
Uploads: 54
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.
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?
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: 3
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.
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: 87
Uploads: 10
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.
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.
Report comment to moderator  
Reply With Quote
Unread 08-26-08, 05:27 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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.
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: 87
Uploads: 10
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.
Report comment to moderator  
Reply With Quote
Unread 09-01-08, 01:29 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
The width seems to be working fine now.
Report comment to moderator  
Reply With Quote
Unread 09-01-08, 02:33 AM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
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?
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: 87
Uploads: 10
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.
\
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: 1196
File comments: 223
Uploads: 34
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.
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: 87
Uploads: 10
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
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: 1196
File comments: 223
Uploads: 34
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
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: 199
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.
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: 87
Uploads: 10
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).
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.