Download
(1 Kb)
Download
Updated: 12-03-11 05:58 PM
Pictures
File Info
Updated:12-03-11 05:58 PM
Created:05-20-11 10:56 PM
Downloads:3,004
Favorites:13
MD5:
BetterBlizzardButtonBorder
Version: 1.1.3
by: Aprikot [More]
* Version 1.1.3
  • Extra fix for extra ExtraActionButton error
* AddOn Description
Designed for use with the default UI, BBBB is an AddOn that attempts to present the "true" identity of Blizzard's existing button border texture (UI-Quickslot2) by changing the parameters of its in-game presentation.



Code:
-- Config
local tr, tg, tb, ta = 1, 1, 1, 1 -- top color
local br, bg, bb, ba = .2, .2, .2, 1 -- bottom color
local auraborder = true -- make & color aura borders

* A Note On Colors
WoW uses 0-1 decimal RGB values to define color instead of the more common 0-255 RGB values. A regular 0-255 color can be converted to WoW's format by dividing each channel value by 255.

As an example, for the color Cyan (RGB 0, 255, 255), each color channel divided by 255 would return 0, 1, 1. For the Paladin class color (RGB 245, 140, 186), each color channel divided by 255 would return .96, .55, .73.

Alternately, the actual division can be made to occur within an AddOn's Lua code. The two functions below would produce the same color.

Code:
SetVertexColor(.96, .55, .73)
SetVertexColor(245/255, 140/255, 186/255)

For assistance in choosing RGB values, a quick web search for something like "rgb color pickers" will return several useful online utilities.


* Thanks & Credit
Thanks to Neal & thek for ideas & code contained in portions of nMainbar & thek: Buttonskin.
* Version 1.1.3
  • Extra fix for extra ExtraActionButton error

* Version 1.1.2
  • Fix for ExtraActionButton error
  • ToC update to 4.3

* Version 1.1.1
  • Code simplified to dramatically reduce memory usage (runs at 10-20 KB in testing).
  • FacePaint support removed temporarily until a better approach can be developed. (Colors can still be set manually atop the .lua file.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
1.1.2
1kB
Aprikot
12-03-11 04:18 PM
1.1.1
1kB
Aprikot
10-22-11 12:04 PM


Post A Reply Comment Options
Unread 10-22-11, 02:28 PM  
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 537
File comments: 109
Uploads: 3
Anything new about maybe adding this for Bartender or other bar mods by chance <3?
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
Lily.Petal is offline Report comment to moderator  
Reply With Quote
Unread 10-22-11, 12:10 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
New version 1.1.1:
  • Code simplified to dramatically reduce memory usage (runs at 10-20 KB in testing).
  • FacePaint support removed temporarily until a better approach can be developed. (Colors can still be set manually atop the .lua file.)
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 10-21-11, 11:38 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally posted by rashkaldo
I run it with and without Addons, Same Result. FacePaint use nearly 0 CPU Cycles, betterblizzardButton eats too much for me. and there is still high memory leaks.

i tested it with broker cpu
Looking into...
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 10-21-11, 05:48 PM  
rashkaldo
A Deviate Faerie Dragon

Forum posts: 12
File comments: 43
Uploads: 0
I run it with and without Addons, Same Result. FacePaint use nearly 0 CPU Cycles, betterblizzardButton eats too much for me. and there is still high memory leaks.

i tested it with broker cpu
rashkaldo is offline Report comment to moderator  
Reply With Quote
Unread 10-21-11, 12:14 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally posted by rashkaldo
hi, yes i run the newest version. i have just only a few scripts and FacePaint.
Version 1.1 was a complete rewrite of 1.0 which corrected a pretty substantial memory usage issue. Since then I've not seen any issues at all running BBBB (currently running with FacePaint, OmniCC, ncShadow, rNameplates, and various broker addons).

Can you describe the issues you're having, and when they occur (and do they also occur with only BBBB enabled)? I appreciate whatever details you can provide, thanks!
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 10-21-11, 07:25 AM  
rashkaldo
A Deviate Faerie Dragon

Forum posts: 12
File comments: 43
Uploads: 0
hi, yes i run the newest version. i have just only a few scripts and FacePaint.
rashkaldo is offline Report comment to moderator  
Reply With Quote
Unread 10-20-11, 03:11 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally posted by rashkaldo
hi, can you please fix the memory issuses?
Are you using version 1.1? What other addons run concurrently?
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 10-20-11, 09:29 AM  
rashkaldo
A Deviate Faerie Dragon

Forum posts: 12
File comments: 43
Uploads: 0
hi, can you please fix the memory issuses?
rashkaldo is offline Report comment to moderator  
Reply With Quote
Unread 05-29-11, 12:30 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Re: I'm sad

Originally posted by Pocketshield
I really like what this addon does, didnt have any issues with it, until i went into Blackrock Caverns and it was running more addon memory than recount, and dropped my FPS from 130 to 30. Please let me know what might have caused this. Nice addon though.
Are you using version 1.1 (fixes 1.0's memory issues)? If you are already then I have some more findy fixy todo.
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 05-28-11, 07:01 PM  
Pocketshield
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm sad

I really like what this addon does, didnt have any issues with it, until i went into Blackrock Caverns and it was running more addon memory than recount, and dropped my FPS from 130 to 30. Please let me know what might have caused this. Nice addon though.
Pocketshield is offline Report comment to moderator  
Reply With Quote
Unread 05-24-11, 06:41 AM  
sakurakira
A Flamescale Wyrmkin
 
sakurakira's Avatar
AddOn Author - Click to view AddOns

Forum posts: 140
File comments: 49
Uploads: 4
Love it, thanks.
__________________
Arise, my champion!

Carnation / 90 Blood Elf Priest / <Adversity> / Vek'nilash-US
sakurakira is offline Report comment to moderator  
Reply With Quote
Unread 05-23-11, 03:25 AM  
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 537
File comments: 109
Uploads: 3
Thanks for the update~ All the lag is gone for me <3
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
Lily.Petal is offline Report comment to moderator  
Reply With Quote
Unread 05-21-11, 10:54 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally posted by Lily.Petal
This is with nMainBar, BBBB, and FacePaint on only O.o

EDIT: oh you said disabled.
EDIT2: bleh Dx trying to find it
EDIT3: Got it, thanks for the run through, <3 muchlove
I should've said disabled via renaming nMainbar_ButtonSkins.lua. Glad it's working.

Originally posted by Aprikot
As for other bar AddOns, ones that use Blizzard objects (Neal's & thek's come to mind) are generally compatible, however these do their own button styling too
thek's bar addon actually doesn't mess with button styling, I misspoke...

http://www.wowinterface.com/download...Actionbar.html
Aprikot is offline Report comment to moderator  
Reply With Quote
Unread 05-21-11, 10:15 PM  
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 537
File comments: 109
Uploads: 3
This is with nMainBar, BBBB, and FacePaint on only O.o

EDIT: oh you said disabled.
EDIT2: bleh Dx trying to find it
EDIT3: Got it, thanks for the run through, <3 muchlove
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
Last edited by Lily.Petal : 05-21-11 at 10:29 PM.
Lily.Petal is offline Report comment to moderator  
Reply With Quote
Unread 05-21-11, 10:02 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Example shot of nMainbar/FacePaint/BBBB with nMainbar's own button styling disabled:

Aprikot is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: