forked from Kolyah35/minecraft-pe-0.6.1
Trying to replace pointers with references :v
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "client/gui/Screen.hpp"
|
||||
#include "client/gui/components/TextBox.hpp"
|
||||
|
||||
class ChatScreen: public Screen
|
||||
{
|
||||
public:
|
||||
ChatScreen() {}
|
||||
virtual ~ChatScreen() {}
|
||||
ChatScreen();
|
||||
|
||||
void init();
|
||||
|
||||
|
||||
void render(int xm, int ym, float a);
|
||||
|
||||
void buttonClicked(Button* button) {};
|
||||
|
||||
bool handleBackEvent(bool isDown);
|
||||
void keyPressed(int eventKey);
|
||||
private:
|
||||
TextBox m_input;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user