blob: 12b85693b0ddb89bdb89e30b1d31e6749f0abaa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "Screen.h"
using namespace std;
class ConfirmScreen : public Screen
{
private:
Screen *parent;
wstring title1;
wstring title2;
wstring yesButton;
wstring noButton;
int id;
public:
ConfirmScreen(Screen *parent, const wstring& title1, const wstring& title2, int id);
ConfirmScreen(Screen *parent, const wstring& title1, const wstring& title2, const wstring& yesButton, const wstring& noButton, int id);
virtual void init();
protected:
virtual void buttonClicked(Button *button);
public:
virtual void render(int xm, int ym, float a);
};
|