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

  • 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

Facts

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

Authors