mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-11 06:27:12 +00:00
28 lines
498 B
C++
28 lines
498 B
C++
#pragma once
|
|
#include "../GuiComponent.h"
|
|
class Achievement;
|
|
class ItemRenderer;
|
|
|
|
class AchievementPopup : public GuiComponent {
|
|
private:
|
|
Minecraft* mc;
|
|
int width, height;
|
|
|
|
std::wstring title;
|
|
std::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();
|
|
}; |