Mercurial > mplayer.hg
annotate gui/mplayer/gmplayer.h @ 32955:e12d6cd72b75
Go without gtk functions.
Normal string function are sufficient to handle item->text,
there is no need to use gtk functions.
author | ib |
---|---|
date | Mon, 07 Mar 2011 20:27:29 +0000 |
parents | 319ae9dc51a2 |
children | c5a19bbeac2b |
rev | line source |
---|---|
26458 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_GUI_GMPLAYER_H |
20 #define MPLAYER_GUI_GMPLAYER_H | |
23077 | 21 |
22 extern int mplSubRender; | |
23 extern int mplMainRender; | |
24 | |
25 extern unsigned char * mplDrawBuffer; | |
26 extern unsigned char * mplMenuDrawBuffer; | |
27 extern int mainVisible; | |
28 | |
29 extern int mplMainAutoPlay; | |
30 extern int mplMiddleMenu; | |
32041
d03d69f64929
Move mplPBFade extern declaration to gmplayer.h, which is better suited.
diego
parents:
31435
diff
changeset
|
31 extern int mplPBFade; |
23077 | 32 |
32065
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
33 extern int sx, sy; |
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
34 |
28051 | 35 void mplInit( void * disp ); |
23077 | 36 |
28051 | 37 void mplMainDraw( void ); |
38 void mplEventHandling( int msg, float param ); | |
39 void mplMainMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
40 void mplMainKeyHandle( int KeyCode, int Type, int Key ); | |
41 void mplDandDHandler(int num, char** files); | |
23077 | 42 |
28051 | 43 void mplSubDraw( void ); |
44 void mplSubMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
23077 | 45 |
28051 | 46 void mplMenuInit( void ); |
47 void mplHideMenu( int mx, int my, int w ); | |
48 void mplShowMenu( int mx, int my ); | |
49 void mplMenuMouseHandle( int X, int Y, int RX, int RY ); | |
23077 | 50 |
28051 | 51 void mplPBInit( void ); |
52 void mplPBShow( int x, int y ); | |
23077 | 53 |
26029 | 54 #endif /* MPLAYER_GUI_GMPLAYER_H */ |