scripting:reference:scriptedosd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:reference:scriptedosd [2020/01/29 07:09] – mit | scripting:reference:scriptedosd [2023/05/15 03:53] (current) – [OSDText / OSDTextRight / OSDTextCenter] mit | ||
---|---|---|---|
Line 21: | Line 21: | ||
- OSDLOWER\\ | - OSDLOWER\\ | ||
- OSDTUTORIAL\\ | - OSDTUTORIAL\\ | ||
- | - OSDNOTIFICATION\\ | + | - OSDNOTIFICATION1 .. OSDNOTIFICATION6\\ |
- OSDSPEC\\ | - OSDSPEC\\ | ||
- OSDSPECLOWER \\ | - OSDSPECLOWER \\ | ||
Line 27: | Line 27: | ||
- OSDSCRIPTEDBUILDING \\ | - OSDSCRIPTEDBUILDING \\ | ||
- | '' | + | Each type has a different default setup and use case, e.g. '' |
+ | ==== OSDText / OSDTextRight / OSDTextCenter ==== | ||
+ | ^ Parameters | '' | ||
+ | ^ Example | '' | ||
+ | ^ Description | Adds text to an OSD at the specified coordinate. | ||
+ | Note TEXTTYPE can be ommitted (text defaults to ' | ||
+ | Full list of supported types below.. | ||
- | ==== OSDAddItem | + | ==== OSDAdd ==== |
+ | ^ Parameters | '' | ||
+ | ^ Example | '' | ||
+ | ^ Description | Adds individual elements to an OSD at a specific location. | ||
+ | |||
+ | ==== OSDAddAuto | ||
^ Parameters | '' | ^ Parameters | '' | ||
- | ^ Example | '' | + | ^ Example | '' |
- | ^ 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 | + | ^ 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 OSDAdd |
- | ==== OSDAddAt ==== | + | |
- | Parameters : '' | + | |
- | Example : '' | + | |
- | Description : | + | |
==== OSDSet ==== | ==== OSDSet ==== | ||
Line 49: | Line 56: | ||
osdcreate( OSDLOWER, " | osdcreate( OSDLOWER, " | ||
osdset( " | osdset( " | ||
- | osdaddat( TEXT, 100,0, 400, 100, "", | + | osdadd( TEXT, 100,0, 400, 100, "", |
- | osdaddat( BUTTON, 200, 70, 200, 35, "", | + | osdadd( BUTTON, 200, 70, 200, 35, "", |
osdactivate() | osdactivate() | ||
</ | </ | ||
Line 67: | Line 74: | ||
===== ScriptedOSD Item Types ===== | ===== ScriptedOSD Item Types ===== | ||
- | |||
- | ==== Text Types ==== | ||
- | Text can be added to your OSD using various text types, that specify the size, alignment and colour of the text to be displayed. | ||
- | Valid text types are as follows :\\ | ||
- | * TEXT | ||
- | * BIGTEXT | ||
- | * FADEDTEXT | ||
- | * SMALLTEXT | ||
- | * TEXTRIGHT | ||
- | * SMALLTEXTRIGHT | ||
- | * BIGTEXTRIGHT | ||
- | * BOLDTEXT | ||
- | * SMALLFADEDTEXT (or FADEDSMALLTEXT) | ||
- | * BIGFADEDTEXT | ||
- | * WARNINGTEXT | ||
- | * BIGWARNINGTEXT | ||
- | * TEXT2 | ||
- | * FADEDTEXT2 | ||
- | * TEXT2RIGHT | ||
- | * GIANTTEXT | ||
- | * GIANTTEXTRIGHT | ||
- | * GIANTFADEDTEXT | ||
- | * BLINKINGWARNINGTEXT | ||
- | * BULLET | ||
==== Button Types ==== | ==== Button Types ==== | ||
Line 111: | Line 94: | ||
* LINE | * LINE | ||
* BOX | * BOX | ||
+ | * LAYERRECT | ||
+ | * COUNTDOWN | ||
==== User Input Types ==== | ==== User Input Types ==== | ||
Line 117: | Line 101: | ||
* VALUE | * VALUE | ||
* CASHVALUE | * CASHVALUE | ||
+ | * EXITIMAGE | ||
+ | * SLIDER | ||
+ | * AMOUNTPRICEVALUECONTROL | ||
==== Display Control Types ==== | ==== Display Control Types ==== | ||
Line 128: | Line 115: | ||
* LISTBUTTON | * LISTBUTTON | ||
* DATE | * DATE | ||
+ | |||
+ | ===== ScriptedOSD Text Types ===== | ||
+ | |||
+ | Text can be added to your OSD using various text types, that specify the size and colour of the text to be displayed. | ||
+ | If the text type is ommitted, standard text formatting will be used, otherwise valid text types are as follows :\\ | ||
+ | |||
+ | * BIG | ||
+ | * FADED | ||
+ | * SMALL | ||
+ | * BOLD | ||
+ | * SMALLFADED | ||
+ | * BIGFADED | ||
+ | * WARNING | ||
+ | * BIGWARNING | ||
+ | * FONT2 | ||
+ | * FADEDFONT2 | ||
+ | * GIANT | ||
+ | * GIANTFADED | ||
+ | * BLINKINGWARNING | ||
+ | * BULLET | ||
+ | * GOLD | ||
+ | * SILVER | ||
+ | * BRONZE | ||
+ | * BIGGOLD | ||
+ | * BIGSILVER | ||
+ | * BIGBRONZE | ||
+ | |||
scripting/reference/scriptedosd.1580303358.txt.gz · Last modified: 2020/01/29 07:09 by mit