This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MinecraftConsoles/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.h
2026-03-02 17:37:16 +07:00

34 lines
578 B
C++

#pragma once
#include "UIControl.h"
class UIScene_EnchantingMenu;
class BookModel;
class UIControl_EnchantmentBook : public UIControl
{
private:
BookModel *model;
Random random;
// 4J JEV: Book animation variables.
int time;
float flip, oFlip, flipT, flipA;
float open, oOpen;
//BOOL m_bDirty;
//float m_fScale,m_fAlpha;
//int m_iPad;
shared_ptr<ItemInstance> last;
//float m_fScreenWidth,m_fScreenHeight;
//float m_fRawWidth,m_fRawHeight;
void tickBook();
public:
UIControl_EnchantmentBook();
void render(IggyCustomDrawCallbackRegion *region);
};