Sha256: ecf1fb27f08588ca607a6e479fe77cda81bc778888bb3549448d441e20acb3ae

Contents?: true

Size: 905 Bytes

Versions: 760

Compression:

Stored size: 905 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()
      print m.global.externalParams.uuid
    end sub
    ]]>
  </script>
  <children >
    <Rectangle
      id = "exampleRectangle"
      width = "512"
      height = "288"
      color = "0x1010EBFF" />
  </children>
</component>

Version data entries

760 entries across 95 versions & 1 rubygems

Version Path
roku_builder-4.30.0 intergration/roku_builder/test_files/navigator_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/loader_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/scripter_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/packager_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/monitor_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/linker_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/tester_intergration_test/components/rectanglescene.xml
roku_builder-4.30.0 intergration/roku_builder/test_files/profiler_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/loader_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/monitor_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/linker_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/tester_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/profiler_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/scripter_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/packager_intergration_test/components/rectanglescene.xml
roku_builder-4.29.9 intergration/roku_builder/test_files/navigator_intergration_test/components/rectanglescene.xml
roku_builder-4.29.8 intergration/roku_builder/test_files/linker_intergration_test/components/rectanglescene.xml
roku_builder-4.29.8 intergration/roku_builder/test_files/loader_intergration_test/components/rectanglescene.xml
roku_builder-4.29.8 intergration/roku_builder/test_files/monitor_intergration_test/components/rectanglescene.xml
roku_builder-4.29.8 intergration/roku_builder/test_files/packager_intergration_test/components/rectanglescene.xml