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 Abingtapin Abingtapin Apr 26, 2010 at 13:00 UTC - 0 likes

    Hi--love this addon. I'm trying to do something which I think is pretty basic but I can't find any examples.

    I have my UI all set up but I created one panel (called "DmgType") that I use only once in a while, to collect some data about the current fight. Most of the time I don't want displayed; I don't want it even enabled. Is there a way to disable a single panel while leaving the rest enabled? Also, is there a way to do this--hopefully toggleable--with a macro from WoW? So when I want to enable the panel I'd left-click on the "enable DmgType" macro icon and when I want it disabled I'd right click the icon?

    Thanks in advance for any help!

  • Avatar of kagaro kagaro Apr 16, 2010 at 12:53 UTC - 0 likes

    im out of town for work till tommarrow. can you send me a link to one of the images so i can try it out and make sure the dimensiions and types are correct.

  • Avatar of DimaSoru DimaSoru Apr 14, 2010 at 10:49 UTC - 0 likes

    Hi! I have a giant problem with kgpanels! I can't load any texture. Tried a lot of textures (the ones I create myself + from packs for this addon that I downloaded) and none of them load. Have read FAQ + watched videos on youtube, but nothing helps. Tried downloading addon mannualy from curse + installed via WoWMatrix, but it is still the same. I really want to make this great addon to work propperly on my pc, so I need your help. What can I do to make it work?

  • Avatar of Whispyrn Whispyrn Apr 05, 2010 at 12:43 UTC - 0 likes

    Hi! I just wanted to know the script/parent for making a panel appear. I want a kitty to appear when im in cat form, a kibe to appear in bear, etc. Thanks in advance for any help you can give :)

  • Avatar of Nahida Nahida Mar 30, 2010 at 19:50 UTC - 0 likes

    Hey guys, i have a problem with configuring kgpanels texture to correspond with my presence (i'm a dk). Found that Presence is not a stance but a buff but i lack the knowledge to make the script for on Load and on Event that i should if i want my idea to work. Please help me making it happen. General idea is : if i'm Frost Presence then this texture will be shown, else not. Going to configure 3 textures for my UI each for Presence. Will be great if you could help me. Thanks

  • Avatar of kagaro kagaro Mar 28, 2010 at 00:19 UTC - 0 likes

    It works just fine 3.3.3 you sure you got the latest version?

  • Avatar of umpalumpa60 umpalumpa60 Mar 27, 2010 at 11:22 UTC - 0 likes

    is there any update for WoW 3.3.3?

    is doesnt work...today

  • Avatar of Arrowsong Arrowsong Mar 25, 2010 at 03:57 UTC - 0 likes

    Not sure about the class coloring altho I have seen it mentioned here in previous posts on how to obtain that effect... altho to have your panel appear/disappear, simply Parent it to said frame ;)

    Hope that helps

  • Avatar of Arrowsong Arrowsong Mar 24, 2010 at 23:15 UTC - 0 likes

    Evening Kagaro and friends.

    I have what I am sure is a simple problem, yet the solution evades me. (even after spending 2hrs'ish checking google and here)

    I use oUF for frames.

    I have created boarder/backdrops for all frames including party. I have parented and anchored everything correctly.

    Parent: oUF_PartyUnitButtonX (X being 1-4) Anchor: UIParent

    Everything works, I just seem to have a tiny annoyance.

    When I join group, Party Member 1 has their frame "framed and BG'd" but the others do not.

    Upon /console reloadui the rest all display properly.

    I am "assuming" this has to do with the frames spawning after KGpanels does it's check or something of the like.

    I'm pretty sure I read about something of this sort ages ago but I can not find anything of this nature in my current search.

    So, I thought I would post here and ask.

    Is there a way to remedy this without the need to reload my UI everytime I party/raid up? (I show party in raid. raid frames hidden)

    Appreciate any and all help.

    - Arrowsong

    ps. if there a script involved, please make sure to let me know where which parts go. I'm not the sharpest knife in the drawer.

  • Avatar of m31618570 m31618570 Mar 24, 2010 at 10:28 UTC - 0 likes

    Hi. Em, what script should i have in kgps for my panel to appear/disappear when i have a target selected/deselected? Also what is the command to change panel background color?

    Quote:

    if UnitExists("target") == nil then
    self:Hide()
    return
    end
    local cl = UnitClassification("target")
    if (cl == "elite") or (cl == "worldboss") or (cl == "rareelite") then
    self:SetBackdropColor(0.1, 0.1, 0.1, 0.1) <-here i would like to change background color
    self:Show()
    else
    self:SetBackdropColor(1, 1, 1, 1)
    self:Show()
    end

    What i want is when i sellect a target the designated panel to appear, also for it to have a color matching the class of target :D (i want to improve the Zonker UI -soz a little help? thx)

    Last edited Mar 24, 2010 by m31618570

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,911,772
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