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
bfdbb36f
Commit
bfdbb36f
authored
Jan 27, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: we need to import intf.h before any import of vlc/vlc.h, because it includes config.h
parent
a0e5fe35
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
33 deletions
+14
-33
modules/gui/macosx/bookmarks.h
modules/gui/macosx/bookmarks.h
+1
-0
modules/gui/macosx/bookmarks.m
modules/gui/macosx/bookmarks.m
+0
-1
modules/gui/macosx/extended.h
modules/gui/macosx/extended.h
+1
-0
modules/gui/macosx/extended.m
modules/gui/macosx/extended.m
+0
-1
modules/gui/macosx/sfilters.h
modules/gui/macosx/sfilters.h
+3
-2
modules/gui/macosx/sfilters.m
modules/gui/macosx/sfilters.m
+9
-29
No files found.
modules/gui/macosx/bookmarks.h
View file @
bfdbb36f
...
...
@@ -22,6 +22,7 @@
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import "intf.h"
#import <vlc/vlc.h>
@interface
VLCBookmarks
:
NSObject
...
...
modules/gui/macosx/bookmarks.m
View file @
bfdbb36f
...
...
@@ -35,7 +35,6 @@
*****************************************************************************/
#import "bookmarks.h"
#import "intf.h"
#import "wizard.h"
#import <vlc_interface.h>
...
...
modules/gui/macosx/extended.h
View file @
bfdbb36f
...
...
@@ -26,6 +26,7 @@
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import "intf.h"
#import <vlc/vlc.h>
@interface
VLCExtended
:
NSObject
...
...
modules/gui/macosx/extended.m
View file @
bfdbb36f
...
...
@@ -27,7 +27,6 @@
*****************************************************************************/
#import "extended.h"
#import "intf.h"
#import "vout.h"
#import <vlc_aout.h>
#import <vlc_vout.h>
...
...
modules/gui/macosx/sfilters.h
View file @
bfdbb36f
/*****************************************************************************
* sfilter.h: MacOS X Subpicture filters dialogue
*****************************************************************************
* Copyright (C) 2005-200
6
the VideoLAN team
* Copyright (C) 2005-200
8
the VideoLAN team
* $Id$
*
* Authors: Felix
Kühne <fkuehne@users.sf.net
>
* Authors: 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
...
...
@@ -22,6 +22,7 @@
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import "intf.h"
#import <vlc/vlc.h>
@interface
VLCsFilters
:
NSObject
...
...
modules/gui/macosx/sfilters.m
View file @
bfdbb36f
/*****************************************************************************
* sfilter.m: MacOS X Subpicture filters dialogue
*****************************************************************************
* Copyright (C) 2005-200
6
the VideoLAN team
* Copyright (C) 2005-200
8
the VideoLAN team
* $Id$
*
* Authors: Felix
Kühne <fkuehne@users.sf.net
>
* Authors: 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
...
...
@@ -30,7 +30,6 @@
*****************************************************************************/
#import "sfilters.h"
#import "intf.h"
#import <vlc_vout.h>
/* TODO:
...
...
@@ -215,8 +214,7 @@ static VLCsFilters *_o_sharedInstance = nil;
/* retrieve the time settings */
x
=
0
;
tempInt
=
config_GetInt
(
p_intf
,
"time-color"
);
while
(
strtol
([[[
o_colors
objectAtIndex
:
x
]
objectAtIndex
:
1
]
UTF8String
],
NULL
,
0
)
!=
tempInt
)
while
(
strtol
([[[
o_colors
objectAtIndex
:
x
]
objectAtIndex
:
1
]
UTF8String
],
NULL
,
0
)
!=
tempInt
)
{
x
=
(
x
+
1
);
...
...
@@ -484,38 +482,20 @@ static VLCsFilters *_o_sharedInstance = nil;
{
if
(
sender
==
o_marq_enabled_ckb
)
{
if
(
[
o_marq_enabled_ckb
state
]
==
NSOnState
)
{
[
self
changeFiltersString
:(
char
*
)
"marq"
onOrOff
:
VLC_TRUE
];
}
else
{
[
self
changeFiltersString
:(
char
*
)
"marq"
onOrOff
:
VLC_FALSE
];
}
[
self
changeFiltersString
:
"marq"
onOrOff
:
[
o_marq_enabled_ckb
state
]];
[
self
enableMarq
];
}
if
(
sender
==
o_logo_enabled_ckb
)
{
if
(
[
o_logo_enabled_ckb
state
]
==
NSOnState
)
{
[
self
changeFiltersString
:(
char
*
)
"logo"
onOrOff
:
VLC_TRUE
];
}
else
{
[
self
changeFiltersString
:(
char
*
)
"logo"
onOrOff
:
VLC_FALSE
];
}
[
self
changeFiltersString
:
"logo"
onOrOff
:
[
o_logo_enabled_ckb
state
]];
[
self
enableLogo
];
}
if
(
sender
==
o_time_enabled_ckb
)
{
if
(
[
o_time_enabled_ckb
state
]
==
NSOnState
)
{
[
self
changeFiltersString
:(
char
*
)
"time"
onOrOff
:
VLC_TRUE
];
}
else
{
[
self
changeFiltersString
:(
char
*
)
"time"
onOrOff
:
VLC_FALSE
];
}
[
self
changeFiltersString
:
"time"
onOrOff
:
[
o_time_enabled_ckb
state
]];
[
self
enableTime
];
}
}
...
...
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