Download
(312Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 02-09-24 11:13 AM
Pictures
File Info
Compatibility:
Classic (1.15.1)
Seeds of Renewal (10.2.5)
WOTLK Patch (3.4.3)
Updated:02-09-24 11:13 AM
Created:01-24-09 04:30 PM
Downloads:70,915
Favorites:487
MD5:

ChocolateBar (Broker Display)  Popular! (More than 5000 hits)

Version: v3/13
by: yess [More]

ChocolateBar is a sweet display addon for broker plugins
Basically its a Titan-panel or Fubar replacement.

Any data broker addon you have will be put on a pice of chocolate and together they create a chocolate bar on the top of your screen.

Main Features

* Easy config, simply drag some chocolate and drop points will show. The idea is to easily get rid of a plugin or disable the text. See pics.
* Load-on-demand options, and small memory footprint.* Multiple bars - top or bottom as many as you want.
* Move bars anywhere you want.
* More Chocolate - a broker plugin to show a second bar that will autohide again. Great for launchers or other plugins you don't need visible all the time
* Support for icon colors and coordinates like used by TomTom

Options for:
* Show bars on mouse over only
* Hide bars in combat
* Set a fixed width for any plugin
* Change icon size
* Change textures, colours and a lot more...

Where to get more chocolate?

.)Updated list
.)WoWInterface

Usage

Right click the panel
or type "/chocolatebar" to open the options menu.
You can also go to the great Blizz addons menu if you like
windows that cant be moved or resized...

You miss a feature or had to much chocolate, please let me know. I look forward to your feedback.

ChocolateBar
v3.11 (2023-05-06)
Full Changelog
  • fix error on login
Optional Files (0)


Archived Files (38)
File Name
Version
Size
Author
Date
v3.11
302kB
yess
01-24-24 05:26 PM
v3.11
302kB
yess
05-06-23 05:27 PM
v3.10
302kB
yess
04-02-23 01:34 PM
v3.9.7
301kB
yess
02-01-23 06:49 AM
v3.9.7
301kB
yess
12-11-22 08:34 PM
v3.9.6
301kB
yess
12-11-22 10:50 AM
v3.9.5
299kB
yess
12-08-22 06:33 PM
v3.9.4
299kB
yess
12-08-22 06:32 PM
v3.9.3
299kB
yess
12-08-22 06:24 PM
v3.9.1
299kB
yess
12-07-22 08:40 AM
v3.9.1
299kB
yess
12-04-22 03:50 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.9
309kB
yess
11-28-22 04:32 PM
v3.8.5
309kB
yess
08-31-22 11:11 AM
v3.8.4
309kB
yess
03-31-22 10:58 AM
v3.8.4
309kB
yess
03-31-22 10:58 AM
v3.8.3
309kB
yess
03-30-22 05:27 AM
v3.8.2
309kB
yess
03-25-22 08:14 AM
v3.8.1
309kB
yess
03-18-22 01:23 PM
v3.8
309kB
yess
02-17-22 12:51 PM
v3.8
309kB
yess
02-17-22 12:51 PM
v3.7.7
309kB
yess
10-01-21 04:43 PM
v3.7.6
284kB
yess
09-30-21 12:50 PM
v3.7.6
284kB
yess
09-30-21 12:50 PM
v3.7.5
284kB
yess
09-22-21 04:24 PM
v.3.7.4
284kB
yess
09-22-21 04:19 PM
v.3.7.4
284kB
yess
09-22-21 04:19 PM
v3.7.2
284kB
yess
09-22-21 04:02 PM
v3.7.1
284kB
yess
09-22-21 03:47 PM
v3.7.1
284kB
yess
09-22-21 03:47 PM
v3.7
307kB
yess
09-21-21 06:17 PM
v3.7
307kB
yess
09-21-21 06:17 PM
v3.6.15
282kB
yess
04-30-21 03:51 PM
v3.6.15
307kB
yess
04-30-21 03:50 PM
v3.6.14
282kB
yess
04-12-21 11:33 AM
3.6.13
307kB
yess
04-10-21 03:54 PM
v3.6.12
282kB
yess
04-10-21 01:03 PM


Post A Reply Comment Options
Unread 09-28-12, 01:37 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
ok.. I copied the "Bar:New" method code from the Bar.lua file and the code below reflects my changes on lines 3, 58, 59. I hope this helps.

