Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Zista
Forum: General Authoring Discussion 12-03-11, 02:08 AM
Replies: 24
Views: 31,388
Posted By Zista
For those trying to reparent the entire bar,...

For those trying to reparent the entire bar, use
ExtraActionBarFrame.ignoreFramePositionManager = true
instead of
UIPARENT_MANAGED_FRAME_POSITIONS.ExtraActionBarFrame
to aviod taint.
Forum: Lua/XML Help 02-03-11, 01:44 PM
Replies: 8
Views: 5,682
Posted By Zista
Solved it. I used the __index metamethod to...

Solved it.

I used the __index metamethod to return the value from the SavedVariables and just left the table more or less blank.

EX:
local db = MyAddon.db.profile
local colors =...
Forum: Lua/XML Help 02-03-11, 12:01 PM
Replies: 8
Views: 5,682
Posted By Zista
I'm using oUF and have 2 separate addons. In the...

I'm using oUF and have 2 separate addons. In the oUF style addon, I have a table of colors that is made up of values from the SavedVariables from the main addon. I am trying to make it so when one...
Forum: Lua/XML Help 01-31-11, 02:38 PM
Replies: 8
Views: 5,682
Posted By Zista
Would that work if you had a table like: local...

Would that work if you had a table like:
local myTable = {
a = db.a
b = db.b
c = db.c
}

where if you changed the value of db.a, myTable.a would change as well?
Forum: Lua/XML Help 01-31-11, 11:43 AM
Replies: 8
Views: 5,682
Posted By Zista
[SOLVED] Auto-updating table

Are there any metamethods you can add to a table that will make it automatically update?

I have a table with all of the values being set to values from my SavedVariables. Is there any way to update...
Showing results 1 to 5 of 5