Mercurial > mplayer.hg
annotate Gui/mplayer/widgets.h @ 11041:450f7aa81adc
build fixes
author | diego |
---|---|
date | Wed, 08 Oct 2003 01:06:50 +0000 |
parents | edfe34c5405d |
children | 0e1471d9da74 |
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" |
9380 | 11 #include "../../osdep/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 ); |
6651 | 47 extern void gtkAddIcon( GtkWidget * window ); |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
48 |
1693 | 49 extern int gtkFillSkinList( gchar * dir ); |
50 extern void gtkClearList( GtkWidget * list ); | |
51 extern void gtkSetDefaultToCList( GtkWidget * list,char * item ); | |
52 extern int gtkFindCList( GtkWidget * list,char * item ); | |
53 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
54 extern void gtkEventHandling( void ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
55 |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
56 extern void gtkShow( int type,char * param ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
57 extern void gtkMessageBox( int type,gchar * str ); |
6146 | 58 extern void gtkSetLayer( GtkWidget * wdg ); |
59 extern void gtkActive( GtkWidget * wdg ); | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
60 |
1925 | 61 #endif |