Working on journal portrait mode
This commit is contained in:
1 parent
b41e312511
commit
1b172460e0
7 files changed
+617
-17
No files matched your search
@@ -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/img/journal/PortraitQuestJournalBkg001.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": "Главное Задание 1",
|
||||
"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": "Задание 2",
|
||||
"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": "Задание 3",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user