I've been setting up a very, very custom UI using eePanels and so far it's going awesome. But I've got some ideas in mind for a few finishing touches to bring it to life and I'm not quite sure how to do it.
I have a programming background but I've never scripted anything in WoW before, so while I'm confident I can get going with a little help, I'm just not sure what to do on my own right now. :)
So! Anyway! What I need to do is basically... mask a panel with another panel? Or.. a better way to say it would be resize a panel but clip the texture instead of squishing it? A simple example would be the infamous vertical 'bars' of HUD mods, where you have a panel that appears to drain/fill.
I thought it would be a simple matter of creating an invisible dummy panel, with my texture image as its child, then by lowering the height of the parent dummy panel the texture would get clipped away. However changing the parent's height of course just changes the texture's height, squishing it down instead of clipping it away. I don't know enough about WoW scripting to know how to make it work the way I want it to...
Sorry for being so long winded about a simple question, I've been experimenting with this all night and don't know where else to turn :)
Okay so I got a little ahead of myself when I posted this. I did more digging and figured out I need to use SetTexCoordModifiesRect and SetTexCoord, then I did even more digging and figured out how to use them on my panels.. or so I thought. Neither function seems to have any affect on my panel.
What am I doing wrong? Or is that normal and I have to go about this whole thing another way? (I'd love to do this using eePanels, it makes working on the UI such a breeze)