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.
midgetmage55
Good catch, it was some left over code. pytting a fix in now.
I figured out what the issue is. The length of the name i give to the art element when adding it (the file name length did not seem to make a difference however) was too short.
I was trying to label my elements with short names (like going from DemonicLeft to DL) To make the lists easier to read. Well apparently the names have to be at least 3 characters long.
My test:
During parts 2-4 I had enabled bugsack to see if any errors dropped and none did. Did a quick retest of 2-4 without it and got the same results so it had nothing to do with a reload.
Hope that helps. If its not something worth trying to correct it might be worth while to add a note on element name length in the FAQ in-game.
P.S. Sorry it took so long to reply. Had a busy week. =)
http://tinypic.com/view.php?pic=t9hczk&s=3
lemme knw if you figure anything out midgetmage55
Yeah i spent about an hour trying everything i could think of to get them to show up in an actual panel. Eventually i just moved the files to a new folder. Opened my graphics editor and re-saved them without making any changes short of the names of the files (removed any capitalization basically) and importing them again to the addon. Not sure why but it worked.
My only guess is there is something in my saved variables causing the issue. And being that i have roughly 20 saved layouts deleting it wasnt much of an option. Suffice to say everything is working now.
I have a back up of my WTF folder from 3 or so days ago. I may experiment with it and see if i can track the problem down.
Will post back if i find anything.
Wierd Midgetmage55, if it shows up im the preivew then it did correctly load. Have you tried setting the background type settings i.e. None?
Running in to an oddity. I'm adding some background textures to my library and they show up on mouse over just fine. When i go to add them to a panel however nothing appears. I just get the standard panel. Changing color, opacity or anything else works as you would expect with the exception of the art not showing. It only happens to one specific set of textures. And for all versions of them. The rest of them work as intended.
I'm certain the textures are set up properly for showing in game as i can load them in a copy of eepanels 2 i still have around for some reason.
I made sure that im up to the current version before posting.
Any ideas?
EDIT: Just did a test and if i tile the image i can at least see it but as soon as i turn off tiling it disappears again.
try adjusting the alpha channel Schimmy
Strawb parent teh panel to the unit frame in question and it should hide when the unit frame hides
I was wondering if any of you could help me.
I need a script that will remove a backdrop for my unitframe when I have no target and show the backdrop when I have a target. I have tried a few of the commands on the sample scripts site, but I can't seem to get any of them to work. Please help me.
If that doesn't make sense, basically it lets you add your own custom images (panels) to your UI, so you could completely redesign the UI with your own graphics.