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
960e3780
Commit
960e3780
authored
Jun 25, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: expand the documentation for our single (known) private API use
parent
d31d2c21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+8
-7
No files found.
modules/gui/macosx/playlist.m
View file @
960e3780
...
@@ -430,10 +430,11 @@
...
@@ -430,10 +430,11 @@
@end
@end
/*****************************************************************************
/*****************************************************************************
* extension to NSOutlineView's interface to fix compilation warnings
* An extension to NSOutlineView's interface to fix compilation warnings
* and let us access these 2 functions properly
* and let us access these 2 functions properly.
* this uses a private Apple-API, but works fine on all current OSX releases
* This uses a private API, but works fine on all current OSX releases.
* keep checking for compatiblity with future releases though
* Radar ID 11739459 request a public API for this. However, it is probably
* easier and faster to recreate similar looking bitmaps ourselves.
*****************************************************************************/
*****************************************************************************/
@interface
NSOutlineView
(
UndocumentedSortImages
)
@interface
NSOutlineView
(
UndocumentedSortImages
)
...
@@ -498,9 +499,9 @@
...
@@ -498,9 +499,9 @@
@"VLCPlaylistItemPboardType"
,
nil
]];
@"VLCPlaylistItemPboardType"
,
nil
]];
[
o_outline_view_other
setIntercellSpacing
:
NSMakeSize
(
0
.
0
,
1
.
0
)];
[
o_outline_view_other
setIntercellSpacing
:
NSMakeSize
(
0
.
0
,
1
.
0
)];
/* This uses
private Apple API which works fine until 10.5
.
/* This uses
a private API, but works fine on all current OSX releases
.
*
We need to keep checking in the future!
*
Radar ID 11739459 request a public API for this. However, it is probably
*
These methods are being added artificially to NSOutlineView's interface above
*/
*
easier and faster to recreate similar looking bitmaps ourselves.
*/
o_ascendingSortingImage
=
[[
NSOutlineView
class
]
_defaultTableHeaderSortImage
];
o_ascendingSortingImage
=
[[
NSOutlineView
class
]
_defaultTableHeaderSortImage
];
o_descendingSortingImage
=
[[
NSOutlineView
class
]
_defaultTableHeaderReverseSortImage
];
o_descendingSortingImage
=
[[
NSOutlineView
class
]
_defaultTableHeaderReverseSortImage
];
...
...
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