Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f52b2b2d
Commit
f52b2b2d
authored
Jun 14, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Fullscreen Controller, show with full opacity when mouseChanged.
parent
f77a9a62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+13
-6
No files found.
modules/gui/qt4/components/controller.cpp
View file @
f52b2b2d
...
...
@@ -757,13 +757,14 @@ void FullscreenControllerWidget::showFSC()
screenRes
!=
QApplication
::
desktop
()
->
screenGeometry
(
number
)
)
{
centerFSC
(
number
);
msg_Dbg
(
p_intf
,
"Recentering the Fullscreen Controller"
);
}
show
();
#if HAVE_TRANSPARENCY
setWindowOpacity
(
DEFAULT_OPACITY
);
#endif
show
();
}
/**
...
...
@@ -836,10 +837,12 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
switch
(
event
->
type
()
)
{
/* This is used when the 'i' hotkey is used, to force quick toggle */
case
FullscreenControlToggle_Type
:
vlc_mutex_lock
(
&
lock
);
b_fs
=
b_fullscreen
;
vlc_mutex_unlock
(
&
lock
);
if
(
b_fs
)
{
if
(
isHidden
()
)
...
...
@@ -851,21 +854,25 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
hideFSC
();
}
break
;
/* Event called to Show the FSC on mouseChanged() */
case
FullscreenControlShow_Type
:
vlc_mutex_lock
(
&
lock
);
b_fs
=
b_fullscreen
;
vlc_mutex_unlock
(
&
lock
);
if
(
b_fs
&&
!
isVisible
()
)
if
(
b_fs
)
showFSC
();
break
;
case
FullscreenControlHide_Type
:
hideFSC
();
break
;
/* Start the timer to hide later, called usually with above case */
case
FullscreenControlPlanHide_Type
:
if
(
!
b_mouse_over
)
// Only if the mouse is not over FSC
planHideFSC
();
break
;
/* Hide */
case
FullscreenControlHide_Type
:
hideFSC
();
break
;
default:
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment