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.
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
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.
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.
/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?
//Interface/Addons/Textures/mytexturefile.tga
2) Did you set an alpha channel? kgPanels and WoW support alpha channels, so if you accidentally set one you can make it so that the panel is completely transparent.
got kgpanels, found some artwork i liked so i downloaded it too, didnt save it to anywhere just extracted in my addons folder. loaded the game and the artwork was there but was too wide on the screen.
how do i resize because when i went on the panel layout etc and tried to adjust, nothing happened...so is there something between a 'layout' and a 'panel' that i should know that would enable me to resize it?
tried the artwork with an addon called btex, which said to copy the tga files over to the btex folder. got the same problem of it being too wide. eventually discovered that this wide artwork i was seeing was from the original artwork folder. i deleted the original artwork folder and then was able to see and reize the artwork with btex.
as i cant seem to resize using kgpanels, is the artwork 'hidden' behind this wide one from the original folder? do i need to copy the tga files to somewhere and delete with original one? or am i just missing something?
any help much appreciated