View Single Post
09-08-11, 01:00 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
If it's multithreading you're looking for, Lua has a built-in Coroutine lib that's supposedly available in the WoW API. See http://www.lua.org/manual/5.1/manual.html#5.2. However, Coroutines are only a psudo-multithread process. No other code can be run the same time a Coroutine is running.

Widget inheritence can already be done in the Widget API that WoW uses. This is done by creating a virtual frame in XML and using the inherits attribute when creating a copy of it in XML or passing its name in the inheritFrame argument of a CreateFrame() call.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 09-08-11 at 02:43 PM.
  Reply With Quote