1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00

upsz, sorry, i forgott this :) (skin name saving:)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6798 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-07-25 21:31:36 +00:00
parent 27717ca510
commit d462fc4317
2 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,7 @@
#include "../../libvo/video_out.h"
#include "cfg.h"
#include "app.h"
#include "interface.h"
#include "mplayer/play.h"
@ -92,6 +93,8 @@ static config_t gui_opts[] =
{ "sub_pos",&gtkSubPos,CONF_TYPE_INT,CONF_RANGE,0,200,NULL },
{ "font_factor",&gtkSubFFactor,CONF_TYPE_FLOAT,CONF_RANGE,0.0,10.0,NULL },
{ "font_name",&guiIntfStruct.Fontname,CONF_TYPE_STRING,0,0,0,NULL },
{ "gui_skin",&skinName,CONF_TYPE_STRING,0,0,0,NULL },
{ "equ_channel_1",&gtkEquChannel1,CONF_TYPE_STRING,0,0,0,NULL },
{ "equ_channel_2",&gtkEquChannel2,CONF_TYPE_STRING,0,0,0,NULL },

View File

@ -85,6 +85,9 @@ void guiInit( void )
cfg_read();
appInit( (void*)mDisplay );
if ( plCurrent ) mplSetFileName( plCurrent->path,plCurrent->name );
#if defined( USE_OSD ) || defined( USE_SUB )
guiLoadFont();
#endif
}
void guiDone( void )
@ -324,7 +327,7 @@ void guiGetEvent( int type,char * arg )
// --- video opts
if ( !gtkVODriver )
{
int i = 0, c = 0;
int i = 0;
while ( video_out_drivers[i++] )
if ( video_out_drivers[i - 1]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
{