mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 07:56:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			570 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::ScrollBar* mProgressBar;
 | |
| 
 | |
|             void onJailProgressChanged(int cur, int total);
 | |
|             void onJailFinished();
 | |
| 
 | |
|             TimeAdvancer mTimeAdvancer;
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |