diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index 0714138a4..d190ec1c7 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -84,7 +84,6 @@ A2265F420B5EF5F40093DDA5 /* FileNameCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A2265F400B5EF5F40093DDA5 /* FileNameCell.m */; }; A22A067E0CB83507009694FE /* InfoTabBack.tif in Resources */ = {isa = PBXBuildFile; fileRef = A22A067D0CB83507009694FE /* InfoTabBack.tif */; }; A22A06980CB83880009694FE /* InfoTabBorder.tif in Resources */ = {isa = PBXBuildFile; fileRef = A22A06970CB83880009694FE /* InfoTabBorder.tif */; }; - A22A07350CB86B11009694FE /* InfoTabMatrix.m in Sources */ = {isa = PBXBuildFile; fileRef = A22A07330CB86B11009694FE /* InfoTabMatrix.m */; }; A22A8D560AEEAFA5007E9CB9 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A22A8D540AEEAFA5007E9CB9 /* Localizable.strings */; }; A22BC9A30C5BBCF100F5FB72 /* BottomBorder.png in Resources */ = {isa = PBXBuildFile; fileRef = A22BC9A20C5BBCF100F5FB72 /* BottomBorder.png */; }; A22D602E0CB67E4A00F67A8B /* InfoTabBackAqua.tif in Resources */ = {isa = PBXBuildFile; fileRef = A22D602C0CB67E4A00F67A8B /* InfoTabBackAqua.tif */; }; @@ -395,8 +394,6 @@ A2265F400B5EF5F40093DDA5 /* FileNameCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = FileNameCell.m; path = macosx/FileNameCell.m; sourceTree = ""; }; A22A067D0CB83507009694FE /* InfoTabBack.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = InfoTabBack.tif; path = macosx/Images/InfoTabBack.tif; sourceTree = ""; }; A22A06970CB83880009694FE /* InfoTabBorder.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = InfoTabBorder.tif; path = macosx/Images/InfoTabBorder.tif; sourceTree = ""; }; - A22A07320CB86B11009694FE /* InfoTabMatrix.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = InfoTabMatrix.h; path = macosx/InfoTabMatrix.h; sourceTree = ""; }; - A22A07330CB86B11009694FE /* InfoTabMatrix.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = InfoTabMatrix.m; path = macosx/InfoTabMatrix.m; sourceTree = ""; }; A22A7EBC0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Greek; path = macosx/Greek.lproj/InfoPlist.strings; sourceTree = ""; }; A22A7EBD0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Greek; path = macosx/Greek.lproj/InfoWindow.nib; sourceTree = ""; }; A22A7EBE0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Greek; path = macosx/Greek.lproj/Localizable.strings; sourceTree = ""; }; @@ -735,8 +732,6 @@ A257C1800CAD3003004E121C /* PeerTableView.m */, A2E23AC30CB5E1930002BB25 /* InfoTabButtonCell.h */, A2E23AC40CB5E1930002BB25 /* InfoTabButtonCell.m */, - A22A07320CB86B11009694FE /* InfoTabMatrix.h */, - A22A07330CB86B11009694FE /* InfoTabMatrix.m */, ); name = Sources; sourceTree = ""; @@ -1520,7 +1515,6 @@ A21282A80CA6C66800EAEE0F /* StatusBarView.m in Sources */, A257C1820CAD3003004E121C /* PeerTableView.m in Sources */, A2E23AC60CB5E1930002BB25 /* InfoTabButtonCell.m in Sources */, - A22A07350CB86B11009694FE /* InfoTabMatrix.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/macosx/InfoTabButtonCell.m b/macosx/InfoTabButtonCell.m index 263619d17..71cd7869f 100644 --- a/macosx/InfoTabButtonCell.m +++ b/macosx/InfoTabButtonCell.m @@ -70,25 +70,4 @@ [self setImage: selected ? fSelectedImage : fRegularImage]; } -/*- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView -{ - #warning dim instead of set selected - NSImage * image; - if ([(NSMatrix *)controlView selectedCell] == self || fPushed) - { - if (!fSelectedImage) - [self setImage: nil]; - image = fSelectedImage; - } - else - { - if (!fRegularImage) - [self setImage: nil]; - image = fRegularImage; - } - - [image drawInRect: cellFrame fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0]; - //[super drawWithFrame: cellFrame inView: controlView]; -}*/ - @end diff --git a/macosx/InfoTabMatrix.h b/macosx/InfoTabMatrix.h deleted file mode 100644 index b5827a33d..000000000 --- a/macosx/InfoTabMatrix.h +++ /dev/null @@ -1,31 +0,0 @@ -/****************************************************************************** - * $Id$ - * - * Copyright (c) 2007 Transmission authors and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - *****************************************************************************/ - -#import - -#warning remove!?!?! -@interface InfoTabMatrix : NSMatrix -{ -} -@end diff --git a/macosx/InfoTabMatrix.m b/macosx/InfoTabMatrix.m deleted file mode 100644 index 842180787..000000000 --- a/macosx/InfoTabMatrix.m +++ /dev/null @@ -1,44 +0,0 @@ -/****************************************************************************** - * $Id$ - * - * Copyright (c) 2007 Transmission authors and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - *****************************************************************************/ - -#import "InfoTabMatrix.h" - -@implementation InfoTabMatrix - -/*- (BOOL)selectCell:(int)anInt -{ -NSLog(@"%d", anInt); -} - -- (void)selectCellAtRow:(int)row column:(int)column -{ -NSLog(@"%d", column); -} - -- (void)highlightCell:(BOOL)flag atRow:(int)row column:(int)column -{ -NSLog(@"%d", column); -}*/ - -@end