develop.uap-core.de/git
/
uwplayer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle btn1 in sidebar, switchable tracks
[uwplayer.git]
/
application
/
window.h
diff --git
a/application/window.h
b/application/window.h
index
e3202c0
..
c00f29e
100644
(file)
--- a/
application/window.h
+++ b/
application/window.h
@@
-27,6
+27,7
@@
#include <Xm/XmAll.h>
#include <stdbool.h>
#include <unistd.h>
#include <Xm/XmAll.h>
#include <stdbool.h>
#include <unistd.h>
+#include <ucx/list.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-46,7
+47,16
@@
typedef struct Player {
int height;
int osd_height;
} Player;
int height;
int osd_height;
} Player;
+
+typedef struct {
+ UcxList *tracks;
+ int current_track;
+ Boolean repeatTrack;
+ Boolean repeatList;
+ Boolean autoplayFolder;
+} PlayList;
+
typedef struct MainWindow {
Widget window;
Widget menubar;
typedef struct MainWindow {
Widget window;
Widget menubar;
@@
-66,15
+76,15
@@
typedef struct MainWindow {
Widget playAutoPlayButton;
Widget viewSidebarButton;
Widget playAutoPlayButton;
Widget viewSidebarButton;
+ PlayList playlist;
+
Time player_event_time;
Time button_press_time;
double motion_playback_time;
int mouse_x;
int mouse_y;
Time player_event_time;
Time button_press_time;
double motion_playback_time;
int mouse_x;
int mouse_y;
- Boolean repeatTrack;
- Boolean repeatList;
- Boolean autoplayFolder;
+
} MainWindow;
MainWindow* WindowCreate(Display *dp);
} MainWindow;
MainWindow* WindowCreate(Display *dp);
@@
-87,8
+97,6
@@
void WindowFullscreen(MainWindow *win, bool enableFullscreen);
void WindowMenubarSetVisible(MainWindow *win, bool visible);
void WindowMenubarSetVisible(MainWindow *win, bool visible);
-void WindowSetFile(MainWindow *win, char *file);
-
void WindowAdjustAspectRatio(MainWindow *win);
void WindowClosePlayer(MainWindow *win);
void WindowAdjustAspectRatio(MainWindow *win);
void WindowClosePlayer(MainWindow *win);
@@
-101,6
+109,9
@@
void WindowHandlePlayerEvent(MainWindow *win, XEvent *event);
void WindowHideSidebar(MainWindow *win);
void WindowShowSidebar(MainWindow *win);
void WindowHideSidebar(MainWindow *win);
void WindowShowSidebar(MainWindow *win);
+void WindowUpdate(MainWindow *win);
+
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif