OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 0.6.46, bugfix for X.UI.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
main.js
1
PageRoot(
\r
2
Box({
\r
3
width : '10%',
\r
4
height : '10%',
\r
5
left : 5,
\r
6
top : 1,
\r
7
bgColor : 0x0000ff
\r
8
}),
\r
9
Box({
\r
10
width : 5,
\r
11
height : 5,
\r
12
left : '10%',
\r
13
bottom : '70%',
\r
14
bgColor : 0xff0000
\r
15
}),
\r
16
VBox(
\r
17
{
\r
18
width : '50%',
\r
19
left : '49%',
\r
20
top : 5,
\r
21
bottom : 5,
\r
22
bgColor : 0x666666,
\r
23
borderColor : 0x111111,
\r
24
borderWidth : [ 0, 1, 0, 0 ],
\r
25
borderStyle : 'solid dotted',
\r
26
padding : [ 2, 1.5 ],
\r
27
sizing : 'border'
\r
28
},
\r
29
Box({
\r
30
width : '50%',
\r
31
height : 2,
\r
32
left : '30%',
\r
33
bgColor : 0x999999
\r
34
}),
\r
35
Text( 'Hello,world!' ),
\r
36
Text( '----------------------------' ),
\r
37
Text( 'PettanR team' )
\r
38
)
\r
39
);