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
380d67a9
Commit
380d67a9
authored
Jun 27, 2012
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: add support for --[no]-qt-fs-controller
parent
735354e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
modules/gui/skins2/src/fsc_window.cpp
modules/gui/skins2/src/fsc_window.cpp
+6
-0
modules/gui/skins2/src/fsc_window.hpp
modules/gui/skins2/src/fsc_window.hpp
+2
-0
No files found.
modules/gui/skins2/src/fsc_window.cpp
View file @
380d67a9
...
...
@@ -62,6 +62,9 @@ FscWindow::FscWindow( intf_thread_t *pIntf, int left, int top,
if
(
m_delay
<=
0
)
m_delay
=
FSC_DELAY
;
/// activation overridden by user
m_enabled
=
var_InheritBool
(
getIntf
(),
"qt-fs-controller"
);
// register Fsc
VoutManager
::
instance
(
getIntf
())
->
registerFSC
(
this
);
}
...
...
@@ -157,6 +160,9 @@ void FscWindow::onUpdate( Subject<VarBool> &rVariable, void *arg )
void
FscWindow
::
innerShow
()
{
if
(
!
m_enabled
)
return
;
TopWindow
::
innerShow
();
m_count
=
FSC_COUNT
;
...
...
modules/gui/skins2/src/fsc_window.hpp
View file @
380d67a9
...
...
@@ -69,6 +69,8 @@ private:
int
m_opacity
;
/// delay set by user
int
m_delay
;
/// activation set by user
bool
m_enabled
;
/// Callback for the timer
DEFINE_CALLBACK
(
FscWindow
,
FscHide
)
...
...
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