4jcraft/Minecraft.Client/UI/Screens/ChatScreen.h
2026-03-06 12:16:41 -06:00

25 lines
452 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);
};