Reply
Thread Tools Display Modes
Unread 01-16-14, 12:31 AM   #1
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,576
Looking for some heavy kgPanels users to test

I've recently taken a minor interest in LibBackdrop-1.0, specifically in fixing a few "bugs" with permission from Kagaro. While I was in there, I felt the need to fix some other things (gtfo string concatenations ) and while I'm pretty sure I didn't break anything, and tested with a quick install and about 5 minutes of tinkering with kgPanels, I'd like to get third-party verification that I didn't break anything, before I commit the changes and possibly break a million people's kgPanels setups.

If you are interested in testing (really, you probably won't need to do anything besides drop in the file and reload your UI) and are either:

- using kgPanels with advanced backdrop settings, or
- using LibBackdrop-1.0 in your own addon,

... feel free to replace the LibBackdrop file in kgPanels/your addon with the one attached to this post. Let me know if anything untoward happens, or all goes well.
Attached Files
File Type: lua LibBackdrop-1.0.lua (23.8 KB, 42 views)
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Unread 01-16-14, 05:04 AM   #2
Resike
A Molten Giant
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 639
Havn't tested just checked the code, so i might be wrong but this function:

Lua Code:
  1. function Backdrop:BorderTextureFunction(func,...)
  2.     -- check to see the function exists for a texture object
  3.     if not self._backdrop.bgTexture[func] then return end
  4.     for point, texture in pairs(frame._backdrop.edgeTextures) do
  5.         texture[func](texture,...)
  6.     end
  7. end

Shouldn't have "self._backdrop.edgeTextures" instead of "frame._backdrop.edgeTextures"?
Resike is offline   Reply With Quote
Unread 01-16-14, 05:09 AM   #3
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,576
Yep, good catch. Apparently kgPanels doesn't use that function, or I didn't find the option that makes it use it.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » General Authoring Discussion » Looking for some heavy kgPanels users to test

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off