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 xxNesherxx xxNesherxx Jul 14, 2010 at 05:18 UTC - 0 likes

    I did the recent updates for KG Panels and I tried to setup a new toon and when I went to the Active Panels > Texture Options > Background Ttextures dropdown menu I get this error msg:

    Message: ...s\AceGUI-3.0-SharedMediaWidgets\BackgroundWidget.lua line 42: attempt to perform arithmetic on global 'number' (a nil value)

    All of the textures are gone. My other toons are fine and their settings and textures are still working. But if I choose to check the textures there I get the same error msg. Please assist.

    Thank you.

  • Avatar of kagaro kagaro Jul 02, 2010 at 01:06 UTC - 0 likes

    you can still anchor it there, just reset the offsets lower

  • Avatar of tordenflesk tordenflesk Jul 01, 2010 at 15:20 UTC - 0 likes

    Now that ChatFrame1 starts all the way up by the new social-button. What do i anchor my panel to for it to fit my chatframe?

  • Avatar of guiedo guiedo Jun 20, 2010 at 21:37 UTC - 0 likes

    Hello Great AddOn, By chance is there a way to format the numbers you get from GetSpellCritChance()?

    Would like to only show up to 2Decimal places.

    Thank you in advance for any help.

  • Avatar of DasFaultier DasFaultier Jun 14, 2010 at 15:21 UTC - 0 likes

    @Kazazik:

    It's easier if you just parent/attach the Panel on Omen and then config Omen for the situations.

    Parent it to "OmenBarList". Works well.

  • Avatar of Kazazik Kazazik Jun 09, 2010 at 21:44 UTC - 0 likes

    Hello all. I made a panel for omen for example. I want it to be shown in raid and party and not to be shown on Battleground. I use this script, but what i have to add to hide panel on BG ?

    In each Panel set the OnLoad script 
     self:RegisterEvent("PLAYER_ENTERING_WORLD")
     self:RegisterEvent("PARTY_MEMBERS_CHANGED")
     self:RegisterEvent("RAID_ROSTER_UPDATE")
    
    Then in each Panel OnEvent script: 
     local pmems = GetNumPartyMembers()
     local rmems = GetNumRaidMembers()
     if (pmems < 1 and rmems < 1) or (pmems > 0 and pmems < 6 and rmems < 6) then
        self:Hide()
     else
        self:Show()
     end
    

    What?! Spelling? Gramma? English? Ermm m8 i dont know what that words means...

  • Avatar of kagaro kagaro Jun 04, 2010 at 13:22 UTC - 0 likes

    just add a variable to the panel.

    like self.wasHidden = false

  • Avatar of DasFaultier DasFaultier May 02, 2010 at 17:11 UTC - 0 likes

    Aloha Kagaro!
    Simple and short question:
    Is there a function to make the panels remember their old alpha-level/hide-show-status?
    Because i managed to attach 7 panels with a hide/Show-Button and i want the hidden ones to be hidden again when i log in.
    Anything in mind?
    Greetzs, Faultier

    Last edited May 08, 2010 by DasFaultier
  • 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.

Facts

Date created
Sep 16, 2008
Category
Last update
Jul 19, 2016
Development stage
Release
Language
  • enUS
  • frFR
  • koKR
  • zhCN
License
All Rights Reserved
Curse link
kgPanels
Reverse relationships
1
Downloads
1,935,205
Recent files
  • A: r438 for 7.0.3 Jul 19, 2016
  • 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

Authors