//QSize size( 500, 200 );
//resize( size );
controlLayout = new QGridLayout( this );
-
+
#if DEBUG_COLOR
QPalette palette2;
palette2.setColor(this->backgroundRole(), Qt::magenta);
/* Activate the interface buttons according to the presence of the input */
enableInput( THEMIM->getIM()->hasInput() );
- enableVideo( THEMIM->getIM()->hasVideo() );
+ enableVideo( true );
+ //enableVideo( THEMIM->getIM()->hasVideo() );
}
void ControlsWidget::setStatus( int status )
vlc_object_t *p_vout = (vlc_object_t *)vlc_object_find( p_intf,
VLC_OBJECT_VOUT, FIND_CHILD );
if( p_vout)
- var_SetBool( p_vout, "fullscreen", VLC_TRUE );
- //msg_Dbg( p_intf, "Not implemented yet" );
+ {
+ var_Get( p_vout, "fullscreen", &val );
+ val.b_bool = !val.b_bool;
+ var_Set( p_vout, "fullscreen", val );
+ }
}
void ControlsWidget::extSettings()
}
void ControlsWidget::enableVideo( bool enable )
-{
+{
// TODO Later make the fullscreenButton toggle Visualisation and so on.
fullscreenButton->setEnabled( enable );