kgPanels
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 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.
It explains all of that.
I have a "Basic" layout I use. This layout I need to adjust 1 frame when using the layout with my DK. So, I saved the "Basic" as "Default" and then loaded up my DK, switched the profile to "Class: Death Knight" and changed the 1 frame.
My issue is that once I log back to my Hunter, even tho his profile is set to "Default" the changes that I made to the 1 frame for my DK, show up for my Hunter as well. Even tho they are both using seperate profiles.
I even double checked. Hunter is "Default". DK is "Class: Death Knight" yet if I change one, the effects are apparent on both.
Any help / ideas? Would be appreciated.
Thanks.
I am importing custom textures. They appear correctly within the Art Library. But when I try to apply the texture to a panel nothing appears unless tiling is enabled.
Thanks
file this one under bugs/API limitations
I am trying to create my own UI (with some help with art) and I am getting stuck. If you look at the left side of the UI you will notice that it is transparent and very dark. On the right side I have color added but it shows behind the dragon, which I am trying to avoid. I would like the free flying dragon on the left with the brightness of the dragon on the right. Is this possible? http://www.maryandjon.com/images/dragonui.gif
i'm using Prat to customize my chat. Prat offers a fading option to the chat, but not the chatframe itself. I just want to get the panel behind my chatframe to fade when the chat fades. Found a lot of similiar problems, but no script or anything else to solve my problem.
Everything inside the chatframe fades after about 60 seconds, so it seems to disappear. The panel behind should do the same, but I just don't get it.
/print GetMouseFocus():GetName()
DEAD USEFUL when trying to attach panels to (sorry for my lack of terminology) "things".
Could you guys help me with a simple script for kgPanels. I want to create a panel to "frame" the party name plates/portraits for when I'm in a group. I saw in your example scripts that you have this, however it isn't working for me (I copied and pasted exactly as it was posted):
Adjusting Panels based on Raid or 5 Main party 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
Has anyone gotten this to work? Are there any other modifications I have to use with this script for it to work - all I did was create a new panel, entered in the OnLoad and OnEvent script and tested it by entering a party - no panel :(
Help!
Basically what I want is when I join a group for a already created Panel to be used as the backdrop for my party unit frames - so when I'm not in a group it's hidden and when I join a group it appears behind the party frames. Also, would there be a way to have it scale with the number of players in the party?
Thanks to anyone who can help!
/script message(GetMouseFocus():GetName())
Then when you have the name of your topmost party frame, you simply type that name EXACTLY LIKE IT APPEARS in the "Parent" box of your kgPanel frame you want for your party frames.
Hows it working then?