Difference between revisions of "ISXTwitch:twitchcustomscene (Object Type)"

From ismods.com: dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Jump to: navigation, search
(Created page with "The '''twitchcustomscene''' Object Type manages Custom Scene information for ISXTwitch. == Inherits From == * twitchscene == Memb...")
 
 
Line 10: Line 10:
  
 
== Methods ==
 
== Methods ==
* AddWidget[...]: (not yet implemented)
+
* AddWidget[WIDGET NAME,WIDGET TYPE,x,y,width,height,...]: Add a Widget of the given WIDGET TYPE. Additional parameters required for all but Cursor.
 +
** AddWidget[WIDGET NAME,DesktopCapture,x,y,width,height,capture x,capture y,capture width,capture height]: Adds a Desktop Capture widget; WIDGET NAME is ignored, the name will be "desktop"
 +
** AddWidget[WIDGET NAME,Cursor]: Adds a Cursor widget over the DesktopCapture widget; WIDGET NAME is ignored, the name will be "cursor"
 +
** AddWidget[WIDGET NAME,TextMarquee,x,y,width,height,text,font name,font height #,font color AARRGGBB,pixels per second,trailing pixels #]: Adds a Marquee widget with Text
 +
** AddWidget[WIDGET NAME,TextFileMarquee,x,y,width,height,text filename,poll every # of milliseconds,font name,font height #,font color AARRGGBB,pixels per second,trailing pixels #]: Adds a Marquee widget with Text pulled from a given file
 +
** AddWidget[WIDGET NAME,ImageMarquee,x,y,width,height,image filename,pixels per second]: Adds a Marquee widget with an Image
 +
** AddWidget[WIDGET NAME,Image,x,y,width,height,image filename]: Adds an Image widget
 +
** AddWidget[WIDGET NAME,Animation,x,y,width,height,Animation name]: Adds an Animation widget
 +
** AddWidget[WIDGET NAME,Animation,x,y,width,height,Animation name, replay delay # of milliseconds]: Adds an Animation widget with replay loop
 +
** AddWidget[WIDGET NAME,Webcam,x,y,width,height,Webcam name,webcam width,webcam height]: Adds a Webcam widget
  
 
== To Text ==
 
== To Text ==

Latest revision as of 11:58, 29 January 2014

The twitchcustomscene Object Type manages Custom Scene information for ISXTwitch.

Inherits From

Members

  • uint NumWidgets: Number of widgets
  • twitchwidget Widget[NAME]: Widget, by name
  • twitchwidget Widget[#]: Widget, by index (1-based)

Methods

  • AddWidget[WIDGET NAME,WIDGET TYPE,x,y,width,height,...]: Add a Widget of the given WIDGET TYPE. Additional parameters required for all but Cursor.
    • AddWidget[WIDGET NAME,DesktopCapture,x,y,width,height,capture x,capture y,capture width,capture height]: Adds a Desktop Capture widget; WIDGET NAME is ignored, the name will be "desktop"
    • AddWidget[WIDGET NAME,Cursor]: Adds a Cursor widget over the DesktopCapture widget; WIDGET NAME is ignored, the name will be "cursor"
    • AddWidget[WIDGET NAME,TextMarquee,x,y,width,height,text,font name,font height #,font color AARRGGBB,pixels per second,trailing pixels #]: Adds a Marquee widget with Text
    • AddWidget[WIDGET NAME,TextFileMarquee,x,y,width,height,text filename,poll every # of milliseconds,font name,font height #,font color AARRGGBB,pixels per second,trailing pixels #]: Adds a Marquee widget with Text pulled from a given file
    • AddWidget[WIDGET NAME,ImageMarquee,x,y,width,height,image filename,pixels per second]: Adds a Marquee widget with an Image
    • AddWidget[WIDGET NAME,Image,x,y,width,height,image filename]: Adds an Image widget
    • AddWidget[WIDGET NAME,Animation,x,y,width,height,Animation name]: Adds an Animation widget
    • AddWidget[WIDGET NAME,Animation,x,y,width,height,Animation name, replay delay # of milliseconds]: Adds an Animation widget with replay loop
    • AddWidget[WIDGET NAME,Webcam,x,y,width,height,Webcam name,webcam width,webcam height]: Adds a Webcam widget

To Text

Returns same as Name