Working on phone screens
This commit is contained in:
parent
8694b0087d
commit
7a02665305
BIN
resources/w/ui/img/phone2/ClockDay001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/ClockDay001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/ClockMorning001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/ClockMorning001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/ClockNight001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/ClockNight001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/IconBank001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/IconBank001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/IconMessenger001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/IconMessenger001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/IconTaxi001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/IconTaxi001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/IconVideo001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/IconVideo001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phone2/Phone002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phone2/Phone002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneBank/PhoneBank002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneBank/PhoneBank002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneBank/PhoneBankBack002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneBank/PhoneBankBack002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneMap/PhoneMapBack001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneMap/PhoneMapBack001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneMap/PhoneMapButton001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneMap/PhoneMapButton001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneMap/PhoneMapDorm001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneMap/PhoneMapDorm001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneMap/PhoneMapUni001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneMap/PhoneMapUni001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneVideo/PhoneVideo002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneVideo/PhoneVideo002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneVideo/PhoneVideo003.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneVideo/PhoneVideo003.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -205,7 +205,12 @@
|
||||
"wrap": true,
|
||||
"paddingX": 0.0,
|
||||
"paddingY": 0.0,
|
||||
"color": [0.318, 0.635, 1.0, 1.0]
|
||||
"color": [
|
||||
0.318,
|
||||
0.635,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
@ -224,7 +229,12 @@
|
||||
"wrap": true,
|
||||
"paddingX": 0.0,
|
||||
"paddingY": 0.0,
|
||||
"color": [1.0, 1.0, 1.0, 1.0]
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
106
resources/w/ui/screen_phone.json
Normal file
106
resources/w/ui/screen_phone.json
Normal file
@ -0,0 +1,106 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"texture": "resources/w/ui/img/phone2/Phone002.png"
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneTime",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "top",
|
||||
"y": 120,
|
||||
"width": 446.25,
|
||||
"height": 120.4,
|
||||
"texture": "resources/w/ui/img/phone2/ClockDay001.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneBank",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"x": -80,
|
||||
"y": -60,
|
||||
"width": 119,
|
||||
"height": 119,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone2/IconBank001.png",
|
||||
"hover": "resources/w/ui/img/phone2/IconBank001.png",
|
||||
"pressed": "resources/w/ui/img/phone2/IconBank001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneTaxi",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"x": 80,
|
||||
"y": -60,
|
||||
"width": 119,
|
||||
"height": 119,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone2/IconTaxi001.png",
|
||||
"hover": "resources/w/ui/img/phone2/IconTaxi001.png",
|
||||
"pressed": "resources/w/ui/img/phone2/IconTaxi001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneVideo",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"x": 80,
|
||||
"y": -190,
|
||||
"width": 119,
|
||||
"height": 119,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone2/IconVideo001.png",
|
||||
"hover": "resources/w/ui/img/phone2/IconVideo001.png",
|
||||
"pressed": "resources/w/ui/img/phone2/IconVideo001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneMessenger",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"x": -80,
|
||||
"y": -190,
|
||||
"width": 119,
|
||||
"height": 119,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phone2/IconMessenger001.png",
|
||||
"hover": "resources/w/ui/img/phone2/IconMessenger001.png",
|
||||
"pressed": "resources/w/ui/img/phone2/IconMessenger001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
75
resources/w/ui/screen_phone_bank.json
Normal file
75
resources/w/ui/screen_phone_bank.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"texture": "resources/w/ui/img/phoneBank/PhoneBank002.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "buttonBack",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 280,
|
||||
"x": -180,
|
||||
"width": 95.2,
|
||||
"height": 95.2,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneBank/PhoneBankBack002.png",
|
||||
"hover": "resources/w/ui/img/phoneBank/PhoneBankBack002.png",
|
||||
"pressed": "resources/w/ui/img/phoneBank/PhoneBankBack002.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "TextView",
|
||||
"name": "balanceText",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"x": -20,
|
||||
"y": 120,
|
||||
"width": 300,
|
||||
"height": 60,
|
||||
"text": "5 500 сом",
|
||||
"fontSize": 40,
|
||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||
"textCentered": false,
|
||||
"topAligned": true,
|
||||
"wrap": true,
|
||||
"paddingX": 0.0,
|
||||
"paddingY": 0.0,
|
||||
"color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
64
resources/w/ui/screen_phone_map_dorm.json
Normal file
64
resources/w/ui/screen_phone_map_dorm.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"texture": "resources/w/ui/img/phoneMap/PhoneMapDorm001.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "buttonBack",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 310,
|
||||
"width": 446.6,
|
||||
"height": 75.6,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneMap/PhoneMapBack001.png",
|
||||
"hover": "resources/w/ui/img/phoneMap/PhoneMapBack001.png",
|
||||
"pressed": "resources/w/ui/img/phoneMap/PhoneMapBack001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "mapGo",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -280,
|
||||
"width": 397.6,
|
||||
"height": 121.8,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneMap/PhoneMapButton001.png",
|
||||
"hover": "resources/w/ui/img/phoneMap/PhoneMapButton001.png",
|
||||
"pressed": "resources/w/ui/img/phoneMap/PhoneMapButton001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
64
resources/w/ui/screen_phone_map_uni.json
Normal file
64
resources/w/ui/screen_phone_map_uni.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"texture": "resources/w/ui/img/phoneMap/PhoneMapUni001.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "buttonBack",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 310,
|
||||
"width": 446.6,
|
||||
"height": 75.6,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneMap/PhoneMapBack001.png",
|
||||
"hover": "resources/w/ui/img/phoneMap/PhoneMapBack001.png",
|
||||
"pressed": "resources/w/ui/img/phoneMap/PhoneMapBack001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "mapGo",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -280,
|
||||
"width": 397.6,
|
||||
"height": 121.8,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneMap/PhoneMapButton001.png",
|
||||
"hover": "resources/w/ui/img/phoneMap/PhoneMapButton001.png",
|
||||
"pressed": "resources/w/ui/img/phoneMap/PhoneMapButton001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
64
resources/w/ui/screen_phone_video.json
Normal file
64
resources/w/ui/screen_phone_video.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"root": {
|
||||
"type": "FrameLayout",
|
||||
"name": "hud_root",
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"vertical_align": "center",
|
||||
"horizontal_align": "center",
|
||||
"children": [
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "phoneExitButton",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 0,
|
||||
"width": "match_parent",
|
||||
"height": "match_parent",
|
||||
"textures": {
|
||||
"normal": "resources/transparent.png",
|
||||
"hover": "resources/transparent.png",
|
||||
"pressed": "resources/transparent.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "StaticImage",
|
||||
"name": "phoneMain",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -60,
|
||||
"width": 617.4,
|
||||
"height": 991.2,
|
||||
"texture": "resources/w/ui/img/phoneVideo/PhoneVideo003.png"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "buttonBack",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": 310,
|
||||
"width": 394.8,
|
||||
"height": 57.4,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png",
|
||||
"hover": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png",
|
||||
"pressed": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"name": "videoSkip",
|
||||
"horizontal_gravity": "center",
|
||||
"vertical_gravity": "center",
|
||||
"y": -300,
|
||||
"width": 407.4,
|
||||
"height": 86.8,
|
||||
"textures": {
|
||||
"normal": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png",
|
||||
"hover": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png",
|
||||
"pressed": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -87,6 +87,11 @@ namespace ZL {
|
||||
hudUniIntFullRoot = loadUiFromFile("resources/w/ui/hud_uni_int_full.json", renderer, zipFile);
|
||||
hudUniIntDarkFullRoot = loadUiFromFile("resources/w/ui/hud_uni_int_dark_full.json", renderer, zipFile);
|
||||
hudUniExtDarkRoot = loadUiFromFile("resources/w/ui/hud_uni_ext_dark.json", renderer, zipFile);
|
||||
|
||||
|
||||
//phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_bank.json", renderer, zipFile);
|
||||
//phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_map_dorm.json", renderer, zipFile);
|
||||
//phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_video.json", renderer, zipFile);
|
||||
phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_chat_list.json", renderer, zipFile);
|
||||
phoneChat1Root = loadUiFromFile("resources/w/ui/screen_phone_chat1.json", renderer, zipFile);
|
||||
phoneChat2Root = loadUiFromFile("resources/w/ui/screen_phone_chat2.json", renderer, zipFile);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user