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.
@ -4,228 +4,238 @@
|
|||||||
"name": "hud_root",
|
"name": "hud_root",
|
||||||
"width": "match_parent",
|
"width": "match_parent",
|
||||||
"height": "match_parent",
|
"height": "match_parent",
|
||||||
"vertical_align": "center",
|
"vertical_align": "center",
|
||||||
"horizontal_align": "center",
|
"horizontal_align": "center",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"type": "StaticImage",
|
"type": "StaticImage",
|
||||||
"name": "background",
|
"name": "background",
|
||||||
"width": 1266,
|
"width": 1266,
|
||||||
"height": 585,
|
"height": 585,
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"texture": "resources/w/ui/img/Inventory001.png"
|
"texture": "resources/w/ui/img/Inventory001.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "StaticImage",
|
"type": "StaticImage",
|
||||||
"name": "allItems",
|
"name": "allItems",
|
||||||
"width": 110,
|
"width": 110,
|
||||||
"height": 67,
|
"height": 67,
|
||||||
"x" : -570,
|
"x": -570,
|
||||||
"y" : 200,
|
"y": 200,
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"texture": "resources/w/ui/img/inv/InventoryAllButton001.png"
|
"texture": "resources/w/ui/img/inv/InventoryAllButton001.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "inventoryExitButton",
|
"name": "inventoryExitButton",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 90,
|
"width": 90,
|
||||||
"height": 90,
|
"height": 90,
|
||||||
"x" : 580,
|
"x": 580,
|
||||||
"y" : 240,
|
"y": 240,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
||||||
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
||||||
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item1Button",
|
"name": "item1Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -580,
|
"x": -580,
|
||||||
"y" : 90,
|
"y": 90,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
"normal": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
"hover": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemSelPhone001.png"
|
"pressed": "resources/w/ui/img/inv/ItemSelPhone001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item2Button",
|
"name": "item2Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -480,
|
"x": -480,
|
||||||
"y" : 90,
|
"y": 90,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemJournal001.png",
|
"normal": "resources/w/ui/img/inv/ItemJournal001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemJournal001.png",
|
"hover": "resources/w/ui/img/inv/ItemJournal001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemJournal001.png"
|
"pressed": "resources/w/ui/img/inv/ItemJournal001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item3Button",
|
"name": "item3Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -380,
|
"x": -380,
|
||||||
"y" : 90,
|
"y": 90,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemKnife001.png",
|
"normal": "resources/w/ui/img/inv/ItemKnife001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemKnife001.png",
|
"hover": "resources/w/ui/img/inv/ItemKnife001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemKnife001.png"
|
"pressed": "resources/w/ui/img/inv/ItemKnife001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item4Button",
|
"name": "item4Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -580,
|
"x": -580,
|
||||||
"y" : -10,
|
"y": -10,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemNote001.png",
|
"normal": "resources/w/ui/img/inv/ItemNote001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemNote001.png",
|
"hover": "resources/w/ui/img/inv/ItemNote001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemNote001.png"
|
"pressed": "resources/w/ui/img/inv/ItemNote001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item5Button",
|
"name": "item5Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -480,
|
"x": -480,
|
||||||
"y" : -10,
|
"y": -10,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemCoursework001.png",
|
"normal": "resources/w/ui/img/inv/ItemCoursework001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemCoursework001.png",
|
"hover": "resources/w/ui/img/inv/ItemCoursework001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemCoursework001.png"
|
"pressed": "resources/w/ui/img/inv/ItemCoursework001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item6Button",
|
"name": "item6Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -380,
|
"x": -380,
|
||||||
"y" : -10,
|
"y": -10,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemReportCard001.png",
|
"normal": "resources/w/ui/img/inv/ItemReportCard001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemReportCard001.png",
|
"hover": "resources/w/ui/img/inv/ItemReportCard001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemReportCard001.png"
|
"pressed": "resources/w/ui/img/inv/ItemReportCard001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item7Button",
|
"name": "item7Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -580,
|
"x": -580,
|
||||||
"y" : -110,
|
"y": -110,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item8Button",
|
"name": "item8Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -480,
|
"x": -480,
|
||||||
"y" : -110,
|
"y": -110,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"name": "item9Button",
|
"name": "item9Button",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -380,
|
"x": -380,
|
||||||
"y" : -110,
|
"y": -110,
|
||||||
"textures": {
|
"textures": {
|
||||||
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "StaticImage",
|
"type": "StaticImage",
|
||||||
"name": "selectedItemPic",
|
"name": "selectedItemPic",
|
||||||
"width": 137,
|
"width": 137,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"x" : -260,
|
"x": -260,
|
||||||
"y" : 90,
|
"y": 90,
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"texture": "resources/w/ui/img/inv/ItemSelReportCard001.png"
|
"texture": "resources/w/ui/img/inv/ItemSelReportCard001.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "TextView",
|
"type": "TextView",
|
||||||
"name": "selectedText",
|
"name": "selectedText",
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "center",
|
"vertical_gravity": "center",
|
||||||
"x" : 250,
|
"x": 250,
|
||||||
"y" : 40,
|
"y": 40,
|
||||||
"width": 900,
|
"width": 900,
|
||||||
"height": 137,
|
"height": 137,
|
||||||
"text": "Серебряный нож.",
|
"text": "Серебряный нож.",
|
||||||
"fontSize": 24,
|
"fontSize": 24,
|
||||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
"textCentered": false,
|
"textCentered": false,
|
||||||
"topAligned": true,
|
"topAligned": true,
|
||||||
"wrap": true,
|
"wrap": true,
|
||||||
"paddingX": 0.0,
|
"paddingX": 0.0,
|
||||||
"paddingY": 0.0,
|
"paddingY": 0.0,
|
||||||
"color": [0.318, 0.635, 1.0, 1.0]
|
"color": [
|
||||||
},
|
0.318,
|
||||||
{
|
0.635,
|
||||||
"type": "TextView",
|
1.0,
|
||||||
"name": "selectedDescription",
|
1.0
|
||||||
"horizontal_gravity": "center",
|
]
|
||||||
"vertical_gravity": "center",
|
},
|
||||||
"x" : 150,
|
{
|
||||||
"y" : -100,
|
"type": "TextView",
|
||||||
"width": 900,
|
"name": "selectedDescription",
|
||||||
"height": 137,
|
"horizontal_gravity": "center",
|
||||||
"text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.",
|
"vertical_gravity": "center",
|
||||||
"fontSize": 24,
|
"x": 150,
|
||||||
"fontPath": "resources/fonts/DroidSans.ttf",
|
"y": -100,
|
||||||
"textCentered": false,
|
"width": 900,
|
||||||
"topAligned": true,
|
"height": 137,
|
||||||
"wrap": true,
|
"text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.",
|
||||||
"paddingX": 0.0,
|
"fontSize": 24,
|
||||||
"paddingY": 0.0,
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
"color": [1.0, 1.0, 1.0, 1.0]
|
"textCentered": false,
|
||||||
}
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"paddingX": 0.0,
|
||||||
|
"paddingY": 0.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);
|
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);
|
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);
|
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);
|
phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_chat_list.json", renderer, zipFile);
|
||||||
phoneChat1Root = loadUiFromFile("resources/w/ui/screen_phone_chat1.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);
|
phoneChat2Root = loadUiFromFile("resources/w/ui/screen_phone_chat2.json", renderer, zipFile);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user