aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/InBedChatScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/InBedChatScreen.h')
-rw-r--r--Minecraft.Client/InBedChatScreen.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Minecraft.Client/InBedChatScreen.h b/Minecraft.Client/InBedChatScreen.h
new file mode 100644
index 00000000..84bfd681
--- /dev/null
+++ b/Minecraft.Client/InBedChatScreen.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "ChatScreen.h"
+
+class InBedChatScreen : public ChatScreen
+{
+private:
+ static const int WAKE_UP_BUTTON = 1;
+public:
+ virtual void init();
+ virtual void removed();
+protected:
+ virtual void keyPressed(wchar_t ch, int eventKey);
+public:
+ virtual void render(int xm, int ym, float a);
+protected:
+ virtual void buttonClicked(Button *button);
+private:
+ void sendWakeUp();
+}; \ No newline at end of file