return p_intf->p_sys->p_mi->controlVideo( p_win, i_q, a );
}
-bool embeddedPlaylistWasActive;
-bool videoIsActive;
-QSize savedVideoSize;
-
MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
{
/* Configuration */
if( VISIBLE( playlistWidget ) )
{
embeddedPlaylistWasActive = true;
- playlistWidget->hide();
+// playlistWidget->hide();
}
bool bgWasVisible = false;
if( VISIBLE( bgWidget) )
{
bgWasVisible = true;
- bgWidget->hide();
+// bgWidget->hide();
}
if( THEMIM->getIM()->hasVideo() || !bgWasVisible )
{
// videoWidget->widgetSize = bgWidget->widgeTSize;
videoWidget->widgetSize = QSize( *pi_width, *pi_height );
}
- videoWidget->updateGeometry(); /// FIXME: Needed ?
+// videoWidget->updateGeometry(); /// FIXME: Needed ?
need_components_update = true;
}
return ret;
videoWidget->resize( videoWidget->widgetSize );
if( embeddedPlaylistWasActive )
- playlistWidget->show();
+ ;//playlistWidget->show();
else if( bgWidget )
- bgWidget->show();
+ ;//bgWidget->show();
videoIsActive = false;
need_components_update = true;
unsigned int i_width = va_arg( args, unsigned int );
unsigned int i_height = va_arg( args, unsigned int );
videoWidget->widgetSize = QSize( i_width, i_height );
- videoWidget->updateGeometry();
+ // videoWidget->updateGeometry();
need_components_update = true;
i_ret = VLC_SUCCESS;
break;
VideoWidget *videoWidget;
virtual void keyPressEvent( QKeyEvent *);
+ bool embeddedPlaylistWasActive;
+ bool videoIsActive;
+ QSize savedVideoSize;
+
+
BackgroundWidget *bgWidget;
VisualSelector *visualSelector;
ControlsWidget *advControls;