OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
jailscreen.hpp
Go to the documentation of this file.
1 #ifndef MWGUI_JAILSCREEN_H
2 #define MWGUI_JAILSCREEN_H
3 
4 #include "windowbase.hpp"
5 #include "timeadvancer.hpp"
6 
7 namespace MWGui
8 {
9  class JailScreen : public WindowBase
10  {
11  public:
12  JailScreen();
13  void goToJail(int days);
14 
15  void onFrame(float dt);
16 
17  private:
18  int mDays;
19 
21 
22  MyGUI::ScrollBar* mProgressBar;
23 
24  void onJailProgressChanged(int cur, int total);
25  void onJailFinished();
26 
28  };
29 }
30 
31 #endif
void onFrame(float dt)
Definition: jailscreen.cpp:50
TimeAdvancer mTimeAdvancer
Definition: jailscreen.hpp:27
void onJailFinished()
Definition: jailscreen.cpp:75
Definition: jailscreen.hpp:9
Definition: windowbase.hpp:16
float mFadeTimeRemaining
Definition: jailscreen.hpp:20
JailScreen()
Definition: jailscreen.cpp:21
void onJailProgressChanged(int cur, int total)
Definition: jailscreen.cpp:69
void goToJail(int days)
Definition: jailscreen.cpp:37
int mDays
Definition: jailscreen.hpp:18
Definition: timeadvancer.hpp:8
MyGUI::ScrollBar * mProgressBar
Definition: jailscreen.hpp:22