Lua Code:
  1. function Bar:New(name, settings, database)
  2.     db = database
  3.     local frame = CreateFrame("Frame",name,UIParent,"SecureHandlerStateTemplate")
  4.     frame.chocolist = {} --create list of chocolate chocolist in the bar
  5.    
  6.     -- add class methods to frame object
  7.     for k, v in pairs(Bar) do
  8.         frame[k] = v
  9.     end
  10.    
  11.     frame:SetPoint("TOPLEFT",-1,1);
  12.     --frame:SetPoint("TOPLEFT", settings.xoff, settings.yoff);
  13.     --frame:SetClampedToScreen(true)
  14.     if settings.width == 0 then
  15.         frame:ClearAllPoints()
  16.         frame:SetPoint("TOPLEFT","UIParent",-1,1);
  17.         frame:SetPoint("RIGHT", "UIParent" ,"RIGHT",0, 0);
  18.     else
  19.         frame:SetPoint("RIGHT", "UIParent",0, 0);
  20.         frame:SetWidth(settings.width)
  21.     end
  22.    
  23.     frame:SetHeight(db.height)
  24.     frame:EnableMouse(true)
  25.     frame:SetScript("OnEnter", function(self)
  26.         if (db.combathidebar or settings.hideBarInCombat) and ChocolateBar.InCombat then return end
  27.         self:ShowAll()
  28.     end)
  29.     frame:SetScript("OnLeave", function(self)
  30.         if (db.combathidebar or settings.hideBarInCombat) and ChocolateBar.InCombat then return end
  31.         if self.autohide then
  32.             self:HideAll()
  33.         end
  34.     end)
  35.    
  36.     frame:SetScript("OnMouseUp", function(self, button)
  37.         if (db.combathidebar or settings.hideBarInCombat) and ChocolateBar.InCombat then return end
  38.         if button == "RightButton" then
  39.             if db.disableoptons and ChocolateBar.InCombat then return end
  40.             if db.barRightClick == "OPTIONS" then
  41.                 ChocolateBar:LoadOptions()
  42.             elseif db.barRightClick == "BLIZZ" then
  43.                 InterfaceOptionsFrame_OpenToCategory("ChocolateBar");
  44.             end
  45.         else
  46.             if db.moreBar == self:GetName() then
  47.                 self:Hide()
  48.             end
  49.         end
  50.     end)
  51.    
  52.     frame.settings = settings  
  53.     frame.autohide = settings.hideonleave
  54.     frame:UpdateTexture(db)
  55.     frame:UpdateColors(db)
  56.     frame:UpdateStrata(db)
  57.    
  58.     -- Hider Secure (mostly used to hide stuff while in pet battle)
  59.     RegisterStateDriver(frame, "visibility", "[petbattle] hide; show[vehicleui] hide; show")
  60.     return frame
  61. end

Just fyi, I'm not the author of this addon.. just a fan of it. The Author of this addon has updated version of this over at curse.com. Which includes the option to hide the bars during pet battles. I've tried this and it doesn't always seem to work and other ppl are having issues with the bars not coming back... so I'm reverting back to the code I added to show/hide the bars during pet battles and vehicleUI.
Last edited by Tymesink : 09-28-12 at 01:42 AM.
Report comment to moderator  
Reply With Quote
Unread 09-27-12, 05:27 AM  
Gecojo_kitty
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Pet Battles..

Originally Posted by Tymesink
To make this addon more friendly for pet battles and vehicleUI, I've made the following modifications...

in Bar.lua change line 14
From: local frame = CreateFrame("Frame",name,UIParent)
To: local frame = CreateFrame("Frame",name,UIParent,"SecureHandlerStateTemplate")

and then I added the following line of code after line 67:
-- Hider Secure (mostly used to hide stuff while in pet battle)
RegisterStateDriver(frame, "visibility", "[petbattle] hide; show[vehicleui] hide; show")
Your line 14 is not my line 14; would you please include what is on /your/ line 67 so I can try out these edits?
Report comment to moderator  
Reply With Quote
Unread 09-26-12, 12:38 AM  
Tymesink
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 67
Uploads: 3
Pet Battles..

To make this addon more friendly for pet battles and vehicleUI, I've made the following modifications...

in Bar.lua change line 14
From: local frame = CreateFrame("Frame",name,UIParent)
To: local frame = CreateFrame("Frame",name,UIParent,"SecureHandlerStateTemplate")

and then I added the following line of code after line 67:
-- Hider Secure (mostly used to hide stuff while in pet battle)
RegisterStateDriver(frame, "visibility", "[petbattle] hide; show[vehicleui] hide; show")

in the little of testing that I have done... so far it works well.
Last edited by Tymesink : 09-27-12 at 01:16 AM.
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 06:06 PM  
GreyWolfSC
A Murloc Raider

Forum posts: 5
File comments: 83
Uploads: 0
Originally Posted by Xrystal
While this addon works in the beta I just want to point out that with just it loaded my fps drops to 1 or 2.

It only started happening with the newest build from 31st July so maybe something blizz has done is affecting the addon now.
Try opening "..\Interface\AddOns\ChocolateBar\libs\LibJostle-3.0\LibJostle-3.0.lua" and change every occurrence of "ShapeshiftBarFrame" to "StanceBarFrame". It's been working fine for me with that modification.
Last edited by GreyWolfSC : 08-30-12 at 06:06 PM.
Report comment to moderator  
Reply With Quote
Unread 08-04-12, 10:47 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5927
File comments: 228
Uploads: 28
While this addon works in the beta I just want to point out that with just it loaded my fps drops to 1 or 2.

It only started happening with the newest build from 31st July so maybe something blizz has done is affecting the addon now.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 07-31-11, 01:42 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Originally posted by zemo
How would i go about changing the background of the popups (mouseover a plugin)?
Try a tooltip plugin like
TipTac http://www.wowinterface.com/download...93-TipTac.html
or
TinyTip http://www.wowace.com/addons/tiny-tip/
Report comment to moderator  
Reply With Quote
Unread 07-29-11, 02:03 AM  
zemo
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
How would i go about changing the background of the popups (mouseover a plugin)?
Report comment to moderator  
Reply With Quote
Unread 03-27-11, 04:31 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Originally posted by nazrhyn
I bet you're going to tell me it's because of Fubar2Broker. I'll try actually stopping my laziness and replacing those with real LDB addons and see if this still persists. Hold please .
Do you still have the problem with the center position?
Report comment to moderator  
Reply With Quote
Unread 03-27-11, 04:29 AM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Re: Hiding Plugins

Originally posted by fenixan
How can i hide this Plugins ?
http://i.imgur.com/NfATm.jpg
You have another display addon installed. Maybe Fortress, disable it.
Report comment to moderator  
Reply With Quote
Unread 03-26-11, 02:55 AM  
fenixan
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 1
Hiding Plugins

How can i hide this Plugins ?
http://i.imgur.com/NfATm.jpg
Report comment to moderator  
Reply With Quote
Unread 03-08-11, 06:03 AM  
nydgirl
A Kobold Labourer
Premium Member

Forum posts: 0
File comments: 10
Uploads: 0
Center bar LBD display

I am currently having a similar problem, only started since the most recent update. The plug-in I have centred can be moved back to the correct position manually, but will eventually (& for reasons as yet unclear) move back to off-centre. The plug-in on my top bar always move to the right & the ones on my bottom bar always move to the left.
Report comment to moderator  
Reply With Quote
Unread 03-04-11, 07:20 PM  
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member

Forum posts: 133
File comments: 75
Uploads: 0
I bet you're going to tell me it's because of Fubar2Broker. I'll try actually stopping my laziness and replacing those with real LDB addons and see if this still persists. Hold please .
Report comment to moderator  
Reply With Quote
Unread 03-03-11, 04:09 PM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Originally posted by nazrhyn
Let me know if I can give you any more information.
Hmm, I can't reproduce the problem. What plugins do you have at the center?
Report comment to moderator  
Reply With Quote
Unread 03-02-11, 06:40 PM  
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member

Forum posts: 133
File comments: 75
Uploads: 0
Let me know if I can give you any more information.
Report comment to moderator  
Reply With Quote
Unread 03-01-11, 06:13 PM  
yess
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 50
Uploads: 7
Originally posted by nazrhyn
I have to echo this. Here's an example in my setup:



If I go into the settings and toggle off/on any of the brokers that are currently in the center, it updates to be perfectly centered. Then, it eventually shifts back over on its own or when other options change. I have the center based on broker widths option turned on.
I have just added the option to center the plugins based on their widths (Soulsplicer did not have that option). Might be a bug, I'll look into it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: