mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Abstract class for MsgDialog interface
This commit is contained in:
parent
cfb41c4dab
commit
00205bfa58
8 changed files with 227 additions and 237 deletions
|
|
@ -1,7 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
void MsgDialogCreate(u32 type, const char* msg, u64& status);
|
||||
void MsgDialogDestroy();
|
||||
void MsgDialogProgressBarSetMsg(u32 index, const char* msg);
|
||||
void MsgDialogProgressBarReset(u32 index);
|
||||
void MsgDialogProgressBarInc(u32 index, u32 delta);
|
||||
#include "Emu/SysCalls/Modules/cellMsgDialog.h"
|
||||
|
||||
class MsgDialogFrame : public MsgDialogInstance
|
||||
{
|
||||
wxDialog* m_dialog;
|
||||
wxGauge* m_gauge1;
|
||||
wxGauge* m_gauge2;
|
||||
wxStaticText* m_text1;
|
||||
wxStaticText* m_text2;
|
||||
wxButton* m_button_ok;
|
||||
wxButton* m_button_yes;
|
||||
wxButton* m_button_no;
|
||||
wxStaticText* m_text;
|
||||
wxSizer* m_sizer1;
|
||||
|
||||
public:
|
||||
virtual void Create(u32 type, const char* msg) override;
|
||||
virtual void Destroy() override;
|
||||
virtual void ProgressBarSetMsg(u32 progressBarIndex, const char* msg) override;
|
||||
virtual void ProgressBarReset(u32 progressBarIndex) override;
|
||||
virtual void ProgressBarInc(u32 progressBarIndex, u32 delta) override;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue