View Single Post
05-02-18, 02:07 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
You could try this in your lua file..

Code:
    object.line = CreateFromMixins(LineMixin)
    object.line:SetStartPoint(10,10)
    object.line:SetEndPoint(20,20)
    object.line:SetThickness(100)
    object.line:Draw()
I haven't tested it yet but based on the function requiring a parent window I suspect the parent window is either a frame or the texture on a frame.

Obviously replace object with the appropriate parent window object.


EDIT: .. Hmm, not as easy as I thought .. Its now sounding like the line is the texture but not 100% sure
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 05-02-18 at 02:25 PM.
  Reply With Quote