Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
31f985a5
Commit
31f985a5
authored
Mar 13, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: group methods in simple_prefs.m for better clarity
parent
5ff8299f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+14
-0
No files found.
modules/gui/macosx/simple_prefs.m
View file @
31f985a5
...
...
@@ -51,6 +51,8 @@ static NSString* VLCHotkeysSettingToolbarIdentifier = @"Hotkeys Settings Item Id
static
VLCSimplePrefs
*
_o_sharedInstance
=
nil
;
#pragma mark Initialisation
+
(
VLCSimplePrefs
*
)
sharedInstance
{
return
_o_sharedInstance
?
_o_sharedInstance
:
[[
self
alloc
]
init
];
...
...
@@ -344,6 +346,9 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
return
NULL
;
}
#pragma mark -
#pragma mark Setup controls
-
(
void
)
setupButton
:
(
NSPopUpButton
*
)
object
forStringList
:
(
const
char
*
)
name
{
module_config_t
*
p_item
;
...
...
@@ -705,6 +710,9 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[
o_hotkeys_listbox
reloadData
];
}
#pragma mark -
#pragma mark General actions
-
(
void
)
showSimplePrefs
{
/* we want to show the interface settings, if no category was chosen */
...
...
@@ -1035,6 +1043,9 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
[
o_currentlyShownCategoryView
retain
];
}
#pragma mark -
#pragma mark Specific actions
-
(
IBAction
)
interfaceSettingChanged
:(
id
)
sender
{
if
(
sender
==
o_intf_embedded_ckb
&&
[
o_intf_embedded_ckb
state
]
==
NSOffState
)
...
...
@@ -1227,6 +1238,9 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
[
self
showSettingsForCategory
:
o_input_view
];
}
#pragma mark -
#pragma mark Hotkey actions
-
(
void
)
hotkeyTableDoubleClick
:(
id
)
object
{
// -1 is header
...
...
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