mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-23 19:09:46 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
35
src/client/gui/screens/TextEditScreen.h
Executable file
35
src/client/gui/screens/TextEditScreen.h
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__TextEditScreen_H__
|
||||
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__TextEditScreen_H__
|
||||
|
||||
//package net.minecraft.client.gui;
|
||||
|
||||
#include "../Screen.h"
|
||||
#include <string>
|
||||
#include "../components/ImageButton.h"
|
||||
class SignTileEntity;
|
||||
class Button;
|
||||
class TextEditScreen: public Screen
|
||||
{
|
||||
typedef Screen super;
|
||||
public:
|
||||
TextEditScreen(SignTileEntity* signEntity);
|
||||
~TextEditScreen();
|
||||
void init();
|
||||
void tick();
|
||||
bool handleBackEvent(bool isDown);
|
||||
void render(int xm, int ym, float a);
|
||||
virtual void lostFocus();
|
||||
virtual void keyPressed(int eventKey);
|
||||
virtual void keyboardNewChar(char inputChar);
|
||||
void setupPositions();
|
||||
void buttonClicked(Button* button);
|
||||
protected:
|
||||
bool isShowingKeyboard;
|
||||
SignTileEntity* sign;
|
||||
int frame;
|
||||
int line;
|
||||
private:
|
||||
ImageButton btnClose;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__TextEditScreen_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue