annotate Gui/mplayer/widgets.h @ 3938:745c37031e1e

some links placed (nvidia fuckoz.)
author gabucino
date Wed, 02 Jan 2002 00:16:56 +0000
parents 93351eec9f1f
children 3473ca9ef158
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 ];
3499
93351eec9f1f Add subtitle loader for gui
pontscho
parents: 3054
diff changeset
22 char subtitlename[ 4096 ];
93351eec9f1f Add subtitle loader for gui
pontscho
parents: 3054
diff changeset
23 char otherfilename[ 4096 ];
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 } gtkFileSelectorStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 int sx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 int sy;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 int tsx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 int tsy;
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
32 int type;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 char str[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 } gtkMessageBoxStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 char name[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 } gtkSkinStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 int window;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 } gtkVisibleStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 int i;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 } gtkOptionsStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 int message;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 gtkFileSelectorStruct fs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 gtkMessageBoxStruct mb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 gtkSkinStruct sb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 gtkVisibleStruct vs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 gtkOptionsStruct op;
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
59
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
60 #ifdef USE_DVDREAD
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
61 mplDVDStruct DVD;
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
62 #endif
2980
c4b6dc8bb554 fix middle menu hideing bug
pontscho
parents: 2940
diff changeset
63
2940
1902b7ff9cdc middle menu is working
pontscho
parents: 2902
diff changeset
64 int popupmenu;
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
65 int popupmenuparam;
2980
c4b6dc8bb554 fix middle menu hideing bug
pontscho
parents: 2940
diff changeset
66 int visiblepopupmenu;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67 } gtkCommStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 extern gtkCommStruct * gtkShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 extern GtkWidget * SkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 extern GtkWidget * PlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 extern GtkWidget * FileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74 extern GtkWidget * AboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
78 extern GtkWidget * MessageBox;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
79
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
80 extern GtkWidget * WarningPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
81 extern GtkWidget * ErrorPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
82
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83 extern GtkWidget * SkinList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 extern GtkWidget * gtkMessageBoxText;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86 extern int gtkVisibleSkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 extern int gtkVisiblePlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 extern int gtkVisibleFileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 extern int gtkVisibleMessageBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90 extern int gtkVisibleAboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
91 extern int gtkVisibleOptions;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
92
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
93 extern char * sbMPlayerDirInHome;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
94 extern char * sbMPlayerPrefixDir;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
95
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
96 extern void widgetsCreate( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
97
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
98 extern void gtkInit( int argc,char* argv[], char *envp[] );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
99 extern void gtkDone( void );
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
100 extern void gtkMessageBox( int type,gchar * str );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
101 extern int gtkFillSkinList( gchar * dir );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
102 extern void gtkClearList( GtkWidget * list );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
103 extern void gtkSetDefaultToCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
104 extern int gtkFindCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
105
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
106 #endif