kgPanels

Create panels for customizing your UI, sucessor to eePanels

Wiki and FAQ

Sample Scripts

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of trotskyicepick trotskyicepick Oct 18, 2010 at 23:48 UTC - 0 likes

    How on earth did you discover that? Looks OK now.....thanks.

  • Avatar of kcuhc kcuhc Oct 18, 2010 at 23:07 UTC - 0 likes

    This error is not happening on all my character since the last update. 2 of my toons' layouts are fine. But one is destroyed. Lets see....

    Change Background Color Style from "Solid" to "None" on the offending texture-based panels. This fixes the problem. And the toons where the Panels were working fine, this was already set to "None"

    Last edited Oct 18, 2010 by kcuhc
  • Avatar of kittykatmax kittykatmax Oct 18, 2010 at 22:29 UTC - 0 likes

    I am having the same problem - white panels for most of the art that was working just fine previously. Deleting and recreating the panels doesn't fix the issue.

  • Avatar of trotskyicepick trotskyicepick Oct 18, 2010 at 22:10 UTC - 0 likes

    Please see http://forums.wowace.com/showthread.php?p=308871

    My panels replaced by white block after last update.

  • Avatar of kagaro kagaro Oct 18, 2010 at 20:50 UTC - 0 likes

    kcuhc .. fixed, in next 1.5.4.2

  • Avatar of kcuhc kcuhc Oct 18, 2010 at 18:50 UTC - 0 likes

    posted this in the forums but im not sure if i should post bugs there.

    Since the patch, I've been unable to use kgPanels to color frames. Only frames that show are frames with a custom texture applied. If I use the mod to create a colored frame, gradient frame or anything with no texture added to it, it shows up invisible. Borders work, but Frame background does not.

  • Avatar of Sallv Sallv Oct 17, 2010 at 17:09 UTC - 0 likes

    I see. It never happened before and I've had my panels set up that way for some time now. I've essentially solved this anyway. All I did was remove the anchor to the party frames and just set the size to a percentage of the party frames afterwards, then dragged the frame behind where the party unit would be when that space in the party is filled.

    Either way, thanks for taking the time to investigate the issue and if it gets to be a problem, I will look into creating a script for the panels.

    Last edited Oct 17, 2010 by Sallv
  • Avatar of kagaro kagaro Oct 17, 2010 at 16:37 UTC - 0 likes

    Ok here is the issue, when you login and ARENT in a party the group unit buttons are size 0,0 so a percentage is gonna give you size 0,0 hence why they arent visible. To work around this what you could do is add a OnLoad script that adds a OnSizeChange script to resize your kgpanel when pitbulls frame resizes. OR add a OnEvent script that looks for party size changes and resize it yourself.

  • Avatar of DasFaultier DasFaultier Oct 17, 2010 at 16:29 UTC - 0 likes

    Hey, i'va got a quite interesting idee of coloring FrameBorders. I use kgpanels quite much in my UserInterface (http://www.wowinterface.com/downloads/info14170) and atm the borders are colored by classcolor (before, they were light-grey). But now i'm getting requests to add apossibility to add a feature, to change the Color easily.

    There i've got some questions: 1.) Can i attach severel frames to a synonym? e.g.:

     local_, Border = kgPanels.FetchFrame("Frame1"); kgPanels.FetchFrame("Frame2"); ....
    

    2.) Can i change the OnLoadScripts via a button-a-like frame? So, if i click this frame, it changes the OnLoadScripts of the frames? 3.) Is there a possibility to show a color-pick-circle (the same thing you can see if you color a border via kgpanels config), pick the specific color and then to add the values somewhere?

    So, my idea is like this: I create two frames - same size, same position and both clickabe, one shown, second hidden. If i click the shown frame, the little window with the color-circle appers, i pick a color and the framebordercolors are changed. at the same time, the button-frames hides and the other button is shown. if i click this button, the border is again classcolored, the button is hiidden and the first button is shown.

    Ideas? :D

  • Avatar of kagaro kagaro Oct 17, 2010 at 16:14 UTC - 0 likes

    ill see whats going on, i dont use pitbull4 myself so will require some legwork.

Facts

Date created
Sep 16, 2008
Category
Last update
Jun 23, 2015
Development stage
Release
Language
  • enUS
  • frFR
  • koKR
  • zhCN
License
All Rights Reserved
Curse link
kgPanels
Reverse relationships
1
Downloads
1,882,577
Recent files
  • A: r437 for 6.2.0 Jun 23, 2015
  • A: r436 for 6.1.0 Feb 24, 2015
  • R: 1.20 for 6.0.2 Oct 24, 2014
  • R: 1.19 for 6.0.2 Oct 17, 2014
  • A: r433 for 6.0.2 Oct 17, 2014

Authors