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.
ScrappyDoo: what frame do you have it parented to?
hey, the bug ScrappyDoo mentioned also happens at my configuration, just using the sample script you provided (showing / hiding frames based on target-exists). Tested Version: 1.1.4, r279, 1.1.3, r275 Bye, Ravengus.
sometimes my cursor just disappear BEHIND the kgpanel i have as background of my bartrender4 buttons, and usually while clicking on the buttons;
anyway i can "guess" where the cursor is for the highlight effect when i mouseover a button. when i click over a button again or if i move the cursor out of the panel, it is visible once more..
anyone having the same issue?
love that mod a very nice jump from Skinner which I find too boring
Where do I go to create them?
QUOTE
WoW Textures
Any texture used in WoW must obey the following Guidelines...
1. It's dimensions must be a power of 2 with a maximum of 512. This means that the texture file can only be 2, 4, 8, 16, 32, 64, 128, 256 or 512 pixels. The texture does not have to be square, so textures of 32x64 or 64x512 are allowable. Other sizes such as 100x100 are not permitted.
2. It must be saved in either a .tga TARGA file or .blp BLP (BLizzard Proprietary) formats. Sadly, JPG or GIF files do not work.
3. If the texture has no transparency data, it should be saved as a 24-bit image. If the image has transparency data, it should be saved as a 32-bit image with an Alpha Channel (see later).
4. It must not be compressed in any way, so RLE compression should not be used.
5. Thumbnails are not required but may be useful for subsequent viewers. Thumbnails will of course increase the file size somewhat.
As you can see, larger textures will quickly become quite considerable in file size. For example, a 256x512 pixel texture with transparency and a thumbnail takes up about 550Kb. Fortunately these textures are generally quite compressible and can be zipped up to about 10% of their original size for distribution.
http://www.wowace.com/projects/kg-panels/pages/kg-panel-wiki/
Typing /kgpanels config will bring up the window to add new panels. You choose the width and height, select a coloured background and choose a border. Then you pick anchor points for your panel.
If you are just needing a plain background for a Panel, make sure you have set the background texture to Solid and chosen a colour in the little colour-picker icon. Then set the background blend mode to Blend. This will change how graphics behind your panel are affected. Finally make sure you have not reduced the panel's opacity to zero.
Good luck.
I dl'd the addon, and nothing really popped up on my screen, not sure if that is supposed to happen?
I can open the kgpanels config box and reset the scripts for OnLoad and OnEvent, but should I have to? Is this a glitch somewhere, or merely one of those "undocumented features"?
Panel is 512x512, texture is 512x256 and has an alpha channel with some test holes in it. Untiled, no background style it stretches to fill the frame. When I choose Tiled 128px, it scales down to a 128x64px tile and correctly fills the frame but seems to adopt the background style of BLEND and ignores any background opacity or style settings. Is this expected?
I'm adding a gray panel behind a black panel to make it look like gray borders. Everything is fine but when I log out from the game and then log in again, the gray panels are on top of the black panels. They have switched place. All panels are locked. I don't know why this is happening? Any suggestions or thoughts?
I can get a texture to display in a panel, but untiled it is either stretched or compressed to fit the height and width of the panel.
I would like to know how to get tiling to work because with a 512x256px texture (from SunnArt) in a 1200x160px panel it disappears as soon as I click on the Tiling checkbox. Is there a max size for a texture to be tiled?
im still trying to replicate this
Hey Kagaro, sorry not to post this on the kgPanels thread, but it's not working for me for some reason.
Wonder if you could help me troubleshoot something --
I'm using some simple scripts so that whenever i target an elite mob the border color of one panel and the opacity of another panel change (to get the gold border and elite mob dragon image around my target frame)
The code works, but whenever i reload the UI, I have to go back into the config and manually "accept" the text in the OnLoad and OnEvent boxes to get it to work again.
you addressed this same q about 3 weeks ago, but unfortunately it's still bugging on me.
many thanks.
EDIT: sorry...i see the same q was also asked below...still bugging as of feb 14 -- is there a new version out?