1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwgui/jailscreen.hpp
2020-10-16 22:18:54 +04:00

34 lines
631 B
C++

#ifndef MWGUI_JAILSCREEN_H
#define MWGUI_JAILSCREEN_H
#include "windowbase.hpp"
#include "timeadvancer.hpp"
namespace MWGui
{
class JailScreen : public WindowBase
{
public:
JailScreen();
void goToJail(int days);
void onFrame(float dt) override;
bool exit() override { return false; }
private:
int mDays;
float mFadeTimeRemaining;
MyGUI::ScrollBar* mProgressBar;
void onJailProgressChanged(int cur, int total);
void onJailFinished();
TimeAdvancer mTimeAdvancer;
};
}
#endif