4jcraft/Minecraft.Client/UI/Screens/ChatScreen.h
2026-03-13 17:10:10 -05:00

28 lines
482 B
C++

#pragma once
#include "../Screen.h"
class ChatScreen : public Screen {
protected:
std::wstring message;
private:
int frame;
public:
ChatScreen(); // 4J added
virtual void init();
virtual void removed();
virtual void tick();
private:
static const std::wstring allowedChars;
protected:
void keyPressed(wchar_t ch, int eventKey);
public:
void render(int xm, int ym, float a);
protected:
void mouseClicked(int x, int y, int buttonNum);
};