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
cd794aec
Commit
cd794aec
authored
Sep 21, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: forward-port 17a722aa10 so master is 10.4u compatible too
parent
0bb73cd8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
4 deletions
+28
-4
extras/package/macosx/Resources/English.lproj/Preferences.nib/classes.nib
...acosx/Resources/English.lproj/Preferences.nib/classes.nib
+5
-0
extras/package/macosx/Resources/English.lproj/Preferences.nib/info.nib
...e/macosx/Resources/English.lproj/Preferences.nib/info.nib
+3
-3
extras/package/macosx/Resources/English.lproj/Preferences.nib/keyedobjects.nib
.../Resources/English.lproj/Preferences.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+5
-0
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+15
-1
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.nib/classes.nib
View file @
cd794aec
...
...
@@ -166,6 +166,11 @@
"o_video_view" = id;
};
SUPERCLASS = NSObject;
},
{
CLASS = VLCSimplePrefsWindow;
LANGUAGE = ObjC;
SUPERCLASS = NSWindow;
}
);
IBVersion = 1;
...
...
extras/package/macosx/Resources/English.lproj/Preferences.nib/info.nib
View file @
cd794aec
...
...
@@ -23,12 +23,12 @@
<integer>
5
</integer>
<key>
IBOpenObjects
</key>
<array>
<integer>
2311
</integer>
<integer>
2330
</integer>
<integer>
1530
</integer>
<integer>
2668
</integer>
<integer>
2265
</integer>
<integer>
1530
</integer>
<integer>
2677
</integer>
<integer>
2311
</integer>
<integer>
2668
</integer>
<integer>
2562
</integer>
</array>
<key>
IBSystem Version
</key>
...
...
extras/package/macosx/Resources/English.lproj/Preferences.nib/keyedobjects.nib
View file @
cd794aec
No preview for this file type
modules/gui/macosx/simple_prefs.h
View file @
cd794aec
...
...
@@ -196,6 +196,7 @@
-
(
IBAction
)
osdSettingChanged
:(
id
)
sender
;
-
(
IBAction
)
showFontPicker
:(
id
)
sender
;
-
(
void
)
showOSDSettings
;
-
(
void
)
changeFont
:(
id
)
sender
;
/* input & codecs */
-
(
IBAction
)
inputSettingChanged
:(
id
)
sender
;
...
...
@@ -213,3 +214,7 @@
@interface
VLCHotkeyChangeWindow
:
NSWindow
@end
@interface
VLCSimplePrefsWindow
:
NSWindow
@end
\ No newline at end of file
modules/gui/macosx/simple_prefs.m
View file @
cd794aec
...
...
@@ -1130,7 +1130,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
NSFont
*
font
=
[
NSFont
fontWithDescriptor
:[
fd
fontDescriptorWithFamily
:
fontFamilyName
]
textTransform
:
nil
];
[[
NSFontManager
sharedFontManager
]
setSelectedFont
:
font
isMultiple
:
NO
];
}
[[
NSFontManager
sharedFontManager
]
setTarget
:
self
];
[[
NSFontManager
sharedFontManager
]
setDelegate
:
self
];
[
o_sprefs_win
makeFirstResponder
:
o_sprefs_win
];
[[
NSFontPanel
sharedFontPanel
]
orderFront
:
self
];
}
...
...
@@ -1317,3 +1318,16 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
}
@end
@implementation
VLCSimplePrefsWindow
-
(
BOOL
)
acceptsFirstResponder
{
return
YES
;
}
-
(
void
)
changeFont
:(
id
)
sender
{
[[[
VLCMain
sharedInstance
]
getSimplePreferences
]
changeFont
:
sender
];
}
@end
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