4jcraft/targets/app/common/UI/Scenes/UIScene_Timer.h

35 lines
880 B
C++

#pragma once
#include <string>
#include "app/common/UI/All Platforms/UIEnums.h"
#include "app/common/UI/Controls/UIControl.h"
#include "app/common/UI/UIScene.h"
class UILayer;
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 std::string getMoviePath();
};