view gui/mplayer/gmplayer.h @ 25661:293aeec83153

Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with an almost-trivial implementation. This allows making the builtin codec structs const, and it also makes clearer that this "selected" status is not used outside the init functions.
author reimar
date Sat, 12 Jan 2008 14:05:46 +0000
parents 3baf6a2283da
children 4129c8cfa742
line wrap: on
line source


#ifndef GUI_GMPLAYER_H
#define GUI_GMPLAYER_H

extern int             mplSubRender;
extern int             mplMainRender;

extern unsigned char * mplDrawBuffer;
extern unsigned char * mplMenuDrawBuffer;
extern int             mainVisible;

extern int             mplMainAutoPlay;
extern int             mplMiddleMenu;

extern void mplInit( void * disp );

extern void mplMainDraw( void );
extern void mplEventHandling( int msg,float param );
extern void mplMainMouseHandle( int Button,int X,int Y,int RX,int RY );
extern void mplMainKeyHandle( int KeyCode,int Type,int Key );
extern void mplDandDHandler(int num,char** files);

extern void mplSubDraw( void );
extern void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY );

extern void mplMenuInit( void );
extern void mplHideMenu( int mx,int my,int w );
extern void mplShowMenu( int mx,int my );
extern void mplMenuMouseHandle( int X,int Y,int RX,int RY );

extern void mplPBInit( void );
extern void mplPBShow( int x, int y );

#endif /* GUI_GMPLAYER_H */