redirect key events to the player window
[uwplayer.git] / application / window.h
index 9ffa93c..03da44e 100644 (file)
@@ -39,7 +39,8 @@ typedef struct Player {
     int ipc;
     int status;
     bool isactive;
-    
+    bool isstarted;
+    Window window;
     double playback_time;
     int width;
     int height;
@@ -65,6 +66,10 @@ void WindowFullscreen(MainWindow *win, bool enableFullscreen);
 
 void WindowMenubarSetVisible(MainWindow *win, bool visible);
 
+void WindowAdjustAspectRatio(MainWindow *win);
+
+void WindowClosePlayer(MainWindow *win);
+
 #ifdef __cplusplus
 }
 #endif