Working on UI, navigation, minor fixing
This commit is contained in:
1 parent
a0550daf4b
commit
03681bedaf
38 files changed
+8303
-772
No files matched your search
+5
-3
@@ -84,6 +84,8 @@ namespace ZL {
|
||||
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);
|
||||
phoneChat3Root = loadUiFromFile("resources/w/ui/screen_phone_chat3.json", renderer, zipFile);
|
||||
|
||||
newInventoryRoot = loadUiFromFile("resources/w/ui/screen_inventory.json", renderer, zipFile);
|
||||
questJournalRoot = loadUiFromFile("resources/w/ui/screen_journal.json", renderer, zipFile);
|
||||
|
||||
@@ -205,13 +207,13 @@ namespace ZL {
|
||||
});
|
||||
uiManager.setButtonCallback("phoneMain", [this](const std::string&) {});
|
||||
uiManager.setTextButtonCallback("chat1button", [this](const std::string&) {
|
||||
openPhoneChatFromList(phoneChat1Root, "dialog_chat_parents001");
|
||||
openPhoneChatFromList(phoneChat1Root, "dialog_chat_aiperi001");
|
||||
});
|
||||
uiManager.setTextButtonCallback("chat2button", [this](const std::string&) {
|
||||
openPhoneChatFromList(phoneChat2Root, "dialog_chat_aiperi001");
|
||||
openPhoneChatFromList(phoneChat2Root, "dialog_chat_parents001");
|
||||
});
|
||||
uiManager.setTextButtonCallback("chat3button", [this](const std::string&) {
|
||||
// not yet implemented
|
||||
openPhoneChatFromList(phoneChat3Root, "dialog_chat_news001");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user