-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.lua
67 lines (46 loc) · 1.54 KB
/
plugin.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
-- Roku Control Test
-- by Eric Urbaniak / QSC Boulder / Amanda Abate / QSC Boulder
-- April 2019
-- Version 0.0.0.8 Notes: Put App buttons into for loop
-- Notes:
--Define plugin info here
--[[ #include "info.lua" ]]
--Define Global Variables Here
--Define Functions Here
function GetPrettyName(props)
return "Roku Control V "..PluginInfo.Version
end
function GetPages()
pages = {}
--[[ #include "pages.lua" ]]
return pages
end
function GetColor(props)
return { 204, 204, 204 }
end
function GetProperties()
props = {}
--[[ #include "properties.lua" ]]
return props
end
function GetControls(props)
ctrls = {}
--[[ #include "controls.lua" ]]
return ctrls
end
function GetControlLayout(props)
layout = {}
graphics = {}
--[[ #include "layout.lua" ]]
return layout, graphics
end
--------------------------------------------------------------------------
---------------------------START RUNTIME LOGIC----------------------------
--------------------------------------------------------------------------
--Start event based logic
if Controls then
--[[ #include "runtime.lua" ]]
end
-----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------END OF FILE------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------