Create panels for customizing your UI, sucessor to eePanels
OnClick now provides a pressed and released variable you can check for.
if pressed then -- do mouse down actions elsif 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.
Facts
- Date created
- 16 Sep 2008
- Category
- Last update
- 09 Aug 2009
- Development stage
- Release
- Language
- enUS
- frFR
- koKR
- zhCN
- License
- All Rights Reserved
- Curse link
- kgPanels
- Reverse relationships
- 1
- Recent files
Authors
Relationships
- Embedded library
- Ace3
- AceGUI-3.0-SharedMediaWidgets
- CallbackHandler-1.0
- LibSharedMedia-3.0
- LibStub
- #69
sirspikey Thu, 13 Aug 2009 19:47:34Hi, excellent addon btw :)
I was wondering:
I'm trying to make the healthbar look like it rises from some other part off my ui, when i target someone or entering combat. I got all the other stuff working in the script but can't find out haw to access the objects (HPBar) coordinates from the scripting in kgpanels.
Tried stuff like kgPanelsDB.global.layouts.<panelname>.test.absolute_bg.URx self:setoffset
Don't know what to call for and where i should insert the new cords.
- #68
kagaro Sat, 08 Aug 2009 12:39:39ill look at see if there was some other api change causing the issue.
- #67
BlackDespondency Sat, 08 Aug 2009 05:44:51Hey kagero - I have seen a couple of your posts on pitbull4 threads, but i have a question about the linking of kgPanles to the show and hide of the pitbull frames. This is in an effort to remove the lag present when using the normal RegisterEvent process.
Any insights? Googled the hell out of it and cant find any hooks to pitbull.
- #66
doriginal1 Fri, 07 Aug 2009 17:59:48Hi, I posted an issue on curse Im having and today's update didn't fix it unfortunately. I have two panels that are parented to My Unit frames, for some reason the panel with Background strata is appearing over the panel with Low strata. This gets fixed temporarily by quickly adjusting the background panel's level from 0 to 20 then back to 0. But when I relog the strata goes back to cover the low strata panel.
Is this a known issue after 3.2, because my settings have not changed and it worked before the patch. I have tried everything, re parenting, diff stratas, and new panels. I dont know what else to do to fix it. Any ideas? Thanks so much for any help.
- #65
kagaro Fri, 07 Aug 2009 11:48:11if you getting a big framerate drop its most likely a script your using. after the panels are loaded kgpanels uses no cpu anymore.
- #64
Kuzah Fri, 07 Aug 2009 06:17:04Is it possible to do something like, if a panel is attached to the chat box, it will be able to shrink with the fading text? So like if all the text is faded out the panel will not be visible.
- #63
Safturento Fri, 07 Aug 2009 03:05:59After patch 3.2, I have a massive framerate drop(I go from 60 to 7) with KgPanels. Has anyone else noticed this, and if so is it a simple fix or does the addon neeed to be updated?
Thanks, Safturento
- #62
kagaro Sat, 25 Jul 2009 12:25:05midgetmage55
Good catch, it was some left over code. pytting a fix in now.
- #61
midgetmage55 Sat, 25 Jul 2009 01:42:35I figured out what the issue is. The length of the name i give to the art element when adding it (the file name length did not seem to make a difference however) was too short.
I was trying to label my elements with short names (like going from DemonicLeft to DL) To make the lists easier to read. Well apparently the names have to be at least 3 characters long.
My test:
During parts 2-4 I had enabled bugsack to see if any errors dropped and none did. Did a quick retest of 2-4 without it and got the same results so it had nothing to do with a reload.
Hope that helps. If its not something worth trying to correct it might be worth while to add a note on element name length in the FAQ in-game.
P.S. Sorry it took so long to reply. Had a busy week. =)
"I like it when I see a flower or a tuft of grass growing through a crack in the pavement. Its so fucking heroic!" - George Carlin
- #60
kagaro Mon, 20 Jul 2009 09:34:36lemme knw if you figure anything out midgetmage55