Roku BrightSign Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 26
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 19
20
Roku> image filename.bmp 0 0 0
Roku> image filename.bmp 2 0 0
This example script uses preloaded images to improve the UI speed when the user hits a key on the
keyboard. As soon as the keyboard is hit, then the display switches to the new image which has already
been preloaded. The only delay is if the key is hit whilst the image is pre-loading - as soon as the image is
loaded, it will then display.
i = CreateObject("roImagePlayer")
p = CreateObject("roMessagePort")
k = CreateObject("roKeyboard")
k.SetPort(p)
i.PreloadFile("one.bmp")
loop:
i.DisplayPreload()
i.PreloadFile("two.bmp")
wait(0,p)
i.DisplayPreload()
i.PreloadFile("one.bmp")
wait(0,p)
goto loop
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 26

Komentáře k této Příručce

Žádné komentáře