Code: Select all
default sms_Clara = ["","","","Test","false","false"], ["","","","Test2","false","true"]]
screen message_clara:
key "hide_windows" action NullAction()
modal True
imagebutton:
xpos 652
ypos 0
idle "images/phone/call/background.png"
viewport:
scrollbars "vertical"
draggable True
mousewheel True
xpos 652
ypos 0
xysize(614, 980)
vbox:
for i in sms_Clara:
if i[5] == "false":
hbox xysize(610, 80):
button:
style "message_button_backround_white"
text "{color=#262626}"+i[3]+"{/color}" xpos 0 style "text_message_left",
else:
hbox xysize(610, 80):
button:
style "message_button_backround_green"
text "{color=#262626}"+i[3]+"{/color}" xpos 0 style "text_message_right"
imagemap xpos 652 ypos 980:
ground "images/phone/navigation.png"
hotspot (0, 0, 205, 100) clicked [Jump("phone_screen")]
hotspot (205, 0, 204, 100) clicked [Jump("phone_screen")]
hotspot (409, 0, 205, 100) clicked [Jump("phone_screen")]
Code: Select all
style message_button:
background None
style message_button_backround_white:
insensitive_color "#999"
background "#fff"
min_width 600
bottom_padding 10
top_padding 10
right_padding 10
left_padding 10
style message_button_backround_green:
background "#dcf8c6"
insensitive_color "#999"
min_width 600
bottom_padding 10
top_padding 10
right_padding 10
left_padding 10
style text_message_right:
text_align 0.9
min_width 600
bottom_padding 10
top_padding 10
right_padding 10
left_padding 10
style text_message_left:
min_width 600
bottom_padding 10
top_padding 10
right_padding 10
left_padding 10