#include "stdafx.h" #include "../overlay_manager.h" #include "overlay_sendmessage_dialog.h" #include "Emu/System.h" #include "Emu/NP/rpcn_client.h" #include "Emu/Cell/Modules/cellMsgDialog.h" #include "Emu/Cell/PPUThread.h" // for vm_var #include "Emu/Memory/vm_var.h" #include "Emu/Io/interception.h" #include "Utilities/Thread.h" namespace rsx { namespace overlays { void sendmessage_friend_callback(void* param, rpcn::NotificationType ntype, const std::string& username, bool status) { auto* dlg = static_cast(param); dlg->callback_handler(ntype, username, status); } sendmessage_dialog::list_entry::list_entry(const std::string& msg) { std::unique_ptr text_stack = std::make_unique(); std::unique_ptr padding = std::make_unique(); std::unique_ptr text_label = std::make_unique