force window aspect ratio
[uwplayer.git] / application / window.h
index f63add5..d3e8623 100644 (file)
@@ -37,7 +37,13 @@ typedef struct Player {
     pid_t process;
     int log;
     int ipc;
+    int status;
     bool isactive;
+    bool isstarted;
+    
+    double playback_time;
+    int width;
+    int height;
 } Player;
     
 typedef struct MainWindow {
@@ -52,12 +58,16 @@ typedef struct MainWindow {
 
 MainWindow* WindowCreate(Display *dp);
 
+MainWindow* GetMainWindow(void);
+
 void WindowShow(MainWindow *win);
 
 void WindowFullscreen(MainWindow *win, bool enableFullscreen);
 
 void WindowMenubarSetVisible(MainWindow *win, bool visible);
 
+void WindowAdjustAspectRatio(MainWindow *win);
+
 #ifdef __cplusplus
 }
 #endif