-
Notifications
You must be signed in to change notification settings - Fork 0
/
boot.js
executable file
·98 lines (86 loc) · 3.01 KB
/
boot.js
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
var x2 = x.runApplication({
app: "WindowSystem",
title: "WindowSystem (recursive)",
style: {
position: "absolute",
top: "0px",
left: "0px",
width: "100%",
height: "100%",
}
});
x.placeWindow(x2, 300, 100);
x.sizeWindow(x2, "800px", "600px");
var hello = x2.trigger('runApplication', { app: "hello",
text: "Don't say goodbye 2.",
style: {
top: "100px",
left: "100px",
width: "240px",
height: "320px",
border: "2px solid red",
}});
var notebook = x.runApplication({ app: "notebook",
title: "Listener",
height: "900px",
style: {
top: "25px",
left: "20px",
maxWidth: "820px",
}
});
x.runApplication({app:"cell",
title: "Cell",
blink: true
});
x.current(notebook);
x.runApplication({ app: "audioplayer",
appOptions: {
title: "Eturia Music",
playlist: "music/playlist"
},
style: {
top: "25px",
left: "845px"
}
});
x.runApplication({ app: "iframe",
appOptions: {
title: "The Order of Symbols",
uri: 'help.html',
},
style: {
top: "100px",
left: "845px"
}
});
var terminal = x.runApplication({app:"terminal",
title: "Registry",
style: {
top: "500px",
left: "20px"
}
});
var y = terminal.grid().getColRow(0, 1, true).grid()
/*
x.runApplication({ app: "image",
appOptions: {
title: "Chaos",
uri: 'images/chaos.jpg'
},
style: {
top: "100px",
left: "845px"
}
});
x.runApplication({ app: "image",
appOptions: {
title: "Chaos",
uri: 'images/Ccg5WfWW8AAe3pz.jpg'
},
style: {
top: "100px",
left: "845px"
}
});
*/