@moralcode/qrcode-brightscript 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +17 -15
- package/src/manifest +0 -17
- package/src/source/main.brs +0 -23
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"name": "@moralcode/qrcode-brightscript",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A Roku component that can generate QR codes",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ropm",
|
|
7
|
+
"roku",
|
|
8
|
+
"brightscript",
|
|
9
|
+
"brighterscript"
|
|
10
|
+
],
|
|
11
|
+
"files": [
|
|
12
|
+
"src/components/*",
|
|
13
|
+
"src/images/*",
|
|
14
|
+
"src/source/*"
|
|
15
|
+
],
|
|
16
|
+
"ropm": {
|
|
17
|
+
"packageRootDir": "src"
|
|
18
|
+
}
|
|
17
19
|
}
|
package/src/manifest
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
title=QR Code Generator
|
|
2
|
-
major_version=1
|
|
3
|
-
minor_version=0
|
|
4
|
-
build_version=00001
|
|
5
|
-
|
|
6
|
-
mm_icon_focus_fhd=pkg:/images/focus_fhd.jpg
|
|
7
|
-
mm_icon_focus_hd=pkg:/images/focus_hd.jpg
|
|
8
|
-
mm_icon_focus_sd=pkg:/images/focus_sd.png
|
|
9
|
-
|
|
10
|
-
splash_screen_fhd=pkg:/images/splash_fhd.jpg
|
|
11
|
-
splash_screen_hd=pkg:/images/splash_hd.jpg
|
|
12
|
-
splash_screen_sd=pkg:/images/splash_sd.jpg
|
|
13
|
-
|
|
14
|
-
splash_color=#662D91
|
|
15
|
-
splash_min_time=1000
|
|
16
|
-
|
|
17
|
-
ui_resolutions = "fhd"
|
package/src/source/main.brs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'********** Copyright 2016 Roku Corp. All Rights Reserved. **********
|
|
2
|
-
|
|
3
|
-
sub Main()
|
|
4
|
-
showChannelSGScreen()
|
|
5
|
-
end sub
|
|
6
|
-
|
|
7
|
-
sub showChannelSGScreen()
|
|
8
|
-
screen = CreateObject("roSGScreen")
|
|
9
|
-
m.port = CreateObject("roMessagePort")
|
|
10
|
-
screen.setMessagePort(m.port)
|
|
11
|
-
screen.CreateScene("SampleScene")
|
|
12
|
-
screen.show()
|
|
13
|
-
|
|
14
|
-
while(true)
|
|
15
|
-
msg = wait(0, m.port)
|
|
16
|
-
msgType = type(msg)
|
|
17
|
-
|
|
18
|
-
if msgType = "roSGScreenEvent"
|
|
19
|
-
if msg.isScreenClosed() then return
|
|
20
|
-
end if
|
|
21
|
-
end while
|
|
22
|
-
|
|
23
|
-
end sub
|