-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdakt-menudata-sample.js
More file actions
executable file
·33 lines (33 loc) · 1.86 KB
/
dakt-menudata-sample.js
File metadata and controls
executable file
·33 lines (33 loc) · 1.86 KB
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
"use strict";
var DaKT_editor = 'dakt-local-sample-editor.html',
DaKT_menuData = [
['Home',
{ t: '2x2 test', s: 'you\'re looking at it', b: 'lightgreen' },
{ m: 1, i: 'R0lGODlhFQAUALMAAAQCBIQC/ISGhAB8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAEALAAAAAAVABQAAwQkMMhJq7046827z0AYflIokIEwoiaqAmjQkm88e6IY73zv/50IADs=', b: 'lightgreen' },
{ m: 2, i: 'R0lGODlhFAAUAKIAAAAAAP///wAAZszMzP///wAAAAAAAAAAACH5BAEAAAQALAAAAAAUABQAAANQSLrcLTDKSZ19goDNuwcEpFGkAIpASZ0ZEATDC8sxzGpvPef5DQzAoFDo4xl3g+JuWUuGWsNoUKmr9p44Ju2Kkkp9n/AGeymLyheV+oy+JAAAOw==', c: 'red' },
{ m: 3, i: 'R0lGODlhFAAUALMAAAQCBNT+/AQChIQC/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAMALAAAAAAUABQAAwQ3cMhJq7046wu631MgigAojaQ5oEFpep/JuuCs2i9cCpJOXwLeAMDKBI9ElCbYKy57OpV0Sq1KIgA' }
],['2x3 or 3x2 test depending on your display',
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t, either' },
{ t: 'external site (github)', u: 'http://www.github.com/', i: 'R0lGODlhFQAUALMAAMDAwAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAVABQAAwQwEMhJq70426C7n0HIiWT4nYBAleQlqBIrVm+NTi9YanC836eWzATUCDnFZEzJbHYiADs=' },
{ m: 6, s: 'and it should therefore not link anywhere' },
{ m: 7, s: 'likewise this one' },
{ m: 8, s: 'right?' }
],['3x3 test',
{ t: 'external site (haiku)', u: 'http://www.haiku-os.org/', i: 'R0lGODlhFQAUALMAAMDAwAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAVABQAAwQwEMhJq70426C7n0HIiWT4nYBAleQlqBIrVm+NTi9YanC836eWzATUCDnFZEzJbHYiADs=' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ t: 'normally these would all be links' }
],['2x2 test missing a square',
{ t: 'this isn\'t a link' },
{ t: 'this isn\'t a link' },
{ m: 4 }
],['a menu that takes two dials to get to',
{ t: 'fake link' }
]
];