Thread Tools Display Modes
05-22-11, 10:42 PM   #1
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
KGPanels + Stuf Tables

I know it's possible to attach Panels to Stuf frames, but is it possible to attach it to, as an example, The targets Threat bar? Using /fstack I get with this example:

table: 20BC37EO
table: 20BC3790
table: 20BC27B8

Hope to get some insight on this ;D
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote
05-23-11, 07:09 AM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
afaik you can't ..

Maybe this thread will provide some information with :GetRegions()
http://www.wowinterface.com/forums/showthread.php?t=38911&page=2#27
  Reply With Quote
05-23-11, 08:44 AM   #3
Lordyfrb
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 71
Thumbs up Now you can

Hi,
I've been working on this problem to, and have finally figured how to achieve this.

If you open Stuf\core.lua
And search for this line:
Code:
local f = CreateFrame(frametype or "Frame", nil, uf)
and replace it with this line:
Code:
local f = CreateFrame(frametype or "Frame", "Stuf."..unit.."."..name, uf)
It will then name each of the elements of the unit frame to something more usable.

i.e. the targets threat bar will now be named:
Code:
Stuf.target.threatbar
Hope this helps you.
__________________
  Reply With Quote
05-23-11, 09:02 AM   #4
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
Originally Posted by Ketho View Post
afaik you can't ..

Maybe this thread will provide some information with :GetRegions()
http://www.wowinterface.com/forums/showthread.php?t=38911&page=2#27
Thank you very much for the response, was about to start reading it when Lord posted.

Originally Posted by Lordyfrb View Post
Hi,
I've been working on this problem to, and have finally figured how to achieve this.

If you open Stuf\core.lua
And search for this line:
Code:
local f = CreateFrame(frametype or "Frame", nil, uf)
and replace it with this line:
Code:
local f = CreateFrame(frametype or "Frame", "Stuf."..unit.."."..name, uf)
It will then name each of the elements of the unit frame to something more usable.

i.e. the targets threat bar will now be named:
Code:
Stuf.target.threatbar
Hope this helps you.
Genius good sir, thank you very much
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote
05-23-11, 11:50 AM   #5
red8981
A Wyrmkin Dreamwalker
Join Date: Oct 2010
Posts: 51
same can be used in litepanels, right?
  Reply With Quote
05-23-11, 01:12 PM   #6
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
Originally Posted by red8981 View Post
same can be used in litepanels, right?
I'd assume so since the change doesn't effect KGPanels, but stuf. Just makes it so that the tables have names instead of regions.
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KGPanels + Stuf Tables

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off