DotNet Controller detailed
struct jsTool ( unInst=undefined, maxBackColor=colorMan.getColor #background, bitMapPath="B:\\ASLAN\\Max Scripts\\Face GUI\\", joyStickBg=(dotNetClass "system.drawing.bitmap").fromFile (bitMapPath+"joyStickBggg.bmp"), fn dnPoint p:[0,0] = (dotNetObject "system.drawing.point" p.x p.y), fn initXYCon sender= ( sender.backgroundImage=joyStickBg ), fn initSlider sender= ( sender.backgroundImage=joyStickBg ), fn ui= ( rollout joystickControlR "UI" width:500 height:200 ( /*CONTROLS ***********************************************/ dotNetControl EyebrowXY "system.windows.forms.panel"\ width:(100) \ height:(100) \ pos:[200,50] \ /*CONTROLS ***********************************************/ edittext 'TXTeyebrows' "EYEBROWS" pos:[225,20] width:200 height:0 readOnly:true labelOnTop:true align:#left on joystickControlR open do ( initXYCon EyebrowXY ) ) createDialog joystickControlR unInst=joystickControlR ),
Hello,
This a chunk of a script that I combined for creating a face UI. I've watched Paul Neale's wonderful tutorial however I couldm't keep up with him. I couldn't differentiate the scripts I need. What I need is a controller inside EyebrowXY controlling something outside with xml.
any idea?