summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
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;