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

  • 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?

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,892,907
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