summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authordeva <deva>2005-07-26 16:16:56 +0000
committerdeva <deva>2005-07-26 16:16:56 +0000
commitaa76292f4ceb8bfa94066bd035dda81c95bc9052 (patch)
treee8bc68b7b1206cc5ee5ba623b2fef7800550af8b /src/player.h
parenteac2e19c2fea1c704cdeabcaf5e19f774d3f820b (diff)
Added fullscreen functionality.
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h18
1 files changed, 10 insertions, 8 deletions
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;