Thread: GUI's
View Single Post
05-28-05, 02:09 PM   #27
diiverr
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 67
Sorry, I stumbled onto this thread a bit late I'm afraid.

This quote piqued my interest:
Originally Posted by Beladona
P.S. You CAN define images, and even swap some images within lua code. However it is best to stay away from modifying stock ui artwork, especially via lua SetTexture functions. These don't always work right, and can be a pain in the butt to keep stable (no crashes). It is actually better to hide, disable, or replace the functionality of something in the default ui, with a custom element of your own, using your own artwork. More on this later.
I'm a little like Carienne. Working with lua in a WoW AddOn is a bit like me trying to explain to you how to reapair your car's engine, in French. I don't speak the language, and I'm pretty fuzzy on the mechanics anyway.

Beladona, could you elaborate at all on what the pitfalls might be associated with utilizing the SetTexture function in an AddOn? As I said, me no speaka da lua so good, but that -seeemed- from my limited knowledge to be a fairly slick little function, depending on the application.

What am I missing?
  Reply With Quote