first commit
This commit is contained in:
28
Minecraft.Client/AchievementPopup.h
Normal file
28
Minecraft.Client/AchievementPopup.h
Normal file
@@ -0,0 +1,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 startTime;
|
||||
ItemRenderer *ir;
|
||||
bool isHelper;
|
||||
|
||||
public:
|
||||
AchievementPopup(Minecraft *mc);
|
||||
void popup(Achievement *ach);
|
||||
void permanent(Achievement *ach);
|
||||
private:
|
||||
void prepareWindow();
|
||||
public:
|
||||
void render();
|
||||
};
|
||||
Reference in New Issue
Block a user