User Tools

Site Tools


scripting:samples:osd_values

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:samples:osd_values [2020/02/06 07:47] mitscripting:samples:osd_values [2023/02/28 07:07] (current) mit
Line 10: Line 10:
  
 osdcreate(OSDBUILDING,"ExampleOSD", "Example" osdcreate(OSDBUILDING,"ExampleOSD", "Example"
-osdaddat(TEXTRIGHT, 340, 134, 0, 0, "", "Select amount:")  +osdadd(TEXTRIGHT, 340, 134, 0, 0, "", "Select amount:")  
-osdaddat(VALUE, 350, 130, 100, 25, "numgoods", "$initialVal|$minVal|$maxVal"+osdadd(VALUE, 350, 130, 100, 25, "numgoods", "$initialVal|$minVal|$maxVal"
  
-osdaddat(EXITBUTTON, 150, 200,300,40, "Export|$itemNum|&numgoods", "Select"+osdadd(EXITBUTTON, 150, 200,300,40, "Export|$itemNum|&numgoods", "Select"
 osdactivate()  osdactivate() 
 </code> </code>
Line 20: Line 20:
  
 <code> <code>
-Event( "OSDSelect", "Example:Export" )+Event( "OSDSelect", "ExampleOSD:Export" )
 { {
     $itemNum = $gParam[1]     $itemNum = $gParam[1]
scripting/samples/osd_values.1580996873.txt.gz · Last modified: 2020/02/06 07:47 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki