Mercurial > mplayer.hg
annotate Gui/mplayer/widgets.h @ 3678:265680bbdcfd
mix3to2 in SSE
author | michael |
---|---|
date | Sun, 23 Dec 2001 17:32:34 +0000 |
parents | 93351eec9f1f |
children | 3473ca9ef158 |
rev | line source |
---|---|
1693 | 1 |
2 #ifndef __MY_WIDGET | |
3 #define __MY_WIDGET | |
4 | |
5 #include <gdk/gdkkeysyms.h> | |
6 #include <gtk/gtk.h> | |
7 | |
3054 | 8 #include "../../config.h" |
1706 | 9 #include "../../linux/shmem.h" |
3054 | 10 #include "play.h" |
1693 | 11 |
1907 | 12 #define GTK_MB_SIMPLE 0 |
13 #define GTK_MB_MODAL 1 | |
14 #define GTK_MB_FATAL 2 | |
15 #define GTK_MB_ERROR 4 | |
16 #define GTK_MB_WARNING 8 | |
17 | |
1693 | 18 typedef struct |
19 { | |
2902
d47cbcdce1a8
rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents:
1925
diff
changeset
|
20 char dir[ 2048 ]; |
d47cbcdce1a8
rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).
pontscho
parents:
1925
diff
changeset
|
21 char filename[ 2048 ]; |
3499 | 22 char subtitlename[ 4096 ]; |
23 char otherfilename[ 4096 ]; | |
1693 | 24 } gtkFileSelectorStruct; |
25 | |
26 typedef struct | |
27 { | |
28 int sx; | |
29 int sy; | |
30 int tsx; | |
31 int tsy; | |
1907 | 32 int type; |
1693 | 33 char str[512]; |
34 } gtkMessageBoxStruct; | |
35 | |
36 typedef struct | |
37 { | |
38 char name[128]; | |
39 } gtkSkinStruct; | |
40 | |
41 typedef struct | |
42 { | |
43 int window; | |
44 } gtkVisibleStruct; | |
45 | |
46 typedef struct | |
47 { | |
48 int i; | |
49 } gtkOptionsStruct; | |
50 | |
51 typedef struct | |
52 { | |
53 int message; | |
54 gtkFileSelectorStruct fs; | |
55 gtkMessageBoxStruct mb; | |
56 gtkSkinStruct sb; | |
57 gtkVisibleStruct vs; | |
58 gtkOptionsStruct op; | |
3054 | 59 |
60 #ifdef USE_DVDREAD | |
61 mplDVDStruct DVD; | |
62 #endif | |
2980 | 63 |
2940 | 64 int popupmenu; |
3054 | 65 int popupmenuparam; |
2980 | 66 int visiblepopupmenu; |
1693 | 67 } gtkCommStruct; |
68 | |
69 extern gtkCommStruct * gtkShMem; | |
70 | |
71 extern GtkWidget * SkinBrowser; | |
72 extern GtkWidget * PlayList; | |
73 extern GtkWidget * FileSelect; | |
74 extern GtkWidget * AboutBox; | |
75 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
|
76 extern GtkWidget * PopUpMenu; |
1693 | 77 |
1925 | 78 extern GtkWidget * MessageBox; |
79 | |
80 extern GtkWidget * WarningPixmap; | |
81 extern GtkWidget * ErrorPixmap; | |
82 | |
1693 | 83 extern GtkWidget * SkinList; |
84 extern GtkWidget * gtkMessageBoxText; | |
85 | |
86 extern int gtkVisibleSkinBrowser; | |
87 extern int gtkVisiblePlayList; | |
88 extern int gtkVisibleFileSelect; | |
89 extern int gtkVisibleMessageBox; | |
90 extern int gtkVisibleAboutBox; | |
91 extern int gtkVisibleOptions; | |
92 | |
93 extern char * sbMPlayerDirInHome; | |
94 extern char * sbMPlayerPrefixDir; | |
95 | |
96 extern void widgetsCreate( void ); | |
97 | |
98 extern void gtkInit( int argc,char* argv[], char *envp[] ); | |
99 extern void gtkDone( void ); | |
1907 | 100 extern void gtkMessageBox( int type,gchar * str ); |
1693 | 101 extern int gtkFillSkinList( gchar * dir ); |
102 extern void gtkClearList( GtkWidget * list ); | |
103 extern void gtkSetDefaultToCList( GtkWidget * list,char * item ); | |
104 extern int gtkFindCList( GtkWidget * list,char * item ); | |
105 | |
1925 | 106 #endif |