forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
43
src/client/gui/screens/PauseScreen.h
Executable file
43
src/client/gui/screens/PauseScreen.h
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_GUI__PauseScreen_H__
|
||||
#define NET_MINECRAFT_CLIENT_GUI__PauseScreen_H__
|
||||
|
||||
//package net.minecraft.client.gui;
|
||||
|
||||
#include "../Screen.h"
|
||||
#include "../components/ImageButton.h"
|
||||
|
||||
class Button;
|
||||
|
||||
class PauseScreen: public Screen
|
||||
{
|
||||
typedef Screen super;
|
||||
public:
|
||||
PauseScreen(bool wasBackPaused);
|
||||
~PauseScreen();
|
||||
|
||||
void init();
|
||||
void setupPositions();
|
||||
|
||||
void tick();
|
||||
void render(int xm, int ym, float a);
|
||||
protected:
|
||||
void buttonClicked(Button* button);
|
||||
private:
|
||||
void updateServerVisibilityText();
|
||||
|
||||
int saveStep;
|
||||
int visibleTime;
|
||||
bool wasBackPaused;
|
||||
|
||||
Button* bContinue;
|
||||
Button* bQuit;
|
||||
Button* bQuitAndSaveLocally;
|
||||
Button* bServerVisibility;
|
||||
// Button* bThirdPerson;
|
||||
|
||||
OptionButton bSound;
|
||||
OptionButton bThirdPerson;
|
||||
OptionButton bHideGui;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_GUI__PauseScreen_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue