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
19e793f9
Commit
19e793f9
authored
Jul 16, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/prefs: split complete from simple prefs, fix class API and remove object instances from xib
parent
9e904e66
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
348 additions
and
12569 deletions
+348
-12569
Makefile.am
Makefile.am
+1
-0
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+165
-12361
modules/gui/macosx/prefs.h
modules/gui/macosx/prefs.h
+13
-17
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+169
-191
No files found.
Makefile.am
View file @
19e793f9
...
...
@@ -154,6 +154,7 @@ EXTRA_DIST += \
extras/package/macosx/Resources/English.lproj/Preferences.xib
\
extras/package/macosx/Resources/English.lproj/ResumeDialog.xib
\
extras/package/macosx/Resources/English.lproj/SharedDialogs.xib
\
extras/package/macosx/Resources/English.lproj/SimplePreferences.xib
\
extras/package/macosx/Resources/English.lproj/SyncTracks.xib
\
extras/package/macosx/Resources/English.lproj/VideoEffects.xib
\
extras/package/macosx/Resources/fspanel/fs_background.png
\
...
...
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
19e793f9
This diff is collapsed.
Click to expand it.
modules/gui/macosx/prefs.h
View file @
19e793f9
/*****************************************************************************
* prefs.h: MacOS X module for vlc
*****************************************************************************
* Copyright (C) 2002-20
07
VLC authors and VideoLAN
* Copyright (C) 2002-20
15
VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Felix Paul Kühne <fkuehne at videolan dot org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -27,28 +28,23 @@
* VLCPrefs interface
*****************************************************************************/
@interface
VLCPrefs
:
NSObject
{
IBOutlet
id
o_prefs_window
;
IBOutlet
id
o_title
;
IBOutlet
id
o_tree
;
IBOutlet
id
o_prefs_view
;
IBOutlet
id
o_save_btn
;
IBOutlet
id
o_cancel_btn
;
IBOutlet
id
o_reset_btn
;
IBOutlet
id
o_showBasic_btn
;
}
+
(
VLCPrefs
*
)
sharedInstance
;
-
(
void
)
initStrings
;
@property
(
readwrite
,
weak
)
IBOutlet
NSWindow
*
prefsWindow
;
@property
(
readwrite
,
weak
)
IBOutlet
NSTextField
*
titleLabel
;
@property
(
readwrite
,
weak
)
IBOutlet
NSOutlineView
*
tree
;
@property
(
readwrite
,
weak
)
IBOutlet
NSScrollView
*
prefsView
;
@property
(
readwrite
,
weak
)
IBOutlet
NSButton
*
saveButton
;
@property
(
readwrite
,
weak
)
IBOutlet
NSButton
*
cancelButton
;
@property
(
readwrite
,
weak
)
IBOutlet
NSButton
*
resetButton
;
@property
(
readwrite
,
weak
)
IBOutlet
NSButton
*
showBasicButton
;
-
(
void
)
setTitle
:
(
NSString
*
)
o_title_name
;
-
(
void
)
showPrefsWithLevel
:(
NSInteger
)
i_window_level
;
-
(
IBAction
)
savePrefs
:
(
id
)
sender
;
-
(
IBAction
)
closePrefs
:
(
id
)
sender
;
-
(
IBAction
)
buttonAction
:
(
id
)
sender
;
@end
@interface
VLCFlippedView
:
NSView
-
(
IBAction
)
showSimplePrefs
:
(
id
)
sender
;
-
(
IBAction
)
resetPrefs
:
(
id
)
sender
;
@end
modules/gui/macosx/prefs.m
View file @
19e793f9
This diff is collapsed.
Click to expand it.
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