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
b8aa5b46
Commit
b8aa5b46
authored
Jul 13, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: FSC opacity control between 0.1 and 1.0
parent
a1a45073
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+1
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+9
-0
No files found.
modules/gui/qt4/components/controller.cpp
View file @
b8aa5b46
...
...
@@ -761,7 +761,7 @@ void FullscreenControllerWidget::showFSC()
}
#if HAVE_TRANSPARENCY
setWindowOpacity
(
DEFAULT_OPACITY
);
setWindowOpacity
(
config_GetFloat
(
p_intf
,
"qt-fs-opacity"
)
);
#endif
show
();
...
...
modules/gui/qt4/qt4.cpp
View file @
b8aa5b46
...
...
@@ -110,6 +110,13 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
" This option only works with Windows and " \
"X11 with composite extensions." )
#define OPACITY_FS_TEXT N_( "Fullscreen controller opacity opacity between 0.1 and 1." )
#define OPACITY_FS_LONGTEXT N_( "Sets the fullscreen controller opacity between 0.1 and 1 " \
"for main interface, playlist and extended panel."\
" This option only works with Windows and " \
"X11 with composite extensions." )
#define ERROR_TEXT N_( "Show unimportant error and warnings dialogs" )
#define UPDATER_TEXT N_( "Activate the updates availability notification" )
...
...
@@ -180,6 +187,8 @@ vlc_module_begin ()
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
false
)
add_float_with_range
(
"qt-fs-opacity"
,
0.8
,
0.1
,
1.
,
NULL
,
OPACITY_FS_TEXT
,
OPACITY_FS_LONGTEXT
,
false
)
add_bool
(
"qt-system-tray"
,
true
,
NULL
,
SYSTRAY_TEXT
,
SYSTRAY_LONGTEXT
,
false
)
...
...
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