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.
Any updates?
Every texture I import is green. They're tga's from SharedMedia.
The Config no longer works as of 7.3... I can open it, but cannot close it. I can't create, switch, or delete layouts. Haven't tried actually editing panels yet but results are doubtful.
I have a series of otherwise identical panels behind each of the action buttons on my screen (two different types - giving a visual indication of buttons that are bound [or not bound] to one of my input device keys (G13, NumPad, G600MMO Mouse Side Array)).
One of those buttons is not always visible on-screen (what is called sometimes the 'Boss Button" or "Zone Ability Button") and I'd like to have the panel placed where that button appears to set alpha to 0 when that button is NOT available and to 1 when that button IS available, but I have no idea how to go about that.
If you have any thoughts on being able to tie a panel's visibility to that of it's parent's visibility, I would appreciate hearing about it.
This add on has been a staple for me for almost 8 years now. Very well versed in creating and customizing panels with zero issues... except one. I've dealt with it all this time, but it's getting worse and would love some feedback.
When parenting a panel to any PitBull 4.0 unit frames, the scale, shape, and overall location of the panel is almost always off. I.E. My character unit frame is always shown, with KGpanels parented to both the health and mana bars, with a preset, small, blank space in between, without a panel. On any given load in these frames may be perfectly parented to each bar... or shift up, down, or adjust in overall scale or just in length or height. Sometimes a reloadUI is all it takes to fix it, sometimes not. And as I have additional frames (target, ToT, and pet) all parented and hidden when not in use, sometimes I don't know if a broken panel exists until we've pulled a boss and it covers my entire screen. Worth noting the pitbull frames never adjust in size or populate additional bars or combo points or any other variable. Everything is preset and static, with the exception of hidding the mentioned frames when not in use.
Man, I've been using this for so long and I've always had this error, any help is appreciated
1x [ADDON_ACTION_BLOCKED] AddOn 'kgPanels' tried to call the protected function 'CompactRaidFrameManager:SetFrameStrata()'.
!BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573>
[C]: in function `SetFrameStrata'
[string "Main_OnEvent"]:7: in function <[string "Main_OnEvent"]:1>
Ive been using this addon for a while through someone elses UI, It's been fine for ages but when i logged in the other day all the Panels that are parented with my PitBull frames randomly disappeared, any frame i create works fine until the point of parenting it with a PitBull frame. Any help with this would be much appreciated
I am having the same problem and it's very frustrating, hopefully there is a fix soon
Same here
So for the life of me I cant figure out how to get my art into the addon. I have put the art into a folder within the wow folder, used the \\ in front of each folder and at the beginning and all I ever get is just a solid green field.
https://www.wowace.com/addons/kg-panels/files/8057-r438/ update on here
Is it possible to run a macro through clicking on a panel? For example, I want to make a panel that when clicked once, it will run /on then clicked again to run /off.
I've been trying to figure out how to make a panel switch between two different alpha values when clicking the panel.
I thought this would do the trick:
if pressed then
..if self:GetAlpha(.75) then
....self:SetAlpha(.25)
..else
....self:SetAlpha(.75)
..end
end
But it only makes the panel get an alpha value of .25 when I click it the first time. When I click it again it does not go back to .75.
How do I make the panel truly toggle-able?
Any help would be greatly appreciated!
hello, i have made a overlay and imported it into kgpanels it show up but what the problem is that when i import it in kgpanels there is a white background on it and its not transparent and idea how to fix it:
Ingame:
https://gyazo.com/c45c166d05ce92a5c78033f4c6e2e05d
how it should look like :
http://i.imgur.com/AonLhOp.png
if you're using photoshop use Save to Web and check the box that says "keep transparency". There may be a better way but this is how I keep transparency on my PNGs.
When will this addon be updated?
It just updated for me to r438, i used Curse client.
He's not lying, you can see it right here, it's an alpha version thou so you might not get it unless you change some settings in your client.
right click the addon in the curse client and set preferred release typ to alpha. it will give you an update which works