annotate Gui/mplayer/widgets.h @ 3172:bb38b6b072f8

support for FLI image decoding
author melanson
date Wed, 28 Nov 2001 01:35:55 +0000
parents 9507f90d8254
children 93351eec9f1f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __MY_WIDGET
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __MY_WIDGET
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include <gdk/gdkkeysyms.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6 #include <gtk/gtk.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
8 #include "../../config.h"
1706
e8f61691814e shmem.c removed
arpi
parents: 1700
diff changeset
9 #include "../../linux/shmem.h"
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
10 #include "play.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
12 #define GTK_MB_SIMPLE 0
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
13 #define GTK_MB_MODAL 1
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
14 #define GTK_MB_FATAL 2
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
15 #define GTK_MB_ERROR 4
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
16 #define GTK_MB_WARNING 8
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
17
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
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 ];
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 } gtkFileSelectorStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 int sx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 int sy;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 int tsx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 int tsy;
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
30 int type;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 char str[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 } gtkMessageBoxStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 char name[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 } gtkSkinStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 int window;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 } gtkVisibleStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 int i;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 } gtkOptionsStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 int message;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 gtkFileSelectorStruct fs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 gtkMessageBoxStruct mb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 gtkSkinStruct sb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 gtkVisibleStruct vs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 gtkOptionsStruct op;
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
57
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
58 #ifdef USE_DVDREAD
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
59 mplDVDStruct DVD;
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
60 #endif
2980
c4b6dc8bb554 fix middle menu hideing bug
pontscho
parents: 2940
diff changeset
61
2940
1902b7ff9cdc middle menu is working
pontscho
parents: 2902
diff changeset
62 int popupmenu;
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
63 int popupmenuparam;
2980
c4b6dc8bb554 fix middle menu hideing bug
pontscho
parents: 2940
diff changeset
64 int visiblepopupmenu;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65 } gtkCommStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
66
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67 extern gtkCommStruct * gtkShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 extern GtkWidget * SkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70 extern GtkWidget * PlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 extern GtkWidget * FileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 extern GtkWidget * AboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 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
74 extern GtkWidget * PopUpMenu;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
76 extern GtkWidget * MessageBox;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
77
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
78 extern GtkWidget * WarningPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
79 extern GtkWidget * ErrorPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
80
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 extern GtkWidget * SkinList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82 extern GtkWidget * gtkMessageBoxText;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 extern int gtkVisibleSkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85 extern int gtkVisiblePlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86 extern int gtkVisibleFileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 extern int gtkVisibleMessageBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 extern int gtkVisibleAboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 extern int gtkVisibleOptions;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
91 extern char * sbMPlayerDirInHome;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
92 extern char * sbMPlayerPrefixDir;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
93
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
94 extern void widgetsCreate( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
95
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
96 extern void gtkInit( int argc,char* argv[], char *envp[] );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
97 extern void gtkDone( void );
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
98 extern void gtkMessageBox( int type,gchar * str );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
99 extern int gtkFillSkinList( gchar * dir );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
100 extern void gtkClearList( GtkWidget * list );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
101 extern void gtkSetDefaultToCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
102 extern int gtkFindCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
103
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
104 #endif