/********************************************************************
	Minecraft: Pocket Edition - Decompilation Project
	Copyright (C) 2023 iProgramInCpp
	
	The following code is licensed under the BSD 1 clause license.
	SPDX-License-Identifier: BSD-1-Clause
 ********************************************************************/

#pragma once

#include "../Screen.hpp"

class ChatScreen : public Screen
{
public:
	ChatScreen(bool slash = false);
	void buttonClicked(Button*) override;
	void init() override;
	void removed() override;
	void render(int mouseX, int mouseY, float f) override;
	void keyPressed(int keyCode) override;

	void sendMessageAndExit();

private:
	TextInputBox m_textChat;
	Button m_btnSend;
};

