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 doriginal1 doriginal1 Aug 07, 2009 at 17:59 UTC - 0 likes

    Hi, 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.

  • Avatar of kagaro kagaro Aug 07, 2009 at 11:48 UTC - 0 likes

    if you getting a big framerate drop its most likely a script your using. after the panels are loaded kgpanels uses no cpu anymore.

  • Avatar of Kuzah Kuzah Aug 07, 2009 at 06:17 UTC - 0 likes

    Is 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.

  • Avatar of Safturento Safturento Aug 07, 2009 at 03:05 UTC - 0 likes

    After 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

  • Avatar of kagaro kagaro Jul 25, 2009 at 12:25 UTC - 0 likes

    midgetmage55

    Good catch, it was some left over code. pytting a fix in now.

  • Avatar of midgetmage55 midgetmage55 Jul 25, 2009 at 01:42 UTC - 0 likes

    I figured out what the issue is. The length of the name i give to the art element when adding it (the file name length did not seem to make a difference however) was too short.

    I was trying to label my elements with short names (like going from DemonicLeft to DL) To make the lists easier to read. Well apparently the names have to be at least 3 characters long.

    My test:

    • Part 1) Removed the WTF and started fresh. Enabled only kgpanels initially. Loaded my original art under the element name D1. The art shows in preview. Create a layout named Test. Create a new panel. Select the texture D1. During the selection the art is also showing in the preview. Set the panel color to white and slide the alpha slider to 100%. Box shows as totally white.
    • Part 2) Add a second texture under the name Center using the renamed art from my first example. Create a new panel in the same layout and set the texture as center. It shows as would be expected.
    • Part 3) Delete D1 element and re-add it under the name Middle (original art). Make a new panel and set it as the middle texture which works just fine.
    • Part 4) Using the original art i add it several times over under various names (D12, D123, C1 and C12) and so on to see if its the numbers throwing it off. All worked except for the C1 name. So i concluded it was the name of the element causing it not to load in the panel.

    During parts 2-4 I had enabled bugsack to see if any errors dropped and none did. Did a quick retest of 2-4 without it and got the same results so it had nothing to do with a reload.

    Hope that helps. If its not something worth trying to correct it might be worth while to add a note on element name length in the FAQ in-game.

    P.S. Sorry it took so long to reply. Had a busy week. =)

    Last edited Jul 25, 2009 by midgetmage55: Clarification. I think ....

    "I like it when I see a flower or a tuft of grass growing through a crack in the pavement. Its so fucking heroic!" - George Carlin

  • Avatar of kagaro kagaro Jul 20, 2009 at 09:34 UTC - 0 likes

    lemme knw if you figure anything out midgetmage55

  • Avatar of midgetmage55 midgetmage55 Jul 19, 2009 at 06:51 UTC - 0 likes

    Yeah i spent about an hour trying everything i could think of to get them to show up in an actual panel. Eventually i just moved the files to a new folder. Opened my graphics editor and re-saved them without making any changes short of the names of the files (removed any capitalization basically) and importing them again to the addon. Not sure why but it worked.

    My only guess is there is something in my saved variables causing the issue. And being that i have roughly 20 saved layouts deleting it wasnt much of an option. Suffice to say everything is working now.

    I have a back up of my WTF folder from 3 or so days ago. I may experiment with it and see if i can track the problem down.

    Will post back if i find anything.

  • Avatar of kagaro kagaro Jul 18, 2009 at 16:29 UTC - 0 likes

    Wierd Midgetmage55, if it shows up im the preivew then it did correctly load. Have you tried setting the background type settings i.e. None?

  • Avatar of midgetmage55 midgetmage55 Jul 18, 2009 at 04:41 UTC - 0 likes

    Running in to an oddity. I'm adding some background textures to my library and they show up on mouse over just fine. When i go to add them to a panel however nothing appears. I just get the standard panel. Changing color, opacity or anything else works as you would expect with the exception of the art not showing. It only happens to one specific set of textures. And for all versions of them. The rest of them work as intended.

    I'm certain the textures are set up properly for showing in game as i can load them in a copy of eepanels 2 i still have around for some reason.

    I made sure that im up to the current version before posting.

    Any ideas?

    EDIT: Just did a test and if i tile the image i can at least see it but as soon as i turn off tiling it disappears again.

Facts

Date created
Sep 16, 2008
Category
Last update
Sep 10, 2013
Development stage
Release
Language
  • enUS
  • frFR
  • koKR
  • zhCN
License
All Rights Reserved
Curse link
kgPanels
Reverse relationships
1
Downloads
1,750,602
Recent files
  • R: 1.17 for 5.4.0 Sep 10, 2013
  • A: r428 for 5.4.0 Sep 10, 2013
  • R: 1.16 for 5.3.0 May 22, 2013
  • A: r426 for 5.3.0 May 22, 2013
  • A: r425 for 5.2.0 Apr 29, 2013

Authors