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.
@palthis
If possible make a panel button has an effect, I've done this:
OnClick
if pressed then
self:SetWidth(190) self:SetHeight(55)
elseif released then
self:SetWidth(200) self:SetHeight(60)
end
hello, my name is victor, sorry for my bad English.
I use almost KgPanels since it was created, I have much knowledge of programming but I'm learning through Kagaro, I put a screenshot of my UI KgPanels totally made by using many of the scripts present on this forum and other pages, if someone want to know as I have done any of the parts that make up that let me know by private message or just putting it here.
http://imageshack.us/photo/my-images/706/wowscrnshot040912135024.jpg/
2x CreateFrame: Can"t create protected "Button" now
<in C code>
<in C code>
<in C code>
<in C code>
Blizzard_CompactRaidFrameContainer.lua:343: in function "CompactRaidFrameContainer_GetUnitFrame"
Blizzard_CompactRaidFrameContainer.lua:315: in function "CompactRaidFrameContainer_AddUnitFrame"
Blizzard_CompactRaidFrameContainer.lua:255: in function "CompactRaidFrameContainer_AddPlayers"
Blizzard_CompactRaidFrameContainer.lua:177: in function "CompactRaidFrameContainer_LayoutFrames"
Blizzard_CompactRaidFrameContainer.lua:131: in function "CompactRaidFrameContainer_TryUpdate"
Blizzard_CompactRaidFrameContainer.lua:58: in function "CompactRaidFrameContainer_OnEvent"
<string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
Locals:
(*temporary) = "Button"
(*temporary) = "CompactRaidFrame2"
(*temporary) = CompactRaidFrameContainer {
unitFrameUnusedFunc = <func> @Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameContainer.lua:47
flowSortFunc = <func> @Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:763
groupMode = "flush"
raidUnits = <table> {}
frameUpdateList = <table> {}
flowOrientation = "vertical"
showBorder = true
borderFrame = CompactRaidFrameContainerBorderFrame {}
flowFilterFunc = <func> @Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:831
MAParent = "RaidUnitFramesMover"
groupFilterFunc = <func> @Blizzard_CompactRaidFrames\Blizzard_CompactRaidFrameManager.lua:861
partyUnits = <table> {}
flowMaxPrimaryUsed = 71.9999938146
flowMaxSecondaryUsed = 36.000017150427
units = <table> {}
flowPauseUpdates = true
enabled = false
frameReservations = <table> {}
flowFrames = <table> {}
0 = <userdata>
displayFlaggedMembers = true
}
(*temporary) = "CompactUnitFrameTemplate"
= <func> =[C]:-1
= <func> @..\kgPanels.lua:286
Experiencing and issue.
For some reason all of my files are comming accross as just green files in world of warcraft.
I've tried TGA 16,TGA 22,TGA 32 all with RGB-8 coloring and nothing.
Going freacking crazy here lol please advise
I got the same issue. Anyone have a solution?
Need update!
update them pls
Is it possible to simulate a button using a panel and pressed effect?
Hi I got KG panels a long time ago and i loved the concept how ever i am not good at using photo shop. I am wondering if anyone might be able to help me create a panel. I have an img. that i want to use. Its based off the new darkmoon fair art. If you can help me do it please send me a message.
How does scaling work? I made a panel with no UI scaling, 1440 wide on a 1440x900 full screen client. When I press command-m (on the mac) the panel does not scale down to the window's width.
Hi all. Took a long break from WoW, finally getting back into it, and there's something I had on my old UI that I can't remember how to recreate (because it required a little bit of code in the kgPanels config menu).
Essentially, I have three separate kgPanels that fit behind my Grid frames. One is sized for a 5-man party, one for a 10-man raid, and the other for a 25-man raid. I know there's something you can put in each of those frames's config that'll only make them show up for the appropriate party size.
So, for example, if I'm soloing, none of them show. As soon as I enter a party, the 5-man one appears. If I join a raid, 10-man, or if it's 25, 25-man. So on and so forth.
Does anyone know what I need to put in? It's two fields (I'll have to look up which), but it was something like scan party, then IF members are >2 and <11, show.
Etc.
Thanks!
Hi all. Took a long break from WoW, finally getting back into it, and there's something I had on my old UI that I can't remember how to recreate (because it required a little bit of code in the kgPanels config menu).
Essentially, I have three separate kgPanels that fit behind my Grid frames. One is sized for a 5-man party, one for a 10-man raid, and the other for a 25-man raid. I know there's something you can put in each of those frames's config that'll only make them show up for the appropriate party size.
So, for example, if I'm soloing, none of them show. As soon as I enter a party, the 5-man one appears. If I join a raid, 10-man, or if it's 25, 25-man. So on and so forth.
Does anyone know what I need to put in? It's two fields (I'll have to look up which), but it was something like scan party, then IF members are >2 and <11, show.
Etc.
Thanks!
Hi, I've been using kgpanels as a border for my target unit frame. I'm currently using the script given from the sample scripts page and there appears to be a delay when I select/deselect a target. Is there a way to reduce to remove this delay? Thanks.
i keep getting the error message that it will no load. any help or advice?
Love kgpanels.
Not sure if this is the right place for this or not.
I have been researching for hours trying to figure if/how to create a panel to show local/server time on mouse over. Example the panel on default will show either the local or server time and then on mouse over show the opposite time.
I have also been doing alot of research trying to get the micro menu buttons I created in kgpanels to reference thier tooltip on mouseover.
Again sorry if im in the wrong spot, any help is appreciated.
jotunhawk, use the example texture pack above to drop your artwork in so the client doesnt remove the folder again. The curseclient removes and readds the folders when it updates so the above texture pack saves you form update pain. thats what i use to hold all my art so i dont have this issue
So I found an old backup I made, I placed the artwork in the folder again...and pressed update kgpanels, and presto...it removed the artwork that was in that folder...again... somehow the curse updater removes everything in that folder and replaces it with the updated version of 1.6
This is the path to the artwork I had before the update...
Interface\AddOns\kgPanels\btn_box_2.tga
but after the update all the tga files that was in that folder got deleted. I do not know why an update would remove files not in the file list for updates...