Working on translations in portrait mode
This commit is contained in:
parent
cdaebc3c0c
commit
a40a582b5a
@ -1136,9 +1136,9 @@
|
|||||||
"en": "I hope I never have to touch this computer again."
|
"en": "I hope I never have to touch this computer again."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Похоже, компьютеры в теневом режиме не функционируют никак.",
|
"key": "Похоже, компьютеры здесь не функционируют никак.",
|
||||||
"ru": "Похоже, компьютеры в теневом режиме не функционируют никак.",
|
"ru": "Похоже, компьютеры здесь не функционируют никак.",
|
||||||
"en": "It appears that computers in dark lands do not function at all."
|
"en": "It appears that computers here do not function at all."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "Тут лежат зачетные книжки студентов.",
|
"key": "Тут лежат зачетные книжки студентов.",
|
||||||
|
|||||||
@ -1538,7 +1538,7 @@
|
|||||||
"type": "Line",
|
"type": "Line",
|
||||||
"speaker": "Бекзат",
|
"speaker": "Бекзат",
|
||||||
"portrait": "resources/dialogue/portrait_hero_neutral.png",
|
"portrait": "resources/dialogue/portrait_hero_neutral.png",
|
||||||
"text": "Похоже, компьютеры в теневом режиме не функционируют никак.",
|
"text": "Похоже, компьютеры здесь не функционируют никак.",
|
||||||
"next": "end_1"
|
"next": "end_1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
BIN
resources/w/ui/img/journal/PortraitQuestJournalBkg001.png
(Stored with Git LFS)
BIN
resources/w/ui/img/journal/PortraitQuestJournalBkg001.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/w/ui/img/journal/PortraitQuestJournalBkg002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/journal/PortraitQuestJournalBkg002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui/img/journal/PortraitQuestJournalItemBkg001.png
(Stored with Git LFS)
BIN
resources/w/ui/img/journal/PortraitQuestJournalItemBkg001.png
(Stored with Git LFS)
Binary file not shown.
BIN
resources/w/ui/img/journal/PortraitQuestJournalItemBkg002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui/img/journal/PortraitQuestJournalItemBkg002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -15,7 +15,7 @@
|
|||||||
"y": 68,
|
"y": 68,
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "top",
|
"vertical_gravity": "top",
|
||||||
"texture": "resources/w/ui/img/journal/PortraitQuestJournalBkg001.png"
|
"texture": "resources/w/ui/img/journal/PortraitQuestJournalBkg002.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
"y": 68,
|
"y": 68,
|
||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"vertical_gravity": "top",
|
"vertical_gravity": "top",
|
||||||
"texture": "resources/w/ui/img/journal/PortraitQuestJournalItemBkg001.png"
|
"texture": "resources/w/ui/img/journal/PortraitQuestJournalItemBkg002.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
|
|||||||
@ -37,22 +37,6 @@
|
|||||||
"pressed": "resources/w/ui/img/phone2/Phone002.png"
|
"pressed": "resources/w/ui/img/phone2/Phone002.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "Button",
|
|
||||||
"name": "phoneMain",
|
|
||||||
"horizontal_gravity": "center",
|
|
||||||
"vertical_gravity": "center",
|
|
||||||
"y": -60,
|
|
||||||
"width": 882,
|
|
||||||
"height": 1416,
|
|
||||||
"clickZoneWidth": 600,
|
|
||||||
"clickZoneHeight": 900,
|
|
||||||
"textures": {
|
|
||||||
"normal": "resources/w/ui/img/phone2/Phone002.png",
|
|
||||||
"hover": "resources/w/ui/img/phone2/Phone002.png",
|
|
||||||
"pressed": "resources/w/ui/img/phone2/Phone002.png"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "StaticImage",
|
"type": "StaticImage",
|
||||||
"name": "phoneTimeDay",
|
"name": "phoneTimeDay",
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
"name": "settingsTitleText",
|
"name": "settingsTitleText",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 60,
|
"height": 60,
|
||||||
"text": "Settings",
|
"text": "Настройки",
|
||||||
"fontSize": 40,
|
"fontSize": 40,
|
||||||
"textCentered": true,
|
"textCentered": true,
|
||||||
"color": [1.0, 1.0, 1.0, 1.0]
|
"color": [1.0, 1.0, 1.0, 1.0]
|
||||||
@ -36,7 +36,7 @@
|
|||||||
"name": "musicVolumeText",
|
"name": "musicVolumeText",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 40,
|
"height": 40,
|
||||||
"text": "Music volume: 100",
|
"text": "Громкость музыки: 100",
|
||||||
"fontSize": 32,
|
"fontSize": 32,
|
||||||
"textCentered": false,
|
"textCentered": false,
|
||||||
"topAligned": true,
|
"topAligned": true,
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"name": "soundVolumeText",
|
"name": "soundVolumeText",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 40,
|
"height": 40,
|
||||||
"text": "Sound volume: 80",
|
"text": "Громкость звука: 80",
|
||||||
"fontSize": 32,
|
"fontSize": 32,
|
||||||
"textCentered": false,
|
"textCentered": false,
|
||||||
"topAligned": true,
|
"topAligned": true,
|
||||||
@ -86,7 +86,7 @@
|
|||||||
"name": "musicToggleButton",
|
"name": "musicToggleButton",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 40,
|
"height": 40,
|
||||||
"text": "Music: ON",
|
"text": "Музыка: ВКЛ",
|
||||||
"fontSize": 32,
|
"fontSize": 32,
|
||||||
"textCentered": true,
|
"textCentered": true,
|
||||||
"color": [0.2, 0.9, 0.2, 1.0]
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
@ -96,7 +96,7 @@
|
|||||||
"name": "soundToggleButton",
|
"name": "soundToggleButton",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 40,
|
"height": 40,
|
||||||
"text": "Sound: ON",
|
"text": "Звук: ВКЛ",
|
||||||
"fontSize": 32,
|
"fontSize": 32,
|
||||||
"textCentered": true,
|
"textCentered": true,
|
||||||
"color": [0.2, 0.9, 0.2, 1.0]
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
@ -106,7 +106,7 @@
|
|||||||
"name": "fullScreenToggleButton",
|
"name": "fullScreenToggleButton",
|
||||||
"width": 500,
|
"width": 500,
|
||||||
"height": 60,
|
"height": 60,
|
||||||
"text": "Full Screen: OFF",
|
"text": "Полноэкранный режим: ВЫКЛ",
|
||||||
"fontSize": 32,
|
"fontSize": 32,
|
||||||
"textCentered": true,
|
"textCentered": true,
|
||||||
"color": [0.2, 0.9, 0.2, 1.0]
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
|
|||||||
@ -50,8 +50,8 @@
|
|||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"texture": "resources/w/ui_en/img/Hint2.png",
|
"texture": "resources/w/ui_en/img/Hint2.png",
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"minScale": 0.92,
|
"minScale": 0.88,
|
||||||
"maxScale": 1.08,
|
"maxScale": 0.95,
|
||||||
"periodMs": 1500
|
"periodMs": 1500
|
||||||
},
|
},
|
||||||
"fadeIn": {
|
"fadeIn": {
|
||||||
|
|||||||
@ -50,8 +50,8 @@
|
|||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"texture": "resources/w/ui_en/img/Hint3.png",
|
"texture": "resources/w/ui_en/img/Hint3.png",
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"minScale": 0.92,
|
"minScale": 0.88,
|
||||||
"maxScale": 1.08,
|
"maxScale": 0.95,
|
||||||
"periodMs": 1500
|
"periodMs": 1500
|
||||||
},
|
},
|
||||||
"fadeIn": {
|
"fadeIn": {
|
||||||
|
|||||||
@ -50,8 +50,8 @@
|
|||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"texture": "resources/w/ui_en/img/Hint4.png",
|
"texture": "resources/w/ui_en/img/Hint4.png",
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"minScale": 0.92,
|
"minScale": 0.88,
|
||||||
"maxScale": 1.08,
|
"maxScale": 0.95,
|
||||||
"periodMs": 1500
|
"periodMs": 1500
|
||||||
},
|
},
|
||||||
"fadeIn": {
|
"fadeIn": {
|
||||||
|
|||||||
@ -50,8 +50,8 @@
|
|||||||
"horizontal_gravity": "center",
|
"horizontal_gravity": "center",
|
||||||
"texture": "resources/w/ui_en/img/Hint5.png",
|
"texture": "resources/w/ui_en/img/Hint5.png",
|
||||||
"pulse": {
|
"pulse": {
|
||||||
"minScale": 0.92,
|
"minScale": 0.88,
|
||||||
"maxScale": 1.08,
|
"maxScale": 0.95,
|
||||||
"periodMs": 1500
|
"periodMs": 1500
|
||||||
},
|
},
|
||||||
"fadeIn": {
|
"fadeIn": {
|
||||||
|
|||||||
BIN
resources/w/ui_en/img/inv/PortraitInventoryBkg001.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui_en/img/inv/PortraitInventoryBkg001.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui_en/img/inv/PortraitInventoryItemBkg003.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui_en/img/inv/PortraitInventoryItemBkg003.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui_en/img/journal/PortraitQuestJournalBkg002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui_en/img/journal/PortraitQuestJournalBkg002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png
(Stored with Git LFS)
Normal file
BIN
resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png
(Stored with Git LFS)
Normal file
Binary file not shown.
183
resources/w/ui_en/portrait_screen_inventory.json
Normal file
183
resources/w/ui_en/portrait_screen_inventory.json
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "hud_root",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"vertical_align": "center",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "background",
|
||||||
|
"width": 640,
|
||||||
|
"height": 1200,
|
||||||
|
"y": 68,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui_en/img/inv/PortraitInventoryBkg001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "allItems",
|
||||||
|
"width": 220,
|
||||||
|
"height": 134,
|
||||||
|
"x": -210,
|
||||||
|
"y": 135,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui_en/img/inv/InventoryAllButton001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "inventoryExitButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 120,
|
||||||
|
"height": 120,
|
||||||
|
"x": 267,
|
||||||
|
"y": 60,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
||||||
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
||||||
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item1Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": -200,
|
||||||
|
"y": 250,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemSelPhone001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemSelPhone001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item2Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": 0,
|
||||||
|
"y": 250,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemJournal001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemJournal001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemJournal001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item3Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": 200,
|
||||||
|
"y": 250,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemKnife001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemKnife001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemKnife001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item4Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": -200,
|
||||||
|
"y": 450,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemNote001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemNote001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemNote001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item5Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": 0,
|
||||||
|
"y": 450,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemCoursework001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemCoursework001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemCoursework001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item6Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": 200,
|
||||||
|
"y": 450,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemReportCard001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemReportCard001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemReportCard001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item7Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": -200,
|
||||||
|
"y": 650,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item8Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": 0,
|
||||||
|
"y": 650,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "item9Button",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": -200,
|
||||||
|
"y": 650,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"hover": "resources/w/ui/img/inv/ItemBook001.png",
|
||||||
|
"pressed": "resources/w/ui/img/inv/ItemBook001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
96
resources/w/ui_en/portrait_screen_inventory_item.json
Normal file
96
resources/w/ui_en/portrait_screen_inventory_item.json
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "hud_root",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"vertical_align": "center",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "background",
|
||||||
|
"width": 640,
|
||||||
|
"height": 1200,
|
||||||
|
"y": 68,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui_en/img/inv/PortraitInventoryItemBkg003.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "inventoryExitButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 120,
|
||||||
|
"height": 120,
|
||||||
|
"x": 267,
|
||||||
|
"y": 60,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
||||||
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
||||||
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "selectedItemPic",
|
||||||
|
"width": 274,
|
||||||
|
"height": 274,
|
||||||
|
"x": -200,
|
||||||
|
"y": 190,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui/img/inv/ItemSelReportCard001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "selectedText",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"x": 10,
|
||||||
|
"y": 140,
|
||||||
|
"width": 600,
|
||||||
|
"height": 137,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"paddingX": 0.0,
|
||||||
|
"paddingY": 0.0,
|
||||||
|
"color": [
|
||||||
|
0.318,
|
||||||
|
0.635,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "selectedDescription",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"x": 4.0,
|
||||||
|
"y": 520.0,
|
||||||
|
"width": 580.0,
|
||||||
|
"height": 400.0,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 48,
|
||||||
|
"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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
293
resources/w/ui_en/portrait_screen_journal.json
Normal file
293
resources/w/ui_en/portrait_screen_journal.json
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "hud_root",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"vertical_align": "top",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "background",
|
||||||
|
"width": 640,
|
||||||
|
"height": 1200,
|
||||||
|
"y": 68,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui_en/img/journal/PortraitQuestJournalBkg002.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "journalExitButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 120,
|
||||||
|
"height": 120,
|
||||||
|
"x": 267,
|
||||||
|
"y": 60,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
||||||
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
||||||
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"spacing": 0,
|
||||||
|
"x": 0,
|
||||||
|
"y": 170,
|
||||||
|
"width": 640,
|
||||||
|
"height": 1080,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item1name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640,
|
||||||
|
"height": 0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkg001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkg001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkg001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item2name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item3name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 213.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.02,
|
||||||
|
0.875,
|
||||||
|
0.447,
|
||||||
|
0.6
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item4name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item5name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item6name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item7name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item8name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "item9name",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 0.0,
|
||||||
|
"text": "",
|
||||||
|
"textPaddingY": 8.0,
|
||||||
|
"textPaddingX": 32.0,
|
||||||
|
"fontSize": 48,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"hover": "resources/w/ui/img/journal/ButtonBkgTransparent001.png",
|
||||||
|
"pressed": "resources/w/ui/img/journal/ButtonBkgTransparent001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
223
resources/w/ui_en/portrait_screen_journal_item.json
Normal file
223
resources/w/ui_en/portrait_screen_journal_item.json
Normal file
@ -0,0 +1,223 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "hud_root",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"vertical_align": "top",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "background",
|
||||||
|
"width": 640,
|
||||||
|
"height": 1200,
|
||||||
|
"y": 68,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"texture": "resources/w/ui_en/img/journal/PortraitQuestJournalItemBkg002.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "journalItemExitButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 120,
|
||||||
|
"height": 120,
|
||||||
|
"x": 267,
|
||||||
|
"y": 60,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/Close001_State=Default.png",
|
||||||
|
"hover": "resources/w/ui/img/Close001_State=Selected.png",
|
||||||
|
"pressed": "resources/w/ui/img/Close001_State=Tap.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "quest_title",
|
||||||
|
"x": 30.0,
|
||||||
|
"y": 230.0,
|
||||||
|
"width": 640.0,
|
||||||
|
"height": 44.0,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 56,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": false,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.992,
|
||||||
|
0.78,
|
||||||
|
0.0,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "objective1checkbox",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 60,
|
||||||
|
"height": 60,
|
||||||
|
"x": -255,
|
||||||
|
"y": 380,
|
||||||
|
"texture": "resources/w/ui/img/journal/quest_objective_completed.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"spacing": 0,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"vertical_align": "bottom",
|
||||||
|
"name": "objective1nameLayout",
|
||||||
|
"paddingY": 0,
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 60.0,
|
||||||
|
"x": 56,
|
||||||
|
"y": 370,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "objective1name",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"paddingY": -20,
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 60.0,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": false,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.02,
|
||||||
|
0.875,
|
||||||
|
0.447,
|
||||||
|
0.6
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "objective2checkbox",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 60,
|
||||||
|
"height": 60,
|
||||||
|
"x": -255,
|
||||||
|
"y": 460,
|
||||||
|
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"name": "objective2nameLayout",
|
||||||
|
"spacing": 0,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"vertical_align": "bottom",
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 80.0,
|
||||||
|
"x": 56,
|
||||||
|
"y": 450,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "objective2name",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"paddingY": 0,
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 60.0,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": false,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
0.9
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "objective3checkbox",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 60,
|
||||||
|
"height": 60,
|
||||||
|
"x": -255,
|
||||||
|
"y": 540,
|
||||||
|
"texture": "resources/w/ui/img/journal/quest_objective_blank.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"spacing": 0,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"vertical_align": "bottom",
|
||||||
|
"name": "objective3nameLayout",
|
||||||
|
"paddingY": 0,
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 60.0,
|
||||||
|
"x": 56,
|
||||||
|
"y": 530,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "objective3name",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"width": 540.0,
|
||||||
|
"height": 60.0,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": false,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
0.9
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "quest_description",
|
||||||
|
"x": 4.0,
|
||||||
|
"y": 480.0,
|
||||||
|
"width": 580.0,
|
||||||
|
"height": 400.0,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "top",
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 24,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": false,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.996,
|
||||||
|
0.977,
|
||||||
|
0.761,
|
||||||
|
0.75
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
132
resources/w/ui_en/portrait_screen_phone.json
Normal file
132
resources/w/ui_en/portrait_screen_phone.json
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone2/Phone002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDay",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 172,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockDay001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeNight",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockNight001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDawn",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockMorning001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "phoneBank",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": -110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": -110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
81
resources/w/ui_en/portrait_screen_phone_bank.json
Normal file
81
resources/w/ui_en/portrait_screen_phone_bank.json
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneBank/PhoneBank002.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneBank/PhoneBank002.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneBank/PhoneBank002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "buttonBack",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 420,
|
||||||
|
"x": -240,
|
||||||
|
"width": 136,
|
||||||
|
"height": 136,
|
||||||
|
"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": 200,
|
||||||
|
"width": 380,
|
||||||
|
"height": 80,
|
||||||
|
"text": "",
|
||||||
|
"fontSize": 60,
|
||||||
|
"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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
85
resources/w/ui_en/portrait_screen_phone_chat1.json
Normal file
85
resources/w/ui_en/portrait_screen_phone_chat1.json
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chatMessagesContainer",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": 1000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chatTopCover",
|
||||||
|
"width": 638,
|
||||||
|
"height": 101.25,
|
||||||
|
"x": 0,
|
||||||
|
"y": 536,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chatTitleButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 424,
|
||||||
|
"width": 638,
|
||||||
|
"height": 112,
|
||||||
|
"text": "Aiperi",
|
||||||
|
"textPaddingY": 28.0,
|
||||||
|
"textPaddingX": 216.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/CharHeader001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/CharHeader001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/CharHeader001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
85
resources/w/ui_en/portrait_screen_phone_chat2.json
Normal file
85
resources/w/ui_en/portrait_screen_phone_chat2.json
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chatMessagesContainer",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": 1000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chatTopCover",
|
||||||
|
"width": 638,
|
||||||
|
"height": 101.25,
|
||||||
|
"x": 0,
|
||||||
|
"y": 536,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chatTitleButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 424,
|
||||||
|
"width": 638,
|
||||||
|
"height": 112,
|
||||||
|
"text": "Dad",
|
||||||
|
"textPaddingY": 28.0,
|
||||||
|
"textPaddingX": 216.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/CharHeader002.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/CharHeader002.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/CharHeader002.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
85
resources/w/ui_en/portrait_screen_phone_chat3.json
Normal file
85
resources/w/ui_en/portrait_screen_phone_chat3.json
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/PhoneChat001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/PhoneChat001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chatMessagesContainer",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": 1000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chatTopCover",
|
||||||
|
"width": 638,
|
||||||
|
"height": 101.25,
|
||||||
|
"x": 0,
|
||||||
|
"y": 536,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui/img/phone/chat_top_cover001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chatTitleButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 424,
|
||||||
|
"width": 638,
|
||||||
|
"height": 112,
|
||||||
|
"text": "Bishkek.News",
|
||||||
|
"textPaddingY": 28.0,
|
||||||
|
"textPaddingX": 216.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/CharHeader003.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/CharHeader003.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/CharHeader003.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
247
resources/w/ui_en/portrait_screen_phone_chat_list.json
Normal file
247
resources/w/ui_en/portrait_screen_phone_chat_list.json
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone/PhoneChatList001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone/PhoneChatList001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone/PhoneChatList001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"spacing": 0,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 800,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat1frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat1button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Aiperi",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat1Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat1msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bekzat, remember we ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat2frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat2button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Dad",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat2Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat2msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bekzat, son, I and ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat3frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat3button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bishkek.News",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem003.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat3Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat3msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 124,
|
||||||
|
"text": "Bishkek residents are ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
266
resources/w/ui_en/portrait_screen_phone_chat_list_hint001.json
Normal file
266
resources/w/ui_en/portrait_screen_phone_chat_list_hint001.json
Normal file
@ -0,0 +1,266 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone/PhoneChatList001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone/PhoneChatList001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone/PhoneChatList001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"spacing": 0,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 800,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat1frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat1button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Aiperi",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem001.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat1Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat1msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bekzat, remember we ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat2frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat2button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Dad",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem002.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat2Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat2msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bekzat, son, I and ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"name": "chat3frame",
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "chat3button",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 126,
|
||||||
|
"text": "Bishkek.News",
|
||||||
|
"textPaddingY": 16.0,
|
||||||
|
"textPaddingX": 128.0,
|
||||||
|
"fontSize": 40,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0,
|
||||||
|
1.0
|
||||||
|
],
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||||
|
"hover": "resources/w/ui/img/phone/ChatListItem003.png",
|
||||||
|
"pressed": "resources/w/ui/img/phone/ChatListItem003.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "chat3Unread",
|
||||||
|
"x": 570,
|
||||||
|
"y": 50,
|
||||||
|
"width": 41,
|
||||||
|
"height": 41,
|
||||||
|
"texture": "resources/w/ui/img/phone/ChatListUnread1.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "chat3msg",
|
||||||
|
"x": 128.0,
|
||||||
|
"y": 60.0,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 124,
|
||||||
|
"text": "Bishkek residents are ...",
|
||||||
|
"fontSize": 32,
|
||||||
|
"fontPath": "resources/fonts/DroidSans.ttf",
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"wrap": true,
|
||||||
|
"color": [
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
0.8,
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m002",
|
||||||
|
"width": 600,
|
||||||
|
"height": 234,
|
||||||
|
"x": 0,
|
||||||
|
"y": -160,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui_en/img/Hint_m001.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
170
resources/w/ui_en/portrait_screen_phone_hint001.json
Normal file
170
resources/w/ui_en/portrait_screen_phone_hint001.json
Normal file
@ -0,0 +1,170 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone2/Phone002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDay",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 172,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockDay001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeNight",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockNight001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDawn",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockMorning001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "phoneBank",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": -110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": -110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m001arrow",
|
||||||
|
"width": 48,
|
||||||
|
"height": 170,
|
||||||
|
"x": -110,
|
||||||
|
"y": -400,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui/img/hint_arrow_up.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m001",
|
||||||
|
"width": 621,
|
||||||
|
"height": 207,
|
||||||
|
"x": 0,
|
||||||
|
"y": -470,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui_en/img/Hint_m002.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
208
resources/w/ui_en/portrait_screen_phone_hint001_002.json
Normal file
208
resources/w/ui_en/portrait_screen_phone_hint001_002.json
Normal file
@ -0,0 +1,208 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone2/Phone002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDay",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 172,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockDay001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeNight",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockNight001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDawn",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockMorning001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "phoneBank",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": -110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": -110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m001arrow",
|
||||||
|
"width": 48,
|
||||||
|
"height": 170,
|
||||||
|
"x": -110,
|
||||||
|
"y": -400,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui/img/hint_arrow_up.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m001",
|
||||||
|
"width": 621,
|
||||||
|
"height": 207,
|
||||||
|
"x": 0,
|
||||||
|
"y": -470,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"texture": "resources/w/ui_en/img/Hint_m002.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m003arrow",
|
||||||
|
"width": 48,
|
||||||
|
"height": 170,
|
||||||
|
"x" : 110,
|
||||||
|
"y" : 130,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity" : "center",
|
||||||
|
"texture": "resources/w/ui/img/hint_arrow_down_small.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m003",
|
||||||
|
"width": 636,
|
||||||
|
"height": 280,
|
||||||
|
"x" : 0,
|
||||||
|
"y" : 250,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity" : "center",
|
||||||
|
"texture": "resources/w/ui_en/img/Hint_m003.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
170
resources/w/ui_en/portrait_screen_phone_hint002.json
Normal file
170
resources/w/ui_en/portrait_screen_phone_hint002.json
Normal file
@ -0,0 +1,170 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phone2/Phone002.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phone2/Phone002.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDay",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 637.5,
|
||||||
|
"height": 172,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockDay001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeNight",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockNight001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "phoneTimeDawn",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 200,
|
||||||
|
"width": 446.25,
|
||||||
|
"height": 120.4,
|
||||||
|
"texture": "resources/w/ui_en/img/phone2/ClockMorning001.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "phoneBank",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"x": -110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -60,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": 110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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": -110,
|
||||||
|
"y": -240,
|
||||||
|
"width": 170,
|
||||||
|
"height": 170,
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m003arrow",
|
||||||
|
"width": 48,
|
||||||
|
"height": 170,
|
||||||
|
"x" : 110,
|
||||||
|
"y" : 130,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity" : "center",
|
||||||
|
"texture": "resources/w/ui/img/hint_arrow_down_small.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "hint_m003",
|
||||||
|
"width": 636,
|
||||||
|
"height": 280,
|
||||||
|
"x" : 0,
|
||||||
|
"y" : 250,
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity" : "center",
|
||||||
|
"texture": "resources/w/ui_en/img/Hint_m003.png",
|
||||||
|
"pulse": {
|
||||||
|
"minScale": 0.92,
|
||||||
|
"maxScale": 1.08,
|
||||||
|
"periodMs": 1500
|
||||||
|
},
|
||||||
|
"fadeIn": {
|
||||||
|
"durationMs": 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
70
resources/w/ui_en/portrait_screen_phone_map_dorm.json
Normal file
70
resources/w/ui_en/portrait_screen_phone_map_dorm.json
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapDorm001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapDorm001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapDorm001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "buttonBack",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 470,
|
||||||
|
"width": 638,
|
||||||
|
"height": 108,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "mapGo",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -400,
|
||||||
|
"width": 568,
|
||||||
|
"height": 174,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
70
resources/w/ui_en/portrait_screen_phone_map_uni.json
Normal file
70
resources/w/ui_en/portrait_screen_phone_map_uni.json
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapUni001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapUni001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapUni001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "buttonBack",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 470,
|
||||||
|
"width": 638,
|
||||||
|
"height": 108,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapBack001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "mapGo",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -400,
|
||||||
|
"width": 568,
|
||||||
|
"height": 174,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneMap/PhoneMapButton001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
70
resources/w/ui_en/portrait_screen_phone_video.json
Normal file
70
resources/w/ui_en/portrait_screen_phone_video.json
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"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": "Button",
|
||||||
|
"name": "phoneMain",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -60,
|
||||||
|
"width": 882,
|
||||||
|
"height": 1416,
|
||||||
|
"clickZoneWidth": 600,
|
||||||
|
"clickZoneHeight": 900,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneVideo/PhoneVideo003.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneVideo/PhoneVideo003.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneVideo/PhoneVideo003.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "buttonBack",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": 470,
|
||||||
|
"width": 564,
|
||||||
|
"height": 82,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneVideo/PhoneVideoBackButton001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneVideo/PhoneVideoBackButton001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneVideo/PhoneVideoBackButton001.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Button",
|
||||||
|
"name": "videoSkip",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"y": -430,
|
||||||
|
"width": 582,
|
||||||
|
"height": 124,
|
||||||
|
"textures": {
|
||||||
|
"normal": "resources/w/ui_en/img/phoneVideo/PhoneVideoSkipButton001.png",
|
||||||
|
"hover": "resources/w/ui_en/img/phoneVideo/PhoneVideoSkipButton001.png",
|
||||||
|
"pressed": "resources/w/ui_en/img/phoneVideo/PhoneVideoSkipButton001.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
84
resources/w/ui_en/screen_load.json
Normal file
84
resources/w/ui_en/screen_load.json
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "loadBkg",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"texture": "resources/w/ui/img/main/bkg.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"vertical_align": "center",
|
||||||
|
"spacing": 24,
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "loadTitle",
|
||||||
|
"width": 300,
|
||||||
|
"height": 70,
|
||||||
|
"text": "Select a saved game:",
|
||||||
|
"fontSize": 48,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "loadSlot1Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "loadSlot2Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "loadSlot3Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "loadSlot4Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "loadBackButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "bottom",
|
||||||
|
"y": 40,
|
||||||
|
"width": 200,
|
||||||
|
"height": 60,
|
||||||
|
"text": "Back",
|
||||||
|
"fontSize": 40,
|
||||||
|
"textCentered": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
84
resources/w/ui_en/screen_save.json
Normal file
84
resources/w/ui_en/screen_save.json
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "saveBkg",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"texture": "resources/w/ui/img/main/bkg.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_align": "center",
|
||||||
|
"vertical_align": "center",
|
||||||
|
"spacing": 24,
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "saveTitle",
|
||||||
|
"width": 300,
|
||||||
|
"height": 70,
|
||||||
|
"text": "Select a save slot:",
|
||||||
|
"fontSize": 48,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "saveSlot1Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "saveSlot2Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "saveSlot3Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "saveSlot4Button",
|
||||||
|
"width": 600,
|
||||||
|
"height": 70,
|
||||||
|
"text": "(empty)",
|
||||||
|
"fontSize": 24,
|
||||||
|
"textCentered": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "saveBackButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "bottom",
|
||||||
|
"y": 40,
|
||||||
|
"width": 200,
|
||||||
|
"height": 60,
|
||||||
|
"text": "Back",
|
||||||
|
"fontSize": 40,
|
||||||
|
"textCentered": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
130
resources/w/ui_en/screen_settings.json
Normal file
130
resources/w/ui_en/screen_settings.json
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
{
|
||||||
|
"root": {
|
||||||
|
"type": "FrameLayout",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "StaticImage",
|
||||||
|
"name": "settingsBkg",
|
||||||
|
"width": "match_parent",
|
||||||
|
"height": "match_parent",
|
||||||
|
"texture": "resources/w/ui/img/main/bkg.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "LinearLayout",
|
||||||
|
"orientation": "vertical",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "center",
|
||||||
|
"horizontal_align": "left",
|
||||||
|
"width": 500,
|
||||||
|
"height": 600,
|
||||||
|
"spacing": 20,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "settingsTitleText",
|
||||||
|
"width": 500,
|
||||||
|
"height": 60,
|
||||||
|
"text": "Settings",
|
||||||
|
"fontSize": 40,
|
||||||
|
"textCentered": true,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "musicVolumeText",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"text": "Music volume: 100",
|
||||||
|
"fontSize": 32,
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"paddingX": 10,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Slider",
|
||||||
|
"name": "musicVolumeSlider",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"value": 0.78125,
|
||||||
|
"interactive": true,
|
||||||
|
"textures": {
|
||||||
|
"track": "resources/w/red.png",
|
||||||
|
"knob": "resources/w/blue.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextView",
|
||||||
|
"name": "soundVolumeText",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"text": "Sound volume: 80",
|
||||||
|
"fontSize": 32,
|
||||||
|
"textCentered": false,
|
||||||
|
"topAligned": true,
|
||||||
|
"paddingX": 10,
|
||||||
|
"color": [1.0, 1.0, 1.0, 1.0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Slider",
|
||||||
|
"name": "soundVolumeSlider",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"value": 0.625,
|
||||||
|
"interactive": true,
|
||||||
|
"textures": {
|
||||||
|
"track": "resources/w/red.png",
|
||||||
|
"knob": "resources/w/blue.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "musicToggleButton",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"text": "Music: ON",
|
||||||
|
"fontSize": 32,
|
||||||
|
"textCentered": true,
|
||||||
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "soundToggleButton",
|
||||||
|
"width": 500,
|
||||||
|
"height": 40,
|
||||||
|
"text": "Sound: ON",
|
||||||
|
"fontSize": 32,
|
||||||
|
"textCentered": true,
|
||||||
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "fullScreenToggleButton",
|
||||||
|
"width": 500,
|
||||||
|
"height": 60,
|
||||||
|
"text": "Full screen: OFF",
|
||||||
|
"fontSize": 32,
|
||||||
|
"textCentered": true,
|
||||||
|
"color": [0.2, 0.9, 0.2, 1.0]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "TextButton",
|
||||||
|
"name": "settingsBackButton",
|
||||||
|
"horizontal_gravity": "center",
|
||||||
|
"vertical_gravity": "bottom",
|
||||||
|
"y": 40,
|
||||||
|
"width": 200,
|
||||||
|
"height": 60,
|
||||||
|
"text": "Back",
|
||||||
|
"fontSize": 40,
|
||||||
|
"textCentered": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -379,44 +379,67 @@ namespace ZL {
|
|||||||
const float soundFrac = audioPlayer_.getSoundVolume() / 128.0f;
|
const float soundFrac = audioPlayer_.getSoundVolume() / 128.0f;
|
||||||
uiManager.setSliderValue("musicVolumeSlider", musicFrac);
|
uiManager.setSliderValue("musicVolumeSlider", musicFrac);
|
||||||
uiManager.setSliderValue("soundVolumeSlider", soundFrac);
|
uiManager.setSliderValue("soundVolumeSlider", soundFrac);
|
||||||
|
|
||||||
|
static std::string musicVolumePrefix = "Громкость музыки: ";
|
||||||
|
static std::string soundVolumePrefix = "Громкость звука: ";
|
||||||
|
|
||||||
|
static std::string musicToggleOn = "Музыка: ВКЛ";
|
||||||
|
static std::string musicToggleOff = "Музыка: ВЫКЛ";
|
||||||
|
static std::string soundToggleOn = "Звук: ВКЛ";
|
||||||
|
static std::string soundToggleOff = "Звук: ВЫКЛ";
|
||||||
|
static std::string fullScreenToggleOn = "Полноэкранный режим: ВКЛ";
|
||||||
|
static std::string fullScreenToggleOff = "Полноэкранный режим: ВЫКЛ";
|
||||||
|
|
||||||
|
if (g_currentLanguage == Language::English)
|
||||||
|
{
|
||||||
|
musicVolumePrefix = "Music volume: ";
|
||||||
|
soundVolumePrefix = "Sound volume: ";
|
||||||
|
musicToggleOn = "Music: ON";
|
||||||
|
musicToggleOff = "Music: OFF";
|
||||||
|
soundToggleOn = "Sound: ON";
|
||||||
|
soundToggleOff = "Sound: OFF";
|
||||||
|
fullScreenToggleOn = "Full Screen: ON";
|
||||||
|
fullScreenToggleOff = "Full Screen: OFF";
|
||||||
|
}
|
||||||
|
|
||||||
uiManager.setText("musicVolumeText",
|
uiManager.setText("musicVolumeText",
|
||||||
"Music volume: " + std::to_string(audioPlayer_.getMusicVolume()));
|
musicVolumePrefix + std::to_string(audioPlayer_.getMusicVolume()));
|
||||||
uiManager.setText("soundVolumeText",
|
uiManager.setText("soundVolumeText",
|
||||||
"Sound volume: " + std::to_string(audioPlayer_.getSoundVolume()));
|
soundVolumePrefix + std::to_string(audioPlayer_.getSoundVolume()));
|
||||||
|
|
||||||
uiManager.setSliderCallback("musicVolumeSlider",
|
uiManager.setSliderCallback("musicVolumeSlider",
|
||||||
[this](const std::string&, float value) {
|
[this](const std::string&, float value) {
|
||||||
const int vol = static_cast<int>(value * 128.0f + 0.5f);
|
const int vol = static_cast<int>(value * 128.0f + 0.5f);
|
||||||
audioPlayer_.setMusicVolume(vol);
|
audioPlayer_.setMusicVolume(vol);
|
||||||
uiManager.setText("musicVolumeText",
|
uiManager.setText("musicVolumeText",
|
||||||
"Music volume: " + std::to_string(vol));
|
musicVolumePrefix + std::to_string(vol));
|
||||||
});
|
});
|
||||||
uiManager.setSliderCallback("soundVolumeSlider",
|
uiManager.setSliderCallback("soundVolumeSlider",
|
||||||
[this](const std::string&, float value) {
|
[this](const std::string&, float value) {
|
||||||
const int vol = static_cast<int>(value * 128.0f + 0.5f);
|
const int vol = static_cast<int>(value * 128.0f + 0.5f);
|
||||||
audioPlayer_.setSoundVolume(vol);
|
audioPlayer_.setSoundVolume(vol);
|
||||||
uiManager.setText("soundVolumeText",
|
uiManager.setText("soundVolumeText",
|
||||||
"Sound volume: " + std::to_string(vol));
|
soundVolumePrefix + std::to_string(vol));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Music on/off toggle — helper to sync button text and color from current state
|
// Music on/off toggle — helper to sync button text and color from current state
|
||||||
auto refreshMusicToggle = [this]() {
|
auto refreshMusicToggle = [this]() {
|
||||||
const bool on = audioPlayer_.isMusicEnabled();
|
const bool on = audioPlayer_.isMusicEnabled();
|
||||||
uiManager.setTextButtonText("musicToggleButton", on ? "Music: ON" : "Music: OFF");
|
uiManager.setTextButtonText("musicToggleButton", on ? musicToggleOn : musicToggleOff);
|
||||||
uiManager.setTextButtonColor("musicToggleButton", on
|
uiManager.setTextButtonColor("musicToggleButton", on
|
||||||
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
||||||
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
||||||
};
|
};
|
||||||
auto refreshSoundToggle = [this]() {
|
auto refreshSoundToggle = [this]() {
|
||||||
const bool on = audioPlayer_.isSoundEnabled();
|
const bool on = audioPlayer_.isSoundEnabled();
|
||||||
uiManager.setTextButtonText("soundToggleButton", on ? "Sound: ON" : "Sound: OFF");
|
uiManager.setTextButtonText("soundToggleButton", on ? soundToggleOn : soundToggleOff);
|
||||||
uiManager.setTextButtonColor("soundToggleButton", on
|
uiManager.setTextButtonColor("soundToggleButton", on
|
||||||
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
||||||
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
||||||
};
|
};
|
||||||
auto refreshFullscreenToggle = [this]() {
|
auto refreshFullscreenToggle = [this]() {
|
||||||
const bool on = Environment::isFullscreen;
|
const bool on = Environment::isFullscreen;
|
||||||
uiManager.setTextButtonText("fullScreenToggleButton", on ? "Full Screen: ON" : "Full Screen: OFF");
|
uiManager.setTextButtonText("fullScreenToggleButton", on ? fullScreenToggleOn : fullScreenToggleOff);
|
||||||
uiManager.setTextButtonColor("fullScreenToggleButton", on
|
uiManager.setTextButtonColor("fullScreenToggleButton", on
|
||||||
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
||||||
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
||||||
@ -429,7 +452,7 @@ namespace ZL {
|
|||||||
uiManager.setTextButtonCallback("musicToggleButton", [this](const std::string&) {
|
uiManager.setTextButtonCallback("musicToggleButton", [this](const std::string&) {
|
||||||
audioPlayer_.setMusicEnabled(!audioPlayer_.isMusicEnabled());
|
audioPlayer_.setMusicEnabled(!audioPlayer_.isMusicEnabled());
|
||||||
const bool on = audioPlayer_.isMusicEnabled();
|
const bool on = audioPlayer_.isMusicEnabled();
|
||||||
uiManager.setTextButtonText("musicToggleButton", on ? "Music: ON" : "Music: OFF");
|
uiManager.setTextButtonText("musicToggleButton", on ? musicToggleOn : musicToggleOff);
|
||||||
uiManager.setTextButtonColor("musicToggleButton", on
|
uiManager.setTextButtonColor("musicToggleButton", on
|
||||||
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
||||||
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
||||||
@ -437,7 +460,7 @@ namespace ZL {
|
|||||||
uiManager.setTextButtonCallback("soundToggleButton", [this](const std::string&) {
|
uiManager.setTextButtonCallback("soundToggleButton", [this](const std::string&) {
|
||||||
audioPlayer_.setSoundEnabled(!audioPlayer_.isSoundEnabled());
|
audioPlayer_.setSoundEnabled(!audioPlayer_.isSoundEnabled());
|
||||||
const bool on = audioPlayer_.isSoundEnabled();
|
const bool on = audioPlayer_.isSoundEnabled();
|
||||||
uiManager.setTextButtonText("soundToggleButton", on ? "Sound: ON" : "Sound: OFF");
|
uiManager.setTextButtonText("soundToggleButton", on ? soundToggleOn : soundToggleOff);
|
||||||
uiManager.setTextButtonColor("soundToggleButton", on
|
uiManager.setTextButtonColor("soundToggleButton", on
|
||||||
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
? std::array<float, 4>{ 0.2f, 0.9f, 0.2f, 1.0f }
|
||||||
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
: std::array<float, 4>{ 0.9f, 0.2f, 0.2f, 1.0f });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user