From aa76292f4ceb8bfa94066bd035dda81c95bc9052 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 26 Jul 2005 16:16:56 +0000 Subject: Added fullscreen functionality. --- src/player.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index cc7b512..b7394c6 100644 --- a/src/player.h +++ b/src/player.h @@ -39,6 +39,10 @@ /* * $Log$ + * Revision 1.13 2005/07/26 16:16:56 deva + * + * Added fullscreen functionality. + * * Revision 1.12 2005/07/25 16:18:34 deva * *** empty log message *** * @@ -104,8 +108,8 @@ public: void start(); void stop(); + // Used to reinitialize the SDL output width a new size void resize(int width, int height); - void pause(); void thread_main(); @@ -116,15 +120,13 @@ private: void reinitSDL(); // Output dimensions (overlay) - int width; - int height; + volatile int width; + volatile int height; + + SDL_Rect rect; // Set to true, whenever a resize is requested. - volatile bool doresize; - volatile bool dopause; - // New output dimensions (overlay) - int new_width; - int new_height; + volatile bool bypass; Info *info; -- cgit v1.2.3