Sha256: 845a6df30623f13f671c175c0f3717d943fbeb619749b6d6bea08b90e9c78db4
Contents?: true
Size: 863 Bytes
Versions: 97
Compression:
Stored size: 863 Bytes
Contents
<?xml version = "1.0" encoding = "utf-8" ?> <!--********** Copyright 2016 Roku Corp. All Rights Reserved. **********--> <component name = "RectangleExample" extends = "Scene" > <script type = "text/brightscript" uri = "uuid.brs" /> <script type = "text/brightscript" > <![CDATA[ sub init() m.top.backgroundURI = "pkg:/images/rsgde_bg_hd.jpg" example = m.top.findNode("exampleRectangle") examplerect = example.boundingRect() centerx = (1280 - examplerect.width) / 2 centery = (720 - examplerect.height) / 2 example.translation = [ centerx, centery ] m.top.setFocus(true) print uuid() end sub ]]> </script> <children > <Rectangle id = "exampleRectangle" width = "512" height = "288" color = "0x1010EBFF" /> </children> </component>
Version data entries
97 entries across 97 versions & 1 rubygems