aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIScene_Timer.h
blob: ef6aae94b67594f871d4b9caf94f9dbcd6ebad5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "UIScene.h"

class UIScene_Timer : public UIScene
{
private:
	UIControl m_controlBackground;

	UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
		UI_MAP_ELEMENT(m_controlBackground,"Background")
	UI_END_MAP_ELEMENTS_AND_NAMES()

public:
	using UIScene::reloadMovie;

	UIScene_Timer(int iPad, void *initData, UILayer *parentLayer);

	virtual EUIScene getSceneType() { return eUIScene_Timer;}

	// Returns true if lower scenes in this scenes layer, or in any layer below this scenes layers should be hidden
	virtual bool hidesLowerScenes() { return true; }
	virtual void reloadMovie(bool force);
	virtual bool needsReloaded();

protected:
	virtual wstring getMoviePath();
};