diff --git a/resources/w/ui/img/phone2/ClockDay001.png b/resources/w/ui/img/phone2/ClockDay001.png new file mode 100644 index 0000000..032515f --- /dev/null +++ b/resources/w/ui/img/phone2/ClockDay001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8e80d9ec227dc44526c6a669eb38604600d1e250074c17ea4df34fe4629a9ff +size 26950 diff --git a/resources/w/ui/img/phone2/ClockMorning001.png b/resources/w/ui/img/phone2/ClockMorning001.png new file mode 100644 index 0000000..d73f3ca --- /dev/null +++ b/resources/w/ui/img/phone2/ClockMorning001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17160b73466641c235be33324545e99dbf7c01b95ca00cabdab47cc7352bad52 +size 112049 diff --git a/resources/w/ui/img/phone2/ClockNight001.png b/resources/w/ui/img/phone2/ClockNight001.png new file mode 100644 index 0000000..39d4d18 --- /dev/null +++ b/resources/w/ui/img/phone2/ClockNight001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5018722aa6da343c9300448423329b0bd85270140d1158bcac4b5d0cb2c62909 +size 30538 diff --git a/resources/w/ui/img/phone2/IconBank001.png b/resources/w/ui/img/phone2/IconBank001.png new file mode 100644 index 0000000..1222984 --- /dev/null +++ b/resources/w/ui/img/phone2/IconBank001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a350b0c33975764deae1473dfc57e3f32c7fbfc34348a03e9ab19dda5bb84980 +size 321857 diff --git a/resources/w/ui/img/phone2/IconMessenger001.png b/resources/w/ui/img/phone2/IconMessenger001.png new file mode 100644 index 0000000..6943708 --- /dev/null +++ b/resources/w/ui/img/phone2/IconMessenger001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d73e0b1e4ed6313af152945cd3c535c95f2e8429f0f66adf95320b72e96bfd0 +size 313866 diff --git a/resources/w/ui/img/phone2/IconTaxi001.png b/resources/w/ui/img/phone2/IconTaxi001.png new file mode 100644 index 0000000..8fabb64 --- /dev/null +++ b/resources/w/ui/img/phone2/IconTaxi001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:731aeb7ad0e26d68331bed875e73cd7c9c6f919f70fe5f93769154fbfffdeebb +size 324180 diff --git a/resources/w/ui/img/phone2/IconVideo001.png b/resources/w/ui/img/phone2/IconVideo001.png new file mode 100644 index 0000000..0806fba --- /dev/null +++ b/resources/w/ui/img/phone2/IconVideo001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e61b028e27a46bd0f4ea9530237f95184f8893871204c9cf237bd68327ad56d +size 305936 diff --git a/resources/w/ui/img/phone2/Phone002.png b/resources/w/ui/img/phone2/Phone002.png new file mode 100644 index 0000000..bf8617b --- /dev/null +++ b/resources/w/ui/img/phone2/Phone002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c606e14b4c25b6ec1ac535f2c2264fdde3ec52e2eb6e7ceabc9095b808580ab4 +size 8973303 diff --git a/resources/w/ui/img/phoneBank/PhoneBank002.png b/resources/w/ui/img/phoneBank/PhoneBank002.png new file mode 100644 index 0000000..9f08fbb --- /dev/null +++ b/resources/w/ui/img/phoneBank/PhoneBank002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0498b49afdc3271730b1cb876852c400202f6f6285fd18ad1123cd232d57193 +size 10114475 diff --git a/resources/w/ui/img/phoneBank/PhoneBankBack002.png b/resources/w/ui/img/phoneBank/PhoneBankBack002.png new file mode 100644 index 0000000..4a1f33b --- /dev/null +++ b/resources/w/ui/img/phoneBank/PhoneBankBack002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae39ed601d81e1d0b0eb4ad1221c7fd5f265c669b831b6b7942a2bd7f3790899 +size 8434 diff --git a/resources/w/ui/img/phoneMap/PhoneMapBack001.png b/resources/w/ui/img/phoneMap/PhoneMapBack001.png new file mode 100644 index 0000000..d257108 --- /dev/null +++ b/resources/w/ui/img/phoneMap/PhoneMapBack001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8eadcfcd335dabba5b4be7fad5c4b231340bfdf77076631d768cb6e5171ad399 +size 20141 diff --git a/resources/w/ui/img/phoneMap/PhoneMapButton001.png b/resources/w/ui/img/phoneMap/PhoneMapButton001.png new file mode 100644 index 0000000..8d89a6e --- /dev/null +++ b/resources/w/ui/img/phoneMap/PhoneMapButton001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f01032a1a07fc218fbfa0c954eadeb41d659af27e565cd3627a9dac262bb811 +size 50166 diff --git a/resources/w/ui/img/phoneMap/PhoneMapDorm001.png b/resources/w/ui/img/phoneMap/PhoneMapDorm001.png new file mode 100644 index 0000000..f4856f9 --- /dev/null +++ b/resources/w/ui/img/phoneMap/PhoneMapDorm001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6002d3c6c87489759d49d3f61936e4ff4f9ae6e8f2d742e9017d5fdb9c2db392 +size 6395465 diff --git a/resources/w/ui/img/phoneMap/PhoneMapUni001.png b/resources/w/ui/img/phoneMap/PhoneMapUni001.png new file mode 100644 index 0000000..e817d14 --- /dev/null +++ b/resources/w/ui/img/phoneMap/PhoneMapUni001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1fd3cae58fd434f89361ed82c4e13878b0018028adf7f6ba17e818b849eaff2 +size 6387858 diff --git a/resources/w/ui/img/phoneVideo/PhoneVideo002.png b/resources/w/ui/img/phoneVideo/PhoneVideo002.png new file mode 100644 index 0000000..27ac839 --- /dev/null +++ b/resources/w/ui/img/phoneVideo/PhoneVideo002.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8cfe8d876f3b96089686fde3e04b54f11592ab3ffd2738121879e13e7d558c1 +size 11943964 diff --git a/resources/w/ui/img/phoneVideo/PhoneVideo003.png b/resources/w/ui/img/phoneVideo/PhoneVideo003.png new file mode 100644 index 0000000..beef6af --- /dev/null +++ b/resources/w/ui/img/phoneVideo/PhoneVideo003.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccbafa0e612e17398600827cb0bf48e0d11e6a91ba2b0d0bf8961058bc273df3 +size 11941192 diff --git a/resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png b/resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png new file mode 100644 index 0000000..fc7c425 --- /dev/null +++ b/resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23bd2709df1ef2ddc1d9e2b122d7e95c7987963475902faf06f3ee1d7751c8b1 +size 15568 diff --git a/resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png b/resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png new file mode 100644 index 0000000..4fb7eb7 --- /dev/null +++ b/resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f273a9ea51e12e9f88e246f1fa864d888e013cc61b440889fe1149d31736225d +size 28619 diff --git a/resources/w/ui/screen_inventory.json b/resources/w/ui/screen_inventory.json index 87cef8b..2c661a0 100644 --- a/resources/w/ui/screen_inventory.json +++ b/resources/w/ui/screen_inventory.json @@ -4,228 +4,238 @@ "name": "hud_root", "width": "match_parent", "height": "match_parent", - "vertical_align": "center", - "horizontal_align": "center", + "vertical_align": "center", + "horizontal_align": "center", "children": [ - { + { "type": "StaticImage", "name": "background", "width": 1266, "height": 585, - "horizontal_gravity": "center", - "vertical_gravity": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "texture": "resources/w/ui/img/Inventory001.png" }, - { + { "type": "StaticImage", "name": "allItems", "width": 110, "height": 67, - "x" : -570, - "y" : 200, - "horizontal_gravity": "center", - "vertical_gravity": "center", + "x": -570, + "y": 200, + "horizontal_gravity": "center", + "vertical_gravity": "center", "texture": "resources/w/ui/img/inv/InventoryAllButton001.png" }, { "type": "Button", "name": "inventoryExitButton", - "horizontal_gravity": "center", - "vertical_gravity": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 90, "height": 90, - "x" : 580, - "y" : 240, + "x": 580, + "y": 240, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -580, - "y" : 90, + "x": -580, + "y": 90, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -480, - "y" : 90, + "x": -480, + "y": 90, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -380, - "y" : 90, + "x": -380, + "y": 90, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -580, - "y" : -10, + "x": -580, + "y": -10, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -480, - "y" : -10, + "x": -480, + "y": -10, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -380, - "y" : -10, + "x": -380, + "y": -10, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -580, - "y" : -110, + "x": -580, + "y": -110, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -480, - "y" : -110, + "x": -480, + "y": -110, "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": "center", + "horizontal_gravity": "center", + "vertical_gravity": "center", "width": 137, "height": 137, - "x" : -380, - "y" : -110, + "x": -380, + "y": -110, "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": "StaticImage", "name": "selectedItemPic", "width": 137, "height": 137, - "x" : -260, - "y" : 90, - "horizontal_gravity": "center", - "vertical_gravity": "center", + "x": -260, + "y": 90, + "horizontal_gravity": "center", + "vertical_gravity": "center", "texture": "resources/w/ui/img/inv/ItemSelReportCard001.png" }, - { - "type": "TextView", - "name": "selectedText", - "horizontal_gravity": "center", - "vertical_gravity": "center", - "x" : 250, - "y" : 40, - "width": 900, - "height": 137, - "text": "Серебряный нож.", - "fontSize": 24, - "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": "center", - "x" : 150, - "y" : -100, - "width": 900, - "height": 137, - "text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.", - "fontSize": 24, - "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] - } + { + "type": "TextView", + "name": "selectedText", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": 250, + "y": 40, + "width": 900, + "height": 137, + "text": "Серебряный нож.", + "fontSize": 24, + "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": "center", + "x": 150, + "y": -100, + "width": 900, + "height": 137, + "text": "А все бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут бегут а мы идем.", + "fontSize": 24, + "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 + ] + } ] } } \ No newline at end of file diff --git a/resources/w/ui/screen_phone.json b/resources/w/ui/screen_phone.json new file mode 100644 index 0000000..2ae5dc6 --- /dev/null +++ b/resources/w/ui/screen_phone.json @@ -0,0 +1,106 @@ +{ + "root": { + "type": "FrameLayout", + "name": "hud_root", + "width": "match_parent", + "height": "match_parent", + "vertical_align": "center", + "horizontal_align": "center", + "children": [ + { + "type": "Button", + "name": "phoneExitButton", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 0, + "width": "match_parent", + "height": "match_parent", + "textures": { + "normal": "resources/transparent.png", + "hover": "resources/transparent.png", + "pressed": "resources/transparent.png" + } + }, + { + "type": "StaticImage", + "name": "phoneMain", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -60, + "width": 617.4, + "height": 991.2, + "texture": "resources/w/ui/img/phone2/Phone002.png" + }, + { + "type": "StaticImage", + "name": "phoneTime", + "horizontal_gravity": "center", + "vertical_gravity": "top", + "y": 120, + "width": 446.25, + "height": 120.4, + "texture": "resources/w/ui/img/phone2/ClockDay001.png" + }, + { + "type": "Button", + "name": "phoneBank", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": -80, + "y": -60, + "width": 119, + "height": 119, + "textures": { + "normal": "resources/w/ui/img/phone2/IconBank001.png", + "hover": "resources/w/ui/img/phone2/IconBank001.png", + "pressed": "resources/w/ui/img/phone2/IconBank001.png" + } + }, + { + "type": "Button", + "name": "phoneTaxi", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": 80, + "y": -60, + "width": 119, + "height": 119, + "textures": { + "normal": "resources/w/ui/img/phone2/IconTaxi001.png", + "hover": "resources/w/ui/img/phone2/IconTaxi001.png", + "pressed": "resources/w/ui/img/phone2/IconTaxi001.png" + } + }, + { + "type": "Button", + "name": "phoneVideo", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": 80, + "y": -190, + "width": 119, + "height": 119, + "textures": { + "normal": "resources/w/ui/img/phone2/IconVideo001.png", + "hover": "resources/w/ui/img/phone2/IconVideo001.png", + "pressed": "resources/w/ui/img/phone2/IconVideo001.png" + } + }, + { + "type": "Button", + "name": "phoneMessenger", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": -80, + "y": -190, + "width": 119, + "height": 119, + "textures": { + "normal": "resources/w/ui/img/phone2/IconMessenger001.png", + "hover": "resources/w/ui/img/phone2/IconMessenger001.png", + "pressed": "resources/w/ui/img/phone2/IconMessenger001.png" + } + } + ] + } +} \ No newline at end of file diff --git a/resources/w/ui/screen_phone_bank.json b/resources/w/ui/screen_phone_bank.json new file mode 100644 index 0000000..6c08ca0 --- /dev/null +++ b/resources/w/ui/screen_phone_bank.json @@ -0,0 +1,75 @@ +{ + "root": { + "type": "FrameLayout", + "name": "hud_root", + "width": "match_parent", + "height": "match_parent", + "vertical_align": "center", + "horizontal_align": "center", + "children": [ + { + "type": "Button", + "name": "phoneExitButton", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 0, + "width": "match_parent", + "height": "match_parent", + "textures": { + "normal": "resources/transparent.png", + "hover": "resources/transparent.png", + "pressed": "resources/transparent.png" + } + }, + { + "type": "StaticImage", + "name": "phoneMain", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -60, + "width": 617.4, + "height": 991.2, + "texture": "resources/w/ui/img/phoneBank/PhoneBank002.png" + }, + { + "type": "Button", + "name": "buttonBack", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 280, + "x": -180, + "width": 95.2, + "height": 95.2, + "textures": { + "normal": "resources/w/ui/img/phoneBank/PhoneBankBack002.png", + "hover": "resources/w/ui/img/phoneBank/PhoneBankBack002.png", + "pressed": "resources/w/ui/img/phoneBank/PhoneBankBack002.png" + } + }, + { + "type": "TextView", + "name": "balanceText", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "x": -20, + "y": 120, + "width": 300, + "height": 60, + "text": "5 500 сом", + "fontSize": 40, + "fontPath": "resources/fonts/DroidSans.ttf", + "textCentered": false, + "topAligned": true, + "wrap": true, + "paddingX": 0.0, + "paddingY": 0.0, + "color": [ + 1.0, + 1.0, + 1.0, + 1.0 + ] + } + ] + } +} \ No newline at end of file diff --git a/resources/w/ui/screen_phone_map_dorm.json b/resources/w/ui/screen_phone_map_dorm.json new file mode 100644 index 0000000..2293ae8 --- /dev/null +++ b/resources/w/ui/screen_phone_map_dorm.json @@ -0,0 +1,64 @@ +{ + "root": { + "type": "FrameLayout", + "name": "hud_root", + "width": "match_parent", + "height": "match_parent", + "vertical_align": "center", + "horizontal_align": "center", + "children": [ + { + "type": "Button", + "name": "phoneExitButton", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 0, + "width": "match_parent", + "height": "match_parent", + "textures": { + "normal": "resources/transparent.png", + "hover": "resources/transparent.png", + "pressed": "resources/transparent.png" + } + }, + { + "type": "StaticImage", + "name": "phoneMain", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -60, + "width": 617.4, + "height": 991.2, + "texture": "resources/w/ui/img/phoneMap/PhoneMapDorm001.png" + }, + { + "type": "Button", + "name": "buttonBack", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 310, + "width": 446.6, + "height": 75.6, + "textures": { + "normal": "resources/w/ui/img/phoneMap/PhoneMapBack001.png", + "hover": "resources/w/ui/img/phoneMap/PhoneMapBack001.png", + "pressed": "resources/w/ui/img/phoneMap/PhoneMapBack001.png" + } + }, + { + "type": "Button", + "name": "mapGo", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -280, + "width": 397.6, + "height": 121.8, + "textures": { + "normal": "resources/w/ui/img/phoneMap/PhoneMapButton001.png", + "hover": "resources/w/ui/img/phoneMap/PhoneMapButton001.png", + "pressed": "resources/w/ui/img/phoneMap/PhoneMapButton001.png" + } + } + ] + } +} \ No newline at end of file diff --git a/resources/w/ui/screen_phone_map_uni.json b/resources/w/ui/screen_phone_map_uni.json new file mode 100644 index 0000000..85a0805 --- /dev/null +++ b/resources/w/ui/screen_phone_map_uni.json @@ -0,0 +1,64 @@ +{ + "root": { + "type": "FrameLayout", + "name": "hud_root", + "width": "match_parent", + "height": "match_parent", + "vertical_align": "center", + "horizontal_align": "center", + "children": [ + { + "type": "Button", + "name": "phoneExitButton", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 0, + "width": "match_parent", + "height": "match_parent", + "textures": { + "normal": "resources/transparent.png", + "hover": "resources/transparent.png", + "pressed": "resources/transparent.png" + } + }, + { + "type": "StaticImage", + "name": "phoneMain", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -60, + "width": 617.4, + "height": 991.2, + "texture": "resources/w/ui/img/phoneMap/PhoneMapUni001.png" + }, + { + "type": "Button", + "name": "buttonBack", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 310, + "width": 446.6, + "height": 75.6, + "textures": { + "normal": "resources/w/ui/img/phoneMap/PhoneMapBack001.png", + "hover": "resources/w/ui/img/phoneMap/PhoneMapBack001.png", + "pressed": "resources/w/ui/img/phoneMap/PhoneMapBack001.png" + } + }, + { + "type": "Button", + "name": "mapGo", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -280, + "width": 397.6, + "height": 121.8, + "textures": { + "normal": "resources/w/ui/img/phoneMap/PhoneMapButton001.png", + "hover": "resources/w/ui/img/phoneMap/PhoneMapButton001.png", + "pressed": "resources/w/ui/img/phoneMap/PhoneMapButton001.png" + } + } + ] + } +} \ No newline at end of file diff --git a/resources/w/ui/screen_phone_video.json b/resources/w/ui/screen_phone_video.json new file mode 100644 index 0000000..85cf04e --- /dev/null +++ b/resources/w/ui/screen_phone_video.json @@ -0,0 +1,64 @@ +{ + "root": { + "type": "FrameLayout", + "name": "hud_root", + "width": "match_parent", + "height": "match_parent", + "vertical_align": "center", + "horizontal_align": "center", + "children": [ + { + "type": "Button", + "name": "phoneExitButton", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 0, + "width": "match_parent", + "height": "match_parent", + "textures": { + "normal": "resources/transparent.png", + "hover": "resources/transparent.png", + "pressed": "resources/transparent.png" + } + }, + { + "type": "StaticImage", + "name": "phoneMain", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -60, + "width": 617.4, + "height": 991.2, + "texture": "resources/w/ui/img/phoneVideo/PhoneVideo003.png" + }, + { + "type": "Button", + "name": "buttonBack", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": 310, + "width": 394.8, + "height": 57.4, + "textures": { + "normal": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png", + "hover": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png", + "pressed": "resources/w/ui/img/phoneVideo/PhoneVideoBackButton001.png" + } + }, + { + "type": "Button", + "name": "videoSkip", + "horizontal_gravity": "center", + "vertical_gravity": "center", + "y": -300, + "width": 407.4, + "height": 86.8, + "textures": { + "normal": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png", + "hover": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png", + "pressed": "resources/w/ui/img/phoneVideo/PhoneVideoSkipButton001.png" + } + } + ] + } +} \ No newline at end of file diff --git a/src/MenuManager.cpp b/src/MenuManager.cpp index 7747fb8..c9753f2 100644 --- a/src/MenuManager.cpp +++ b/src/MenuManager.cpp @@ -87,6 +87,11 @@ namespace ZL { hudUniIntFullRoot = loadUiFromFile("resources/w/ui/hud_uni_int_full.json", renderer, zipFile); hudUniIntDarkFullRoot = loadUiFromFile("resources/w/ui/hud_uni_int_dark_full.json", renderer, zipFile); hudUniExtDarkRoot = loadUiFromFile("resources/w/ui/hud_uni_ext_dark.json", renderer, zipFile); + + + //phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_bank.json", renderer, zipFile); + //phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_map_dorm.json", renderer, zipFile); + //phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_video.json", renderer, zipFile); phoneChatListRoot = loadUiFromFile("resources/w/ui/screen_phone_chat_list.json", renderer, zipFile); phoneChat1Root = loadUiFromFile("resources/w/ui/screen_phone_chat1.json", renderer, zipFile); phoneChat2Root = loadUiFromFile("resources/w/ui/screen_phone_chat2.json", renderer, zipFile);