annotate Gui/mplayer/widgets.h @ 19587:23b2f53f03d2

r19265: how to encode to PSP format (patch by Christian Obst, christian_obst gmx de)
author kraymer
date Tue, 29 Aug 2006 17:40:30 +0000
parents 273bdef43012
children
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
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 #include <gdk/gdkkeysyms.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 #include <gtk/gtk.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9
17144
0e1471d9da74 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9380
diff changeset
10 #include "../config.h"
0e1471d9da74 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9380
diff changeset
11 #include "../osdep/shmem.h"
3054
9507f90d8254 add half dvd support for gui
pontscho
parents: 2980
diff changeset
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"
17144
0e1471d9da74 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9380
diff changeset
14 #include "interface.h"
0e1471d9da74 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9380
diff changeset
15 #include "wm/ws.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16
1907
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
17 #define GTK_MB_SIMPLE 0
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
18 #define GTK_MB_MODAL 1
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
19 #define GTK_MB_FATAL 2
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
20 #define GTK_MB_ERROR 4
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
21 #define GTK_MB_WARNING 8
83291fafe66c add new features. and fix skin error loop.
pontscho
parents: 1825
diff changeset
22
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 extern GtkWidget * PlayList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 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
25 extern GtkWidget * PopUpMenu;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
27 extern GtkWidget * WarningPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
28 extern GtkWidget * ErrorPixmap;
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
29
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 extern GtkWidget * SkinList;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 extern GtkWidget * gtkMessageBoxText;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
33 extern int gtkPopupMenu;
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
34 extern int gtkPopupMenuParam;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 extern char * sbMPlayerDirInHome;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 extern char * sbMPlayerPrefixDir;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38
6651
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
39 extern GdkPixmap * gtkIcon;
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
40 extern GdkBitmap * gtkIconMask;
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
41 extern Pixmap guiIcon;
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
42 extern Pixmap guiIconMask;
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
43
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 extern void widgetsCreate( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
6218
8cfddba867b4 fix text render chrash ...
pontscho
parents: 6146
diff changeset
46 extern void gtkInit( void );
6651
8f49c75a2824 - add icon (nice, but very ugly hakk:)
pontscho
parents: 6218
diff changeset
47 extern void gtkAddIcon( GtkWidget * window );
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
48
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 extern int gtkFillSkinList( gchar * dir );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 extern void gtkClearList( GtkWidget * list );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 extern void gtkSetDefaultToCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 extern int gtkFindCList( GtkWidget * list,char * item );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
54 extern void gtkEventHandling( void );
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
55
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
56 extern void gtkShow( int type,char * param );
19081
273bdef43012 Mark several string parameters that are not modified in the function as const.
diego
parents: 17144
diff changeset
57 extern void gtkMessageBox( int type,const gchar * str );
6146
b9651eb9749e fix some gtk bug...
pontscho
parents: 4818
diff changeset
58 extern void gtkSetLayer( GtkWidget * wdg );
b9651eb9749e fix some gtk bug...
pontscho
parents: 4818
diff changeset
59 extern void gtkActive( GtkWidget * wdg );
4818
3473ca9ef158 new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents: 3499
diff changeset
60
1925
633a7f0d72a4 add gui error handling jol.
pontscho
parents: 1907
diff changeset
61 #endif