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
f2bc92ad
Commit
f2bc92ad
authored
Jun 05, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: change opacity slider to percent in simple prefs
parent
6dada9c3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
11 deletions
+97
-11
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+95
-9
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+2
-2
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
f2bc92ad
This diff is collapsed.
Click to expand it.
modules/gui/macosx/simple_prefs.m
View file @
f2bc92ad
...
...
@@ -669,7 +669,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[
self
setupField
:
o_osd_font_fld
forOption
:
"freetype-font"
];
[
self
setupButton
:
o_osd_font_color_pop
forIntList
:
"freetype-color"
];
[
self
setupButton
:
o_osd_font_size_pop
forIntList
:
"freetype-rel-fontsize"
];
i
=
config_GetInt
(
p_intf
,
"freetype-opacity"
);
i
=
config_GetInt
(
p_intf
,
"freetype-opacity"
)
*
100
.
0
/
255
.
0
+
0
.
5
;
[
o_osd_opacity_fld
setIntValue
:
i
];
[
o_osd_opacity_sld
setIntValue
:
i
];
[
o_osd_opacity_sld
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"freetype-opacity"
))];
...
...
@@ -1001,7 +1001,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutPsz
(
p_intf
,
"freetype-font"
,
[[
o_osd_font_fld
stringValue
]
UTF8String
]
);
SaveIntList
(
o_osd_font_color_pop
,
"freetype-color"
);
SaveIntList
(
o_osd_font_size_pop
,
"freetype-rel-fontsize"
);
config_PutInt
(
p_intf
,
"freetype-opacity"
,
[
o_osd_opacity_
sld
intValue
]
);
config_PutInt
(
p_intf
,
"freetype-opacity"
,
[
o_osd_opacity_
fld
intValue
]
*
255
.
0
/
100
.
0
+
0
.
5
);
config_PutInt
(
p_intf
,
"freetype-bold"
,
[
o_osd_forcebold_ckb
state
]
);
SaveIntList
(
o_osd_outline_color_pop
,
"freetype-outline-color"
);
SaveIntList
(
o_osd_outline_thickness_pop
,
"freetype-outline-thickness"
);
...
...
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