mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-09 12:13:15 +00:00
* system/MsgDialog: types & basic text display * system/MsgDialog: User message dialog * system/MsgDialog: RAII for MsgDialog ui * system/MsgDialog: Progress bar dialog * system/MsgDialog: System message texts * system/MsgDialog: copy all ui state to local memory handles when game release memory before close extracted all UI code to it's own file use single window instead of creating new one every single dialogOpen * system/MsgDialog: debug logging
33 lines
1.4 KiB
C++
33 lines
1.4 KiB
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "core/libraries/system/commondialog.h"
|
|
|
|
namespace Core::Loader {
|
|
class SymbolsResolver;
|
|
}
|
|
|
|
namespace Libraries::MsgDialog {
|
|
|
|
struct DialogResult;
|
|
struct OrbisParam;
|
|
enum class OrbisMsgDialogProgressBarTarget : u32;
|
|
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogClose();
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogGetResult(DialogResult* result);
|
|
CommonDialog::Status PS4_SYSV_ABI sceMsgDialogGetStatus();
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogInitialize();
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogOpen(const OrbisParam* param);
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogProgressBarInc(OrbisMsgDialogProgressBarTarget,
|
|
u32 delta);
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg(OrbisMsgDialogProgressBarTarget,
|
|
const char* msg);
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogProgressBarSetValue(OrbisMsgDialogProgressBarTarget,
|
|
u32 value);
|
|
CommonDialog::Error PS4_SYSV_ABI sceMsgDialogTerminate();
|
|
CommonDialog::Status PS4_SYSV_ABI sceMsgDialogUpdateStatus();
|
|
|
|
void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym);
|
|
} // namespace Libraries::MsgDialog
|