Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cc59dc90
Commit
cc59dc90
authored
Sep 16, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Use freetype fonts in simple prefs.
parent
03a3319a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+7
-7
No files found.
modules/gui/macosx/simple_prefs.m
View file @
cc59dc90
...
@@ -569,11 +569,11 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
...
@@ -569,11 +569,11 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[
self
setupButton
:
o_osd_encoding_pop
forStringList
:
"subsdec-encoding"
];
[
self
setupButton
:
o_osd_encoding_pop
forStringList
:
"subsdec-encoding"
];
[
o_osd_lang_fld
setStringValue
:
[
NSString
stringWithUTF8String
:
config_GetPsz
(
p_intf
,
"sub-language"
)
?:
""
]];
[
o_osd_lang_fld
setStringValue
:
[
NSString
stringWithUTF8String
:
config_GetPsz
(
p_intf
,
"sub-language"
)
?:
""
]];
if
(
config_GetPsz
(
p_intf
,
"
quartztext
-font"
)
!=
NULL
)
if
(
config_GetPsz
(
p_intf
,
"
freetype
-font"
)
!=
NULL
)
[
o_osd_font_fld
setStringValue
:
[
NSString
stringWithUTF8String
:
config_GetPsz
(
p_intf
,
"
quartztext
-font"
)
?:
""
]];
[
o_osd_font_fld
setStringValue
:
[
NSString
stringWithUTF8String
:
config_GetPsz
(
p_intf
,
"
freetype
-font"
)
?:
""
]];
[
self
setupButton
:
o_osd_font_color_pop
forIntList
:
"
quartztext
-color"
];
[
self
setupButton
:
o_osd_font_color_pop
forIntList
:
"
freetype
-color"
];
[
self
setupButton
:
o_osd_font_size_pop
forIntList
:
"
quartztext
-rel-fontsize"
];
[
self
setupButton
:
o_osd_font_size_pop
forIntList
:
"
freetype
-rel-fontsize"
];
/********************
/********************
* hotkeys settings *
* hotkeys settings *
...
@@ -930,10 +930,10 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -930,10 +930,10 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutPsz
(
p_intf
,
"subsdec-encoding"
,
[[[
o_osd_encoding_pop
selectedItem
]
title
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"subsdec-encoding"
,
[[[
o_osd_encoding_pop
selectedItem
]
title
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"sub-language"
,
[[
o_osd_lang_fld
stringValue
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"sub-language"
,
[[
o_osd_lang_fld
stringValue
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"
quartztext
-font"
,
[[
o_osd_font_fld
stringValue
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"
freetype
-font"
,
[[
o_osd_font_fld
stringValue
]
UTF8String
]
);
SaveIntList
(
o_osd_font_color_pop
,
"
quartztext
-color"
);
SaveIntList
(
o_osd_font_color_pop
,
"
freetype
-color"
);
SaveIntList
(
o_osd_font_size_pop
,
"
quartztext
-rel-fontsize"
);
SaveIntList
(
o_osd_font_size_pop
,
"
freetype
-rel-fontsize"
);
i
=
config_SaveConfigFile
(
p_intf
,
NULL
);
i
=
config_SaveConfigFile
(
p_intf
,
NULL
);
...
...
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