17 |
.box button_pressed width=20 height=60 color=gray fill=salmon line=5 |
.box button_pressed width=20 height=60 color=gray fill=salmon line=5 |
18 |
.box border_left width=10 height=300 color=gray fill=gray line=3 |
.box border_left width=10 height=300 color=gray fill=gray line=3 |
19 |
|
|
20 |
.edittext info text="info" color=black size=100% width=110 height=30 align=center border=none noselect variable=infoText |
.edittext info text="info" color=black width=110 height=20 align=center border=none noselect variable=infoText font=comic size=12pt |
21 |
|
|
|
.outline o_cadre: |
|
|
|
|
|
M 12.3,-1.2483537 |
|
|
L 40.130855,-1.2483537 |
|
|
C 46.945055,-1.2483537 52.430855,4.2374464 52.430855,11.051646 |
|
|
L 52.430855,123.77055 |
|
|
C 52.430855,130.58475 46.945055,136.07055 40.130855,136.07055 |
|
|
L 12.3,136.07055 C 5.4858001,136.07055 0,130.58475 0,123.77055 |
|
|
L 0,11.051646 C 0,4.2374464 5.4858001,-1.2483537 12.3,-1.2483537 z |
|
|
|
|
|
.end |
|
22 |
.outline o_arrow: |
.outline o_arrow: |
23 |
|
|
24 |
M 60.208843,38.698967 |
M 60.208843,38.698967 |
55 |
|
|
56 |
.filled home_idle outline=o_home fill=#336699 color=navy line=4 |
.filled home_idle outline=o_home fill=#336699 color=navy line=4 |
57 |
.filled home_hover outline=o_home fill=#3366ff color=salmon line=4 |
.filled home_hover outline=o_home fill=#3366ff color=salmon line=4 |
58 |
.filled home_pressed outline=o_home fill=#4466ff color=red line=3 |
.filled home_pressed outline=o_home fill=#8866ff color=red line=3 |
59 |
|
|
60 |
.filled arrow_idle outline=o_arrow fill=#336699 color=navy line=4 |
.filled arrow_idle outline=o_arrow fill=#336699 color=navy line=4 |
61 |
.filled arrow_hover outline=o_arrow fill=#3366ff color=salmon line=4 |
.filled arrow_hover outline=o_arrow fill=#3366ff color=salmon line=4 |
62 |
.filled arrow_pressed outline=o_arrow fill=#4466ff color=red line=3 |
.filled arrow_pressed outline=o_arrow fill=#8866ff color=red line=3 |
|
|
|
|
# .filled menu_background outline=o_cadre fill=salmon color=grey line=3 |
|
63 |
|
|
64 |
.button next |
.button next |
65 |
|
|
139 |
.put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0 |
.put next pin=center x=110 y=30 scale=40% alpha=50% rotate=0 |
140 |
|
|
141 |
.put page_bar x=15 y=50 |
.put page_bar x=15 y=50 |
142 |
|
.put info x=15 y=45 |
143 |
.end |
.end |
144 |
|
|
145 |
# change this animation for show/hide effect of menu |
# change this animation for show/hide effect of menu |
147 |
.frame 1 |
.frame 1 |
148 |
|
|
149 |
.put C_menu alpha=0% |
.put C_menu alpha=0% |
|
.put info alpha=0% x=15 y=45 |
|
150 |
|
|
151 |
.frame 5 |
.frame 5 |
152 |
|
|
153 |
.change C_menu alpha=100% |
.change C_menu alpha=100% |
|
.change info alpha=100% |
|
154 |
.stop |
.stop |
155 |
|
|
156 |
.frame 10 |
.frame 10 |
157 |
|
|
158 |
.change C_menu alpha=0% |
.change C_menu alpha=0% |
|
.change info alpha=0% |
|
159 |
.stop |
.stop |
160 |
|
|
161 |
.end |
.end |
170 |
|
|
171 |
info._alpha = 50; |
info._alpha = 50; |
172 |
info.embedFonts = 0; |
info.embedFonts = 0; |
|
var monStyle = new TextFormat(); |
|
|
monstyle.bold = false; |
|
|
monStyle.italic = false; |
|
|
monStyle.border = false; |
|
|
monStyle.font = "_sans"; |
|
|
// monStyle.font = "comic"; |
|
|
_root.menu.info.setTextFormat(monStyle); |
|
173 |
|
|
174 |
function showMenu() { |
function showMenu() { |
175 |
/* |
/* |
191 |
|
|
192 |
if ( pos == 0 ) pos = 1; |
if ( pos == 0 ) pos = 1; |
193 |
|
|
194 |
_root.menu.infoText = String(page) + " / " + String(total) |
_root.menu.C_menu.infoText = String(page) + " / " + String(total) |
195 |
// + "\r" + String(pos) |
// + "\r" + String(pos) |
196 |
; |
; |
197 |
_root.menu.C_menu.page_bar.gotoAndStop( pos ); |
_root.menu.C_menu.page_bar.gotoAndStop( pos ); |