mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
30 lines
720 B
C++
30 lines
720 B
C++
/********************************************************************
|
|
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;
|
|
};
|
|
|