Mercurial > mplayer.hg
annotate Gui/mplayer/widgets.h @ 5429:e9e2dc1306b1
BITMAPINFOHEADER fixed to be accepted by win32 decoders (divx,divxds)
author | arpi |
---|---|
date | Sun, 31 Mar 2002 20:17:27 +0000 |
parents | 3473ca9ef158 |
children | b9651eb9749e |
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" |
1693 | 15 |
1907 | 16 #define GTK_MB_SIMPLE 0 |
17 #define GTK_MB_MODAL 1 | |
18 #define GTK_MB_FATAL 2 | |
19 #define GTK_MB_ERROR 4 | |
20 #define GTK_MB_WARNING 8 | |
21 | |
1693 | 22 extern GtkWidget * SkinBrowser; |
23 extern GtkWidget * PlayList; | |
24 extern GtkWidget * FileSelect; | |
25 extern GtkWidget * AboutBox; | |
26 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
|
27 extern GtkWidget * PopUpMenu; |
1693 | 28 |
1925 | 29 extern GtkWidget * MessageBox; |
30 | |
31 extern GtkWidget * WarningPixmap; | |
32 extern GtkWidget * ErrorPixmap; | |
33 | |
1693 | 34 extern GtkWidget * SkinList; |
35 extern GtkWidget * gtkMessageBoxText; | |
36 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
37 extern int gtkPopupMenu; |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
38 extern int gtkPopupMenuParam; |
1693 | 39 |
40 extern char * sbMPlayerDirInHome; | |
41 extern char * sbMPlayerPrefixDir; | |
42 | |
43 extern void widgetsCreate( void ); | |
44 | |
45 extern void gtkInit( int argc,char* argv[], char *envp[] ); | |
46 extern void gtkDone( void ); | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
47 |
1693 | 48 extern int gtkFillSkinList( gchar * dir ); |
49 extern void gtkClearList( GtkWidget * list ); | |
50 extern void gtkSetDefaultToCList( GtkWidget * list,char * item ); | |
51 extern int gtkFindCList( GtkWidget * list,char * item ); | |
52 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
53 extern void gtkEventHandling( void ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
54 |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
55 extern void gtkShow( int type,char * param ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
56 extern void gtkMessageBox( int type,gchar * str ); |
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
3499
diff
changeset
|
57 |
1925 | 58 #endif |