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
822bbc63
Commit
822bbc63
authored
Jan 02, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* moved the preferences-window to a seperate nib-file
parent
46f1af78
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
532 additions
and
32 deletions
+532
-32
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
+0
-1
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
+0
-4
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
+0
-0
extras/MacOSX/Resources/English.lproj/Preferences.nib/classes.nib
...acOSX/Resources/English.lproj/Preferences.nib/classes.nib
+446
-0
extras/MacOSX/Resources/English.lproj/Preferences.nib/info.nib
...s/MacOSX/Resources/English.lproj/Preferences.nib/info.nib
+19
-0
extras/MacOSX/Resources/English.lproj/Preferences.nib/keyedobjects.nib
.../Resources/English.lproj/Preferences.nib/keyedobjects.nib
+0
-0
extras/MacOSX/vlc.pbproj/project.pbxproj
extras/MacOSX/vlc.pbproj/project.pbxproj
+37
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-0
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+29
-25
No files found.
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
822bbc63
...
...
@@ -229,7 +229,6 @@
"o_mu_visual" = id;
"o_mu_window" = id;
"o_playlist" = id;
"o_prefs" = id;
"o_scrollfield" = id;
"o_timefield" = id;
"o_timeslider" = id;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
822bbc63
...
...
@@ -24,10 +24,6 @@
<integer>
2206
</integer>
<integer>
2199
</integer>
</array>
<key>
IBOpenObjects
</key>
<array>
<integer>
21
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
7S215
</string>
</dict>
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
View file @
822bbc63
No preview for this file type
extras/MacOSX/Resources/English.lproj/Preferences.nib/classes.nib
0 → 100644
View file @
822bbc63
This diff is collapsed.
Click to expand it.
extras/MacOSX/Resources/English.lproj/Preferences.nib/info.nib
0 → 100644
View file @
822bbc63
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
IBDocumentLocation
</key>
<string>
30 60 505 518 0 0 800 578
</string>
<key>
IBFramework Version
</key>
<string>
364.0
</string>
<key>
IBLockedObjects
</key>
<array>
<integer>
2203
</integer>
<integer>
2208
</integer>
<integer>
2206
</integer>
<integer>
2199
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
7S215
</string>
</dict>
</plist>
extras/MacOSX/Resources/English.lproj/Preferences.nib/keyedobjects.nib
0 → 100644
View file @
822bbc63
File added
extras/MacOSX/vlc.pbproj/project.pbxproj
View file @
822bbc63
...
...
@@ -814,6 +814,7 @@
8E9CA1C006D7DEE800B7186C
,
8E9CA1C106D7DEE800B7186C
,
DCA00AA9075F948800E6BF46
,
DCF358BB077F10BA007DB450
,
);
isa
=
PBXResourcesBuildPhase
;
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -835,8 +836,7 @@
};
089C167CFE841241C02AAC07
=
{
children
=
(
DCA00AA7075F948800E6BF46
,
F74F13EA02C2A79C01EE194C
,
DCF358BC077F1236007DB450
,
8E445F86047289E50059A3A7
,
8ECA7E520563CD9500DFC000
,
8EE1AFA30444660F0059A3A7
,
...
...
@@ -2244,6 +2244,41 @@
settings
=
{
};
};
DCF358B9077F10BA007DB450
=
{
children
=
(
DCF358BA077F10BA007DB450
,
);
isa
=
PBXVariantGroup
;
name
=
Preferences.nib
;
path
=
""
;
refType
=
4
;
sourceTree
=
"<group>"
;
};
DCF358BA077F10BA007DB450
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.nib
;
name
=
English
;
path
=
Resources/English.lproj/Preferences.nib
;
refType
=
4
;
sourceTree
=
"<group>"
;
};
DCF358BB077F10BA007DB450
=
{
fileRef
=
DCF358B9077F10BA007DB450
;
isa
=
PBXBuildFile
;
settings
=
{
};
};
DCF358BC077F1236007DB450
=
{
children
=
(
DCA00AA7075F948800E6BF46
,
F74F13EA02C2A79C01EE194C
,
DCF358B9077F10BA007DB450
,
);
isa
=
PBXGroup
;
name
=
nibs
;
refType
=
4
;
sourceTree
=
"<group>"
;
};
//DC0
//DC1
//DC2
...
...
modules/gui/macosx/intf.m
View file @
822bbc63
...
...
@@ -292,6 +292,7 @@ static VLCMain *_o_sharedMainInstance = nil;
}
o_about
=
[[
VLAboutBox
alloc
]
init
];
o_prefs
=
[[
VLCPrefs
alloc
]
init
];
return
_o_sharedMainInstance
;
}
...
...
modules/gui/macosx/prefs.m
View file @
822bbc63
...
...
@@ -38,28 +38,34 @@
*****************************************************************************/
@implementation
VLCPrefs
-
(
id
)
init
{
self
=
[
super
init
];
static
VLCPrefs
*
_o_sharedMainInstance
=
nil
;
if
(
self
!=
nil
)
{
o_empty_view
=
[[
NSView
alloc
]
init
];
o_save_prefs
=
[[
NSMutableDictionary
alloc
]
init
];
}
return
(
self
);
+
(
VLCPrefs
*
)
sharedInstance
{
return
_o_sharedMainInstance
?
_o_sharedMainInstance
:
[[
self
alloc
]
init
];
}
-
(
void
)
dealloc
-
(
id
)
init
{
[
o_empty_view
release
];
[
o_save_prefs
release
];
[
super
dealloc
];
if
(
_o_sharedMainInstance
)
{
[
self
dealloc
];
}
else
{
_o_sharedMainInstance
=
[
super
init
];
}
return
_o_sharedMainInstance
;
}
-
(
void
)
awakeFromNib
-
(
void
)
showPrefs
{
/* load our nib */
[
NSBundle
loadNibNamed
:
@"Preferences"
owner
:
self
];
/* from "init" > r8571 */
o_empty_view
=
[[
NSView
alloc
]
init
];
o_save_prefs
=
[[
NSMutableDictionary
alloc
]
init
];
/* from "awakeFromNib" > r8571 */
p_intf
=
VLCIntf
;
b_advanced
=
config_GetInt
(
p_intf
,
"advanced"
);
...
...
@@ -71,6 +77,14 @@
[
o_prefs_view
setRulersVisible
:
NO
];
[
o_prefs_view
setDocumentView
:
o_empty_view
];
[
o_tree
selectRow
:
0
byExtendingSelection
:
NO
];
/* end of the previous "awakeFromNib" method */
[
o_save_prefs
release
];
o_save_prefs
=
[[
NSMutableDictionary
alloc
]
init
];
[
self
showViewForID
:
[[
o_tree
itemAtRow
:[
o_tree
selectedRow
]]
getObjectID
]
andName:
[[
o_tree
itemAtRow
:[
o_tree
selectedRow
]]
getName
]];
[
o_prefs_window
center
];
[
o_prefs_window
makeKeyAndOrderFront
:
self
];
}
-
(
void
)
initStrings
...
...
@@ -82,16 +96,6 @@
[
o_advanced_ckb
setTitle
:
_NS
(
"Advanced"
)];
}
-
(
void
)
showPrefs
{
[
o_save_prefs
release
];
o_save_prefs
=
[[
NSMutableDictionary
alloc
]
init
];
[
self
showViewForID
:
[[
o_tree
itemAtRow
:[
o_tree
selectedRow
]]
getObjectID
]
andName:
[[
o_tree
itemAtRow
:[
o_tree
selectedRow
]]
getName
]];
[
o_prefs_window
center
];
[
o_prefs_window
makeKeyAndOrderFront
:
self
];
}
-
(
IBAction
)
savePrefs
:
(
id
)
sender
{
id
o_vlc_config
;
...
...
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