kgPanels
Create panels for customizing your UI, sucessor to eePanels
OnClick now provides a pressed and released variable you can check for.
if pressed then -- do mouse down actions elseif released then -- do mouse up actions end
This means your script will get called twice when someone clicks the panel.
Here is a youtube link to a video Tutorial
Ive created an Example Texture Pack.
This example pack is just a template. If you want to use it as a storage spot for your art, look at the read me file for directions on usage.

 
         
        
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 24, 2009First of all.... Nice addon I have played with it and have setup a nice UI with it.. But have a question regarding scripts.. (I am a totally noob with scripts).
What is am looking for ?
I have placed the (group) kg panels on the same spot as where the Unit frames appearing when people join the group, what i like to get is that screen is empty from these panels and that they are loading automaticly when a player enter the group. I believe that can be done on onload.. not sure.
pls help me out tnx
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 17, 2009Hi, excellent addon btw :)
I was wondering:
I'm trying to make the healthbar look like it rises from some other part off my ui, when i target someone or entering combat. I got all the other stuff working in the script but can't find out haw to access the objects (HPBar) coordinates from the scripting in kgpanels.
Tried stuff like kgPanelsDB.global.layouts.<panelname>.test.absolute_bg.URx self:setoffset
Don't know what to call for and where i should insert the new cords.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 17, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 13, 2009Hi, excellent addon btw :)
I was wondering:
I'm trying to make the healthbar look like it rises from some other part off my ui, when i target someone or entering combat. I got all the other stuff working in the script but can't find out haw to access the objects (HPBar) coordinates from the scripting in kgpanels.
Tried stuff like kgPanelsDB.global.layouts.<panelname>.test.absolute_bg.URx self:setoffset
Don't know what to call for and where i should insert the new cords.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 13, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 8, 2009ill look at see if there was some other api change causing the issue.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 8, 2009Hey kagero - I have seen a couple of your posts on pitbull4 threads, but i have a question about the linking of kgPanles to the show and hide of the pitbull frames. This is in an effort to remove the lag present when using the normal RegisterEvent process.
Any insights? Googled the hell out of it and cant find any hooks to pitbull.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 7, 2009Hi, I posted an issue on curse Im having and today's update didn't fix it unfortunately. I have two panels that are parented to My Unit frames, for some reason the panel with Background strata is appearing over the panel with Low strata. This gets fixed temporarily by quickly adjusting the background panel's level from 0 to 20 then back to 0. But when I relog the strata goes back to cover the low strata panel.
Is this a known issue after 3.2, because my settings have not changed and it worked before the patch. I have tried everything, re parenting, diff stratas, and new panels. I dont know what else to do to fix it. Any ideas? Thanks so much for any help.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 7, 2009if you getting a big framerate drop its most likely a script your using. after the panels are loaded kgpanels uses no cpu anymore.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 7, 2009Is it possible to do something like, if a panel is attached to the chat box, it will be able to shrink with the fading text? So like if all the text is faded out the panel will not be visible.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 6, 2009After patch 3.2, I have a massive framerate drop(I go from 60 to 7) with KgPanels. Has anyone else noticed this, and if so is it a simple fix or does the addon neeed to be updated?
Thanks, Safturento
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 6, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 6, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 5, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 5, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 5, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 5, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 31, 2009this panel is placed directly on top of another panel, panel5b, i would like to have panel5b hide when panel5 is shown and show when panel5 is hidden. any help with this script would be greatly appreciated.
here are links to pics if this will help.....
http://img187.imageshack.us/img187/3157/wowscrnshot073009183013.jpg with panel5 "parented frame" shown
http://img194.imageshack.us/img194/2170/wowscrnshot073009182953.jpg with it hiden showing only panel5b
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 27, 2009- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 25, 2009midgetmage55
Good catch, it was some left over code. pytting a fix in now.