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.
-
View User Profile
-
Send Message
Posted Apr 22, 2012http://www.wowace.com/addons/kg-panels/files/ 4.3 version.
-
View User Profile
-
Send Message
Posted Apr 17, 2012Out of the blue from everything working correctly I now get an error when logging in:
A /rl will seemingly fix this error until next time I log in. The error cause all panels to be hidden until the /rl. I have deleted my saved variables (for kgpanels) which on 1st log in didn't error, but after setting up my four panels once again errored on the next login.
Started last night for no obvious reason when I changed my UI, I have four panels that mask the lower area of the screen kgPanel1 is anchored to the UIParent (bottom, bottom) and the other three panels are anchored to kgPanel1. These panels havn't changed appreciably since I returned to WoW with the 4.3 release.
-
View User Profile
-
Send Message
Posted Apr 14, 2012fixed
-
View User Profile
-
Send Message
Posted Apr 11, 2012Kagaro, you put the script for OnClick, has an error and confusion can lead people to not have much idea of ​​programming, if you can change elsif - elseif, will be better, I think I broke his brain was not working because your script when I gave him to copy - paste XD
P. D. I hope my comment did not offend you friend
-
View User Profile
-
Send Message
Posted Apr 9, 2012@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
-
View User Profile
-
Send Message
Posted Apr 9, 2012hello, 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/
-
View User Profile
-
Send Message
Posted Mar 30, 20122x 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
-
View User Profile
-
Send Message
Posted Mar 17, 2012Experiencing 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
-
View User Profile
-
Send Message
Posted Mar 31, 2012I got the same issue. Anyone have a solution?
-
View User Profile
-
Send Message
Posted Jan 29, 2012Need update!
-
View User Profile
-
Send Message
Posted Dec 2, 2011update them pls
-
View User Profile
-
Send Message
Posted Nov 22, 2011Is it possible to simulate a button using a panel and pressed effect?
-
View User Profile
-
Send Message
Posted Nov 9, 2011Hi 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.
-
View User Profile
-
Send Message
Posted Nov 8, 2011How 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.
-
View User Profile
-
Send Message
Posted Nov 6, 2011Hi 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!
-
View User Profile
-
Send Message
Posted Nov 6, 2011Hi 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!
-
View User Profile
-
Send Message
Posted Sep 18, 2011Hi, 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.
-
View User Profile
-
Send Message
Posted Aug 23, 2011-
View User Profile
-
Send Message
Posted Jul 23, 2011i keep getting the error message that it will no load. any help or advice?
-
View User Profile
-
Send Message
Posted Jul 24, 2011