David Blume's GitList
Repositories
roku_ip_tagger.git
Code
Commits
Branches
Tags
Search
Tree:
68df734
Branches
Tags
main
scenegraph
roku_ip_tagger.git
source
main.brs
Migrate from SDK1 to SceneGraph
David Blume
commited
68df734
at 2018-10-21 12:12:16
main.brs
Blame
History
Raw
sub Main() ' Indicate this is a Roku SceneGraph application' screen = CreateObject("roSGScreen") m.port = CreateObject("roMessagePort") screen.SetMessagePort(m.port) ' Create a scene and load /components/iptagger.xml' m.scene = screen.CreateScene("IPTagger") screen.show() while(true) msg = wait(0, m.port) msgType = type(msg) if msgType = "roSGScreenEvent" if msg.isScreenClosed() then return end if end while end sub