Changeset 5a4c870baeeeb993dbc2b2aa4af3647a9587e82e
- Timestamp:
- 05/22/03 15:40:13
(5 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1053610813 +0000
- git-parent:
[8aa24cfe361b893a626016211e05f41c544f5c1b]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1053610813 +0000
- Message:
* Fixed an issue that was preventing the use of the playlist in Mac OS 10.1
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9d8a2d0 |
r5a4c870 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002-2003 VideoLAN |
|---|
| 5 | | * $Id: playlist.m,v 1.22 2003/05/12 01:17:10 hartman Exp $ |
|---|
| | 5 | * $Id: playlist.m,v 1.23 2003/05/22 13:40:13 hartman Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> |
|---|
| … | … | |
| 112 | 112 | } |
|---|
| 113 | 113 | |
|---|
| 114 | | - (void) highlightSelectionInClipRect:(NSRect)o_rect { |
|---|
| | 114 | - (void)highlightSelectionInClipRect:(NSRect)o_rect { |
|---|
| 115 | 115 | NSRect o_new_rect; |
|---|
| 116 | 116 | float f_height = [self rowHeight] + [self intercellSpacing].height; |
|---|
| 117 | 117 | float f_origin_y = NSMaxY( o_rect ); |
|---|
| 118 | 118 | int i_row = o_rect.origin.y / f_height; |
|---|
| | 119 | |
|---|
| | 120 | if( [NSColor respondsTo:alternateSelectedControlColor] ) |
|---|
| | 121 | { |
|---|
| | 122 | [super highlightSelectionInClipRect:o_rect]; |
|---|
| | 123 | break; |
|---|
| | 124 | } |
|---|
| 119 | 125 | |
|---|
| 120 | 126 | if ( i_row % 2 == 0 ) |
|---|