User Tools

Site Tools


scripting:reference:scriptedosd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:reference:scriptedosd [2015/02/20 14:40] mitscripting:reference:scriptedosd [2025/05/28 16:35] (current) – external edit 127.0.0.1
Line 6: Line 6:
  
 ==== OSDCreate ==== ==== OSDCreate ====
-^ Parameters | ''OSD_TYPE'', ''Name'', ''Title''+^ Parameters | ''OSD_TYPE'', ''Name'', ''Title'', ''[Expiry Time]''
 ^ Example | ''osdcreate(OSDBUILDING,"Main", "" )'' | ^ Example | ''osdcreate(OSDBUILDING,"Main", "" )'' |
 ^ Description | This function is used to start a new osd block. |  ^ Description | This function is used to start a new osd block. | 
-The OSD_TYPE can be one of :\\ + 
-- OSDWINDOW\\+OSD_TYPE determine the location and appearance of the OSD background (See list below). 
 +The ''Name'' of the OSD is used to identify its components : See [Responding to OSD Button Presses]. 
 +''Expiry Time'' is optional - if used, it specifies the number of seconds the OSD will appear for before automatically closing. 
 + 
 +OSD_TYPE can be one of :\\ 
 +- OSDWINDOW \\
 - OSDBUILDING\\ - OSDBUILDING\\
 - OSDPOPUP\\ - OSDPOPUP\\
Line 22: Line 27:
 - OSDSCRIPTEDBUILDING \\ - OSDSCRIPTEDBUILDING \\
  
-If ''OSDWINDOW'' is used a background window is created 400x300, in the center of the screen. With ''OSDBUILDING'', the OSD is displayed within the region of the building access window.+''OSDWINDOW'' is used a background window is created 400x300, in the center of the screen. With ''OSDBUILDING'', the OSD is displayed within the region of the building access window.
  
-The ''Name'' of the OSD is used to identify its components : See [Responding to OSD Button Presses]. 
  
 ==== OSDAddItem ==== ==== OSDAddItem ====
-Parameters :  ''OSD_ITEMTYPE'', ''Name'', ''Title'' \\ +Parameters ''OSD_ITEMTYPE'', ''Name'', ''Text''  
-Example ''OsdAddItem(OSDIMAGE,"", "http://myweb.com/image.jpg" )'' \\ +Example ''OsdAddItem( IMAGE, "", "http://myweb.com/image.jpg" )'' | 
-Description +Description | This is a basic function to add an OSD item to the screen. Each item appears below any previously added items. If you want more control of the layout of your OSD then you would use the OSDAddAt command.. | 
 ==== OSDAddAt ==== ==== OSDAddAt ====
 Parameters :  ''OSD_ITEMTYPE'', X, Y, W, H, ''Name'', ''Title'' \\ Parameters :  ''OSD_ITEMTYPE'', X, Y, W, H, ''Name'', ''Title'' \\
Line 97: Line 100:
   * EXITIMAGE   * EXITIMAGE
  
 +==== Graphic Types ====
 +
 +  * RECT
 +  * LINE
 +  * BOX
 +
 +==== User Input Types ====
 +
 +  * TEXTENTRY
 +  * VALUE
 +  * CASHVALUE
 +
 +==== Display Control Types ====
  
-==== LISTBUTTON ====+  * HTTPSET 
 +  * BUTTONMINWIDTH 
 +  * MINHEIGHT
  
-==== TEXTENTRY ==== +==== Other OSD Types ====
-==== BUTTONMINWIDTH ==== +
-==== MINHEIGHT ==== +
-==== VALUE ====+
  
-==== CASHVALUE ==== +  * LISTBUTTON  
-==== RECT ==== +  * DATE
-==== LINE ==== +
-==== BOX ====+
  
-==== DATE ==== 
-==== HTTPSET ==== 
scripting/reference/scriptedosd.1424443210.txt.gz · Last modified: (external edit)