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 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
  • Avatar of Sapphirecat Sapphirecat Mar 15, 2010 at 00:04 UTC - 0 likes

    Hi guys, I'm trying to create a panel that will show only when I have a WIM window open.

    I've got other panels parented to various frames from different addons and they work fine, but WIM seems to have a peculiarity when it comes to frame names. When I have a single whisper open, parenting to WIM3_msgFrame1 works perfectly. When I get another whisper, the panel only shows when I'm on the tab for the first message. There doesn't seem to be any part of the WIM window that has the exact same frame name on all the tabs. Is there a way to have the panel called whenever WIM is open, no matter which tab I'm on?

  • Avatar of StarGryphon StarGryphon Mar 10, 2010 at 01:05 UTC - 0 likes

    Thanks - The literal function worked great - I was able to get a bunch of data blocks off the screen.

  • Avatar of kagaro kagaro Mar 09, 2010 at 15:08 UTC - 0 likes

    local funkyNamedFrame = _G['literal name here']

  • Avatar of StarGryphon StarGryphon Mar 09, 2010 at 01:13 UTC - 0 likes

    I am having the same type of issue that DeathlaceVII is having. The LDB addons I am trying to script on/off based on mouse click have a space in the name or a '-' character. Is there some type of literal modifier or character escape process so these characters do not cause errors?

  • Avatar of madindehead madindehead Mar 06, 2010 at 16:26 UTC - 0 likes

    What I have done now kagaro, is opened both eePanels.lua file and kgPanels.lua that exist in the saved variable folder, and put in the values that way =)

    It's pretty much a direct copy from eePanels now. Thanks for the advice though ^^

  • Avatar of Calest Calest Mar 06, 2010 at 06:57 UTC - 0 likes

    I've been trying to find and create a script to show my attack power and update it as it changes.

    I thought the Bonus Spell Damage sample script would help me figure it out but when I put it in and reload nothing happens. I've checked intercept mouse clicks, copied the script and put it in exactly where it says to and nothing comes up in there either. I also tried a another sample script to show the panel only when in combat, same thing copy and pasted the script from Samples and reloadui, panel is there out of combat still.

    Is there a place that can help me with this? I am no programmer and don't really understand scripts (I'd like to). This seem either broken or I am missing something totally.

    Any help would be greatly appreciated.

Facts

Date created
Sep 16, 2008
Category
Last update
Oct 24, 2014
Development stage
Release
Language
  • enUS
  • frFR
  • koKR
  • zhCN
License
All Rights Reserved
Curse link
kgPanels
Reverse relationships
1
Downloads
1,838,818
Recent files
  • 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
  • A: r432 for 6.0.2 Oct 17, 2014
  • R: 1.18 for 5.4.8 Oct 14, 2014

Authors