blob: 4304a7e5711963bffb314b4b773aec5d9039e712 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "GuiComponent.h"
class Achievement;
class ItemRenderer;
using namespace std;
class AchievementPopup : public GuiComponent
{
private:
Minecraft *mc;
int width, height;
wstring title;
wstring desc;
Achievement *ach;
int64_t startTime;
ItemRenderer *ir;
bool isHelper;
public:
AchievementPopup(Minecraft *mc);
void popup(Achievement *ach);
void permanent(Achievement *ach);
private:
void prepareWindow();
public:
void render();
};
|