mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-08 01:30:13 +01:00
28 lines
661 B
C++
28 lines
661 B
C++
#pragma once
|
|
|
|
#include "util/types.hpp"
|
|
#include "Emu/Cell/Modules/cellOskDialog.h"
|
|
|
|
#include <QObject>
|
|
|
|
#include <string>
|
|
|
|
class custom_dialog;
|
|
|
|
class osk_dialog_frame : public QObject, public OskDialogBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
osk_dialog_frame() = default;
|
|
~osk_dialog_frame();
|
|
void Create(const std::string& title, const std::u16string& message, char16_t* init_text, u32 charlimit, u32 prohibit_flags, u32 panel_flag, u32 first_view_panel, color base_color, bool dimmer_enabled, bool intercept_input) override;
|
|
void Close(s32 status) override;
|
|
|
|
private:
|
|
void SetOskText(const QString& text);
|
|
|
|
custom_dialog* m_dialog = nullptr;
|
|
QString m_text_old;
|
|
};
|