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 rousa rousa Jan 06, 2011 at 12:33 UTC - 0 likes

    I'm a sucker to scripting. kept me up all night trying to figure it out..

  • Avatar of kagaro kagaro Jan 06, 2011 at 03:01 UTC - 0 likes

    if you write a script

  • Avatar of rousa rousa Jan 06, 2011 at 01:01 UTC - 0 likes

    Anyway to make a panel show if "target=pet"?

  • Avatar of kagaro kagaro Dec 05, 2010 at 18:40 UTC - 0 likes

    try setting the anchors and parents in a script and set pitbull as a dependancy. Part of it maybe how pittbull is creating those frames. Also may have todo with pittbull frame crcycling as well.

  • Avatar of angrysteel angrysteel Dec 05, 2010 at 02:03 UTC - 0 likes
    Quote:

    Now I'm using Pitbull4 and updated kgpanels and used moveanything to find out the pitbull frames are now labeled Pitbull4_Frames_whateverframelikeplayer/target. I tried using the old label and new label and when I do that the box I created just disappears.

    I noticed this too. You have the frame names right, and if they get thrown off your screen when you try to parent them / anchor them, just reload and do it again.

    Took me a long time of trial and error, and not sure whats causing it. But if i reload ui and recreate the frame, it works.

    Basically, if it gets thrown off the screen when you try to parent it, reload ui, try again. If that doesnt work, remake whatever you were trying to attach to the pitbull frame, and then try to parent it. Took me a few tries, but its working now for me.

    Only have this issue with Pitbull also. Never had an issue parenting to Omen, Recount, Minimap, etc.

    Last edited Dec 05, 2010 by angrysteel
  • Avatar of Minotaurz Minotaurz Dec 03, 2010 at 15:25 UTC - 0 likes

    Just came back to WoW and updating my UI and kgpanels is the last thing keeping me from having the old look back. The problem I'm having is I cannot get the boxes I create to attach to my unit frames (using Pitbull4). Before the update I was using Pitbull 3 and all I did was use the Parent and Anchor Frame setting to attach to PitbullUnitFrame. Now I'm using Pitbull4 and updated kgpanels and used moveanything to find out the pitbull frames are now labeled Pitbull4_Frames_whateverframelikeplayer/target. I tried using the old label and new label and when I do that the box I created just disappears.

    Here is what my old UI looked like and what I had around the unit frames http://www.wowinterface.com/download...WarriorUI.html

  • Avatar of SunTsu SunTsu Nov 13, 2010 at 17:57 UTC - 0 likes

    The language you see is Lua, the very language used in each and every Addon. http://www.lua.org/pil would be a good startingpoint and wowhead/wowprogramming as a reference for WoW specific stuff

  • Avatar of Stuckinwell Stuckinwell Nov 12, 2010 at 21:48 UTC - 0 likes

    I hope this isn't a terribly silly question, but is there any relatively easy location where one could find the general syntax used by this mod? I know what I want to do with my panels, but have no experience coding mods in WoW and thus my ideas for OnClick/OnLoad are going to waste. I see a few samples in the FAQ and on wowwiki, but not nearly enough to code something useful. A basic repository for common commands in the language would be extremely useful, though such a thing rarely exists in cases like this.

    Last edited Nov 12, 2010 by Stuckinwell
  • Avatar of DasFaultier DasFaultier Nov 11, 2010 at 14:57 UTC - 0 likes

    Hey, i would like to request again an idea to change the framebordercolor of ally my frames by clicking a single one. The mentioned variable, containing "was.hidden" is still a mystery to me. (Idea is 3 Posts below)

  • Avatar of kagaro kagaro Oct 30, 2010 at 00:22 UTC - 0 likes

    Loom927: if you have libsharedmedia installed correctly and something adding fonts to libsharedmedia they will show up in the dropdown

Facts

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

Authors