X-Git-Url: https://develop.uap-core.de/gitweb/uwplayer.git/blobdiff_plain/e8e14035551f3e683c48eeedb1cedc07a95916cb..b4c8e61d4466789fddccac524f046f038d86d681:/application/window.h diff --git a/application/window.h b/application/window.h index 4424273..ad44fcb 100644 --- a/application/window.h +++ b/application/window.h @@ -57,6 +57,16 @@ typedef struct MainWindow { bool mbvisible; bool cursorhidden; bool buttongrab; + + Time player_event_time; + Time button_press_time; + double motion_playback_time; + int mouse_x; + int mouse_y; + int mouse_x_orig; + int mouse_y_orig; + + Boolean repeatTrack; } MainWindow; MainWindow* WindowCreate(Display *dp); @@ -78,7 +88,7 @@ void WindowClosePlayer(MainWindow *win); void WindowHidePlayerCursor(MainWindow *win); void WindowShowPlayerCursor(MainWindow *win); -void WindowPlayerWidgetEvent(MainWindow *win, XEvent *event); +void WindowHandlePlayerEvent(MainWindow *win, XEvent *event); #ifdef __cplusplus }