#pragma once

//package net.minecraft.client.gui;

#include "client/gui/Screen.hpp"
#include "client/gui/components/ImageButton.hpp"

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* bOptions;

	//	Button* bThirdPerson;

	// OptionButton bSound;
	OptionButton bThirdPerson;
    OptionButton bHideGui;
};

