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.
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!
/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.
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!
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
//Interface/Addons/MyTextures/mytexturefile.tga
Make sure to press "Okay" or enter after putting the information into the fields. After that, you create a new layout, then create a new panel, go to the texture options of that panel and select whatever texture you desire. If you have a texture, you have to set the background on the main options for that panel to "solid" unless you want it to be transparent. Just play around with things the worst that can happen is that you'll have to delete your layout. Read the FAQ though, there is lots of information there.