文件名称:13)
介绍说明--下载内容均来自于网络,请自行研究使用
解决libVLC双击无法全屏的问题 解决libVLC双击无法全屏的问题-void MainInterface::setVideoFullScreen( bool fs )
{
b_videoFullScreen = fs
if( fs )
{
int numscreen = var_InheritInteger( p_intf, qt-fullscreen-screennumber )
if user hasn t defined screennumber, or screennumber that is bigger
* than current number of screens, take screennumber where current interface
* is
if( numscreen ==-1 || numscreen > QApplication::desktop()->numScreens() )
numscreen = QApplication::desktop()->screenNumber( p_intf->p_sys->p_mi )
QRect screenres = QApplication::desktop()->screenGeometry( numscreen )
To be sure window is on proper-screen in xinerama
if( !screenres.contains( pos() ) )
{
msg_Dbg( p_intf, Moving video to correct screen )
move( QPoint( screenres.x(), screenres.y() ) )
}
if( playlistWidget != NULL && playlistWidget->artContainer->current
{
b_videoFullScreen = fs
if( fs )
{
int numscreen = var_InheritInteger( p_intf, qt-fullscreen-screennumber )
if user hasn t defined screennumber, or screennumber that is bigger
* than current number of screens, take screennumber where current interface
* is
if( numscreen ==-1 || numscreen > QApplication::desktop()->numScreens() )
numscreen = QApplication::desktop()->screenNumber( p_intf->p_sys->p_mi )
QRect screenres = QApplication::desktop()->screenGeometry( numscreen )
To be sure window is on proper-screen in xinerama
if( !screenres.contains( pos() ) )
{
msg_Dbg( p_intf, Moving video to correct screen )
move( QPoint( screenres.x(), screenres.y() ) )
}
if( playlistWidget != NULL && playlistWidget->artContainer->current
(系统自动生成,下载前可以参看下载内容)
下载文件列表
13).txt