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
127ae211
Commit
127ae211
authored
Apr 06, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: added options to modify the subtitle outline to the simple preferences
parent
ad1ec863
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
489 additions
and
94 deletions
+489
-94
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+479
-92
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+4
-1
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+6
-1
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
127ae211
This diff is collapsed.
Click to expand it.
modules/gui/macosx/simple_prefs.h
View file @
127ae211
...
...
@@ -123,8 +123,11 @@ IBOutlet id o_intf_mediakeys_ckb;
IBOutlet
id
o_osd_opacity_txt
;
IBOutlet
id
o_osd_opacity_fld
;
IBOutlet
id
o_osd_opacity_sld
;
IBOutlet
id
o_osd_outline_color_pop
;
IBOutlet
id
o_osd_outline_color_txt
;
IBOutlet
id
o_osd_outline_thickness_pop
;
IBOutlet
id
o_osd_outline_thickness_txt
;
IBOutlet
id
o_osd_forcebold_ckb
;
IBOutlet
id
o_osd_moreoptions_txt
;
IBOutlet
id
o_osd_osd_box
;
IBOutlet
id
o_osd_osd_ckb
;
IBOutlet
id
o_osd_view
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
127ae211
...
...
@@ -297,7 +297,8 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[
o_osd_osd_ckb
setTitle
:
_NS
(
"Enable OSD"
)];
[
o_osd_opacity_txt
setStringValue
:
_NS
(
"Opacity"
)];
[
o_osd_forcebold_ckb
setTitle
:
_NS
(
"Force Bold"
)];
[
o_osd_moreoptions_txt
setStringValue
:
_NS
(
"More options on background, shadow and outline are available in the advanced preferences."
)];
[
o_osd_outline_color_txt
setStringValue
:
_NS
(
"Outline Color"
)];
[
o_osd_outline_thickness_txt
setStringValue
:
_NS
(
"Outline Thickness"
)];
/* video */
[
o_video_black_ckb
setTitle
:
_NS
(
"Black screens in Fullscreen mode"
)];
...
...
@@ -667,6 +668,8 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[
o_osd_opacity_sld
setToolTip
:
_NS
(
config_GetLabel
(
p_intf
,
"freetype-opacity"
))];
[
o_osd_opacity_fld
setToolTip
:
[
o_osd_opacity_sld
toolTip
]];
[
self
setupButton
:
o_osd_forcebold_ckb
forBoolValue
:
"freetype-bold"
];
[
self
setupButton
:
o_osd_outline_color_pop
forIntList
:
"freetype-outline-color"
];
[
self
setupButton
:
o_osd_outline_thickness_pop
forIntList
:
"freetype-outline-thickness"
];
/********************
* hotkeys settings *
...
...
@@ -985,6 +988,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
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-bold"
,
[
o_osd_forcebold_ckb
state
]
);
SaveIntList
(
o_osd_outline_color_pop
,
"freetype-outline-color"
);
SaveIntList
(
o_osd_outline_thickness_pop
,
"freetype-outline-thickness"
);
b_osdSettingChanged
=
NO
;
}
...
...
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