annotate Gui/mplayer/widgets.h @ 1726:38871427a131

corrections to OSD progbar position calculations
author atlka
date Tue, 28 Aug 2001 12:43:41 +0000
parents e8f61691814e
children 1791c7930776
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
1706
e8f61691814e shmem.c removed
arpi
parents: 1700
diff changeset
8 #include "../../linux/shmem.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 char dir[ 1024 ];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 char filename[ 1024 ];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 } gtkFileSelectorStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 int sx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 int sy;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 int tsx;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 int tsy;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 char str[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 } gtkMessageBoxStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 char name[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 } gtkSkinStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 int window;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 } gtkVisibleStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 int i;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 } gtkOptionsStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 int message;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 gtkFileSelectorStruct fs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 gtkMessageBoxStruct mb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45 gtkSkinStruct sb;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 gtkVisibleStruct vs;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 gtkOptionsStruct op;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 } gtkCommStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 #define ShMemSize sizeof( gtkCommStruct )
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 extern gtkCommStruct * gtkShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 extern GtkWidget * SkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 extern GtkWidget * PlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 extern GtkWidget * FileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 extern GtkWidget * MessageBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 extern GtkWidget * AboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 extern GtkWidget * Options;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61 extern GtkWidget * SkinList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 extern GtkWidget * gtkMessageBoxText;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
64 extern int gtkVisibleSkinBrowser;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
65 extern int gtkVisiblePlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
66 extern int gtkVisibleFileSelect;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
67 extern int gtkVisibleMessageBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68 extern int gtkVisibleAboutBox;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 extern int gtkVisibleOptions;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 extern char * sbMPlayerDirInHome;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 extern char * sbMPlayerPrefixDir;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74 extern void widgetsCreate( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 extern void gtkInit( int argc,char* argv[], char *envp[] );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 extern void gtkDone( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78 extern void gtkMessageBox( gchar * str );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79 extern int gtkFillSkinList( gchar * dir );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 extern void gtkClearList( GtkWidget * list );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 extern void gtkSetDefaultToCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82 extern int gtkFindCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 #endif