1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-13 06:43:06 +00:00
openmw/apps/openmw/mwgui/jailscreen.hpp

33 lines
652 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);
private:
int mDays;
float mFadeTimeRemaining;
MyGUI::Widget* mLoadingBox;
MyGUI::TextBox* mLoadingText;
MyGUI::ScrollBar* mProgressBar;
void onJailProgressChanged(int cur, int total);
void onJailFinished();
TimeAdvancer mTimeAdvancer;
};
}
#endif