Files
mcpe/source/client/gui/screens/DirectConnectScreen.hpp
ts 9e9d2110e3 Add Direct Connect Button and Screen (#30)
* Add Direct Connect Button and Screen

* Remove accidental extra build directories for wasm

* Add DirectConnectScreen.cpp to the CMake

* Use Hungarian coding style notation
2023-08-06 12:09:06 +03:00

26 lines
668 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 DirectConnectScreen : public Screen
{
public:
DirectConnectScreen();
virtual void init() override;
virtual void buttonClicked(Button* pButton) override;
virtual void render(int x, int y, float f) override;
private:
TextInputBox m_textAddress;
Button m_btnQuit;
Button m_btnJoin;
};