Mercurial > mplayer.hg
comparison gui/mplayer/widgets.h @ 33542:107084241b00
Add support for _NET_WM_ICON
This property will allow the window manager to select
from differently sized icons.
It is a preparation for this feature to come.
author | ib |
---|---|
date | Thu, 16 Jun 2011 14:50:24 +0000 |
parents | 64e43eb13ebf |
children | 10f9498fada1 |
comparison
equal
deleted
inserted
replaced
33541:729826b857cf | 33542:107084241b00 |
---|---|
22 #include <stdio.h> | 22 #include <stdio.h> |
23 #include <stdlib.h> | 23 #include <stdlib.h> |
24 #include <gdk/gdkkeysyms.h> | 24 #include <gdk/gdkkeysyms.h> |
25 #include <gtk/gtk.h> | 25 #include <gtk/gtk.h> |
26 #include <X11/Xlib.h> | 26 #include <X11/Xlib.h> |
27 #include <X11/Xproto.h> | |
27 | 28 |
28 #include "config.h" | 29 #include "config.h" |
29 #include "osdep/shmem.h" | 30 #include "osdep/shmem.h" |
30 #include "play.h" | 31 #include "play.h" |
31 #include "mplayer.h" | 32 #include "mplayer.h" |
54 extern char *sbMPlayerPrefixDir; | 55 extern char *sbMPlayerPrefixDir; |
55 | 56 |
56 typedef struct { | 57 typedef struct { |
57 Pixmap normal; | 58 Pixmap normal; |
58 Pixmap normal_mask; | 59 Pixmap normal_mask; |
60 int collection_size; | |
61 CARD32 *collection; | |
59 } guiIcon_t; | 62 } guiIcon_t; |
60 | 63 |
61 extern guiIcon_t guiIcon; | 64 extern guiIcon_t guiIcon; |
62 | 65 |
63 void widgetsCreate(void); | 66 void widgetsCreate(void); |