ButtonBin

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.

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.

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.

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?

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.

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.

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).

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

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.

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.