Mercurial > mplayer.hg
annotate Gui/mplayer/widgets.h @ 7011:5781b305040a
bug & ver update
author | michael |
---|---|
date | Wed, 14 Aug 2002 23:49:55 +0000 |
parents | c2d4100c964e |
children | e5dda05f9aab |
rev | line source |
---|---|
1693 | 1 |
2 #ifndef __MY_WIDGET | |
3 #define __MY_WIDGET | |
4 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
5 #include <stdio.h> |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
6 #include <stdlib.h> |
1693 | 7 #include <gdk/gdkkeysyms.h> |
8 #include <gtk/gtk.h> | |
9 | |
3054 | 10 #include "../../config.h" |
1706 | 11 #include "../../linux/shmem.h" |
3054 | 12 #include "play.h" |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
13 #include "mplayer.h" |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
14 #include "../interface.h" |
6651 | 15 #include "../wm/ws.h" |
1693 | 16 |
1907 | 17 #define GTK_MB_SIMPLE 0 |
18 #define GTK_MB_MODAL 1 | |
19 #define GTK_MB_FATAL 2 | |
20 #define GTK_MB_ERROR 4 | |
21 #define GTK_MB_WARNING 8 | |
22 | |
1693 | 23 extern GtkWidget * PlayList; |
24 extern GtkWidget * Options; | |
2902
d47cbcdce1a8
rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents:
1925
diff
changeset
|
25 extern GtkWidget * PopUpMenu; |
1693 | 26 |
1925 | 27 extern GtkWidget * WarningPixmap; |
28 extern GtkWidget * ErrorPixmap; | |
29 | |
1693 | 30 extern GtkWidget * SkinList; |
31 extern GtkWidget * gtkMessageBoxText; | |
32 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
33 extern int gtkPopupMenu; |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
34 extern int gtkPopupMenuParam; |
1693 | 35 |
36 extern char * sbMPlayerDirInHome; | |
37 extern char * sbMPlayerPrefixDir; | |
38 | |
6651 | 39 extern GdkPixmap * gtkIcon; |
40 extern GdkBitmap * gtkIconMask; | |
41 extern Pixmap guiIcon; | |
42 extern Pixmap guiIconMask; | |
43 | |
1693 | 44 extern void widgetsCreate( void ); |
45 | |
6218 | 46 extern void gtkInit( void ); |
1693 | 47 extern void gtkDone( void ); |
6651 | 48 extern void gtkAddIcon( GtkWidget * window ); |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
49 |
1693 | 50 extern int gtkFillSkinList( gchar * dir ); |
51 extern void gtkClearList( GtkWidget * list ); | |
52 extern void gtkSetDefaultToCList( GtkWidget * list,char * item ); | |
53 extern int gtkFindCList( GtkWidget * list,char * item ); | |
54 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
55 extern void gtkEventHandling( void ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
56 |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
57 extern void gtkShow( int type,char * param ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
58 extern void gtkMessageBox( int type,gchar * str ); |
6146 | 59 extern void gtkSetLayer( GtkWidget * wdg ); |
60 extern void gtkActive( GtkWidget * wdg ); | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
61 |
1925 | 62 #endif |