Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
4a7bb539
Commit
4a7bb539
authored
Sep 25, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove the legacy CONFIG_ITEM_KEY_BEFORE_10_3 code
parent
03c6d5b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
71 deletions
+0
-71
modules/gui/macosx/prefs_widgets.h
modules/gui/macosx/prefs_widgets.h
+0
-2
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+0
-69
No files found.
modules/gui/macosx/prefs_widgets.h
View file @
4a7bb539
...
...
@@ -23,7 +23,6 @@
#define CONFIG_ITEM_STRING_LIST (CONFIG_ITEM_STRING + 1)
#define CONFIG_ITEM_RANGED_INTEGER (CONFIG_ITEM_INTEGER + 1)
#define CONFIG_ITEM_KEY_BEFORE_10_3 (CONFIG_ITEM_KEY + 1)
#define CONFIG_ITEM_KEY_AFTER_10_3 (CONFIG_ITEM_KEY + 2)
#define LEFTMARGIN 18
#define RIGHTMARGIN 18
...
...
@@ -207,6 +206,5 @@ static NSMenu *o_keys_menu = nil;
//#undef CONFIG_ITEM_LIST_STRING
//#undef CONFIG_ITEM_RANGED_INTEGER
//#undef CONFIG_ITEM_KEY_BEFORE_10_3
//#undef CONFIG_ITEM_KEY_AFTER_10_3
modules/gui/macosx/prefs_widgets.m
View file @
4a7bb539
...
...
@@ -467,9 +467,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
...
...
@@ -505,9 +502,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
...
...
@@ -544,9 +538,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
...
...
@@ -583,9 +574,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
10
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
10
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
9
;
break
;
...
...
@@ -622,9 +610,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
8
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
8
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
7
;
break
;
...
...
@@ -661,9 +646,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
...
...
@@ -700,9 +682,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
...
...
@@ -739,9 +718,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
5
;
break
;
...
...
@@ -753,45 +729,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
break
;
}
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
switch
(
i_lastItem
)
{
case
CONFIG_ITEM_STRING
:
case
CONFIG_ITEM_PASSWORD
:
i_margin
=
6
;
break
;
case
CONFIG_ITEM_STRING_LIST
:
i_margin
=
5
;
break
;
case
CONFIG_ITEM_FILE
:
i_margin
=
4
;
break
;
case
CONFIG_ITEM_MODULE
:
i_margin
=
2
;
break
;
case
CONFIG_ITEM_INTEGER
:
i_margin
=
5
;
break
;
case
CONFIG_ITEM_RANGED_INTEGER
:
i_margin
=
3
;
break
;
case
CONFIG_ITEM_BOOL
:
i_margin
=
3
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
10
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
6
;
break
;
case
CONFIG_ITEM_MODULE_LIST
:
i_margin
=
6
;
break
;
default:
i_margin
=
18
;
break
;
}
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
switch
(
i_lastItem
)
{
...
...
@@ -817,9 +754,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
8
;
break
;
...
...
@@ -856,9 +790,6 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
case
CONFIG_ITEM_BOOL
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_BEFORE_10_3
:
i_margin
=
7
;
break
;
case
CONFIG_ITEM_KEY_AFTER_10_3
:
i_margin
=
5
;
break
;
...
...
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