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
41857c81
Commit
41857c81
authored
Aug 24, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: simplify prefs widgets header
parent
42100a2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
modules/gui/macosx/prefs_widgets.h
modules/gui/macosx/prefs_widgets.h
+16
-12
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+1
-1
No files found.
modules/gui/macosx/prefs_widgets.h
View file @
41857c81
/*****************************************************************************
* prefs_widgets.h: Preferences controls
*****************************************************************************
* Copyright (C) 2002-20
07
VLC authors and VideoLAN
* Copyright (C) 2002-20
12
VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan.org>
* Felix Paul Khne <fkuehne at videolan.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
...
...
@@ -38,23 +39,26 @@ static NSMenu *o_keys_menu = nil;
bool
b_advanced
;
}
@property
(
readonly
)
NSString
*
name
;
@property
(
readonly
)
int
type
;
@property
(
readonly
)
int
viewType
;
@property
(
readonly
)
BOOL
advanced
;
@property
(
readonly
)
int
intValue
;
@property
(
readonly
)
float
floatValue
;
@property
(
readonly
)
char
*
stringValue
;
@property
(
readonly
)
int
labelSize
;
+
(
VLCConfigControl
*
)
newControl
:
(
module_config_t
*
)
_p_item
withView
:
(
NSView
*
)
o_parent_view
;
+
(
int
)
calcVerticalMargin
:
(
int
)
i_curItem
lastItem
:(
int
)
i_lastItem
;
-
(
id
)
initWithFrame
:
(
NSRect
)
frame
item
:
(
module_config_t
*
)
p_item
;
-
(
NSString
*
)
name
;
-
(
int
)
type
;
-
(
int
)
viewType
;
-
(
BOOL
)
isAdvanced
;
-
(
void
)
setYPos
:(
int
)
i_yPos
;
-
(
int
)
intValue
;
-
(
float
)
floatValue
;
-
(
char
*
)
stringValue
;
-
(
void
)
alignWithXPosition
:(
int
)
i_xPos
;
-
(
void
)
applyChanges
;
-
(
void
)
resetValues
;
-
(
int
)
labelSize
;
-
(
void
)
alignWithXPosition
:(
int
)
i_xPos
;
+
(
int
)
calcVerticalMargin
:
(
int
)
i_curItem
lastItem
:(
int
)
i_lastItem
;
@end
...
...
modules/gui/macosx/prefs_widgets.m
View file @
41857c81
...
...
@@ -894,7 +894,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
return
i_view_type
;
}
-
(
BOOL
)
isA
dvanced
-
(
BOOL
)
a
dvanced
{
return
b_advanced
;
}
...
...
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