X-Git-Url: https://develop.uap-core.de/gitweb/uwplayer.git/blobdiff_plain/92835e632a2570c851ecd45af5c3b97af2037322..HEAD:/application/window.h diff --git a/application/window.h b/application/window.h index 55bdd1f..a7a9c1c 100644 --- a/application/window.h +++ b/application/window.h @@ -27,7 +27,8 @@ #include #include #include -#include +#include +#include #ifdef __cplusplus extern "C" { @@ -49,7 +50,7 @@ typedef struct Player { } Player; typedef struct { - UcxList *tracks; + CxList *tracks; int current_track; Boolean repeatTrack; @@ -62,6 +63,7 @@ typedef struct MainWindow { Widget window; Widget menubar; Widget player_widget; + Widget sidebar_scrolledwindow; Widget sidebar; char *file; Player *player; @@ -78,10 +80,12 @@ typedef struct MainWindow { Widget playRandom; Widget viewSidebarButton; Widget viewAdjustWindowSize; + Widget prefSingleInstanceButton; PlayList playlist; bool adjustWindowSize; + bool singleInstance; Time player_event_time; Time button_press_time; @@ -111,8 +115,7 @@ void WindowShowPlayerCursor(MainWindow *win); void WindowHandlePlayerEvent(MainWindow *win, XEvent *event); -void WindowHideSidebar(MainWindow *win); -void WindowShowSidebar(MainWindow *win); +void WindowShowSidebar(MainWindow *win, bool visible); void WindowUpdate(MainWindow *win);