mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +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:
parent
27717ca510
commit
d462fc4317
@ -11,6 +11,7 @@
|
|||||||
#include "../../libvo/video_out.h"
|
#include "../../libvo/video_out.h"
|
||||||
|
|
||||||
#include "cfg.h"
|
#include "cfg.h"
|
||||||
|
#include "app.h"
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
#include "mplayer/play.h"
|
#include "mplayer/play.h"
|
||||||
|
|
||||||
@ -92,6 +93,8 @@ static config_t gui_opts[] =
|
|||||||
{ "sub_pos",>kSubPos,CONF_TYPE_INT,CONF_RANGE,0,200,NULL },
|
{ "sub_pos",>kSubPos,CONF_TYPE_INT,CONF_RANGE,0,200,NULL },
|
||||||
{ "font_factor",>kSubFFactor,CONF_TYPE_FLOAT,CONF_RANGE,0.0,10.0,NULL },
|
{ "font_factor",>kSubFFactor,CONF_TYPE_FLOAT,CONF_RANGE,0.0,10.0,NULL },
|
||||||
{ "font_name",&guiIntfStruct.Fontname,CONF_TYPE_STRING,0,0,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",>kEquChannel1,CONF_TYPE_STRING,0,0,0,NULL },
|
{ "equ_channel_1",>kEquChannel1,CONF_TYPE_STRING,0,0,0,NULL },
|
||||||
{ "equ_channel_2",>kEquChannel2,CONF_TYPE_STRING,0,0,0,NULL },
|
{ "equ_channel_2",>kEquChannel2,CONF_TYPE_STRING,0,0,0,NULL },
|
||||||
|
@ -85,6 +85,9 @@ void guiInit( void )
|
|||||||
cfg_read();
|
cfg_read();
|
||||||
appInit( (void*)mDisplay );
|
appInit( (void*)mDisplay );
|
||||||
if ( plCurrent ) mplSetFileName( plCurrent->path,plCurrent->name );
|
if ( plCurrent ) mplSetFileName( plCurrent->path,plCurrent->name );
|
||||||
|
#if defined( USE_OSD ) || defined( USE_SUB )
|
||||||
|
guiLoadFont();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void guiDone( void )
|
void guiDone( void )
|
||||||
@ -324,7 +327,7 @@ void guiGetEvent( int type,char * arg )
|
|||||||
// --- video opts
|
// --- video opts
|
||||||
if ( !gtkVODriver )
|
if ( !gtkVODriver )
|
||||||
{
|
{
|
||||||
int i = 0, c = 0;
|
int i = 0;
|
||||||
while ( video_out_drivers[i++] )
|
while ( video_out_drivers[i++] )
|
||||||
if ( video_out_drivers[i - 1]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
|
if ( video_out_drivers[i - 1]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user