mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 19:03:43 +00:00
26 lines
689 B
C++
26 lines
689 B
C++
#pragma once
|
|
#include "../Screen.h"
|
|
|
|
class ConfirmScreen : public Screen {
|
|
private:
|
|
Screen* parent;
|
|
std::wstring title1;
|
|
std::wstring title2;
|
|
std::wstring yesButton;
|
|
std::wstring noButton;
|
|
int id;
|
|
|
|
public:
|
|
ConfirmScreen(Screen* parent, const std::wstring& title1,
|
|
const std::wstring& title2, int id);
|
|
ConfirmScreen(Screen* parent, const std::wstring& title1,
|
|
const std::wstring& title2, const std::wstring& yesButton,
|
|
const std::wstring& noButton, int id);
|
|
virtual void init();
|
|
|
|
protected:
|
|
virtual void buttonClicked(Button* button);
|
|
|
|
public:
|
|
virtual void render(int xm, int ym, float a);
|
|
}; |