Changeset 3299


Ignore:
Timestamp:
Oct 6, 2007, 10:59:07 PM (15 years ago)
Author:
livings124
Message:

hilight pushed inspector tab...this will be made a different color later

Location:
trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Transmission.xcodeproj/project.pbxproj

    r3296 r3299  
    8585                A22A067E0CB83507009694FE /* InfoTabBack.tif in Resources */ = {isa = PBXBuildFile; fileRef = A22A067D0CB83507009694FE /* InfoTabBack.tif */; };
    8686                A22A06980CB83880009694FE /* InfoTabBorder.tif in Resources */ = {isa = PBXBuildFile; fileRef = A22A06970CB83880009694FE /* InfoTabBorder.tif */; };
     87                A22A06F00CB84903009694FE /* InfoTabMatrix.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = A22A06EE0CB84903009694FE /* InfoTabMatrix.h */; };
     88                A22A06F10CB84903009694FE /* InfoTabMatrix.m in Sources */ = {isa = PBXBuildFile; fileRef = A22A06EF0CB84903009694FE /* InfoTabMatrix.m */; };
    8789                A22A8D560AEEAFA5007E9CB9 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A22A8D540AEEAFA5007E9CB9 /* Localizable.strings */; };
    8890                A22BC9A30C5BBCF100F5FB72 /* BottomBorder.png in Resources */ = {isa = PBXBuildFile; fileRef = A22BC9A20C5BBCF100F5FB72 /* BottomBorder.png */; };
     
    291293                                A24F19210A3A796800C9C145 /* Sparkle.framework in CopyFiles */,
    292294                                A257C1810CAD3003004E121C /* PeerTableView.h in CopyFiles */,
     295                                A22A06F00CB84903009694FE /* InfoTabMatrix.h in CopyFiles */,
    293296                        );
    294297                        runOnlyForDeploymentPostprocessing = 0;
     
    397400                A22A067D0CB83507009694FE /* InfoTabBack.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = InfoTabBack.tif; path = macosx/Images/InfoTabBack.tif; sourceTree = "<group>"; };
    398401                A22A06970CB83880009694FE /* InfoTabBorder.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = InfoTabBorder.tif; path = macosx/Images/InfoTabBorder.tif; sourceTree = "<group>"; };
     402                A22A06EE0CB84903009694FE /* InfoTabMatrix.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = InfoTabMatrix.h; path = macosx/InfoTabMatrix.h; sourceTree = "<group>"; };
     403                A22A06EF0CB84903009694FE /* InfoTabMatrix.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = InfoTabMatrix.m; path = macosx/InfoTabMatrix.m; sourceTree = "<group>"; };
    399404                A22A7EBC0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = Greek; path = macosx/Greek.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    400405                A22A7EBD0C627FC200E30364 /* Greek */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Greek; path = macosx/Greek.lproj/InfoWindow.nib; sourceTree = "<group>"; };
     
    735740                                A2E23AC30CB5E1930002BB25 /* InfoTabButtonCell.h */,
    736741                                A2E23AC40CB5E1930002BB25 /* InfoTabButtonCell.m */,
     742                                A22A06EE0CB84903009694FE /* InfoTabMatrix.h */,
     743                                A22A06EF0CB84903009694FE /* InfoTabMatrix.m */,
    737744                        );
    738745                        name = Sources;
     
    15181525                                A257C1820CAD3003004E121C /* PeerTableView.m in Sources */,
    15191526                                A2E23AC60CB5E1930002BB25 /* InfoTabButtonCell.m in Sources */,
     1527                                A22A06F10CB84903009694FE /* InfoTabMatrix.m in Sources */,
    15201528                        );
    15211529                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/macosx/English.lproj/InfoWindow.nib/classes.nib

    r3296 r3299  
    55        {CLASS = ImageBackgroundView; LANGUAGE = ObjC; SUPERCLASS = NSView; },
    66        {CLASS = InfoTabButtonCell; LANGUAGE = ObjC; SUPERCLASS = NSButtonCell; },
     7        {CLASS = InfoTabMatrix; LANGUAGE = ObjC; SUPERCLASS = NSMatrix; },
    78        {
    89            ACTIONS = {
  • trunk/macosx/English.lproj/InfoWindow.nib/info.nib

    r3296 r3299  
    3030        <key>IBOpenObjects</key>
    3131        <array>
     32                <integer>1066</integer>
    3233                <integer>5</integer>
    33                 <integer>1066</integer>
    3434        </array>
    3535        <key>IBSystem Version</key>
  • trunk/macosx/InfoTabButtonCell.h

    r3297 r3299  
    2828{
    2929    NSImage * fRegularImage, * fSelectedImage;
     30   
     31    BOOL fPushed;
    3032}
     33
     34- (void) setPushed: (BOOL) pushed;
     35
    3136@end
  • trunk/macosx/InfoTabButtonCell.m

    r3297 r3299  
    6666}
    6767
     68- (void) setPushed: (BOOL) pushed
     69{
     70    fPushed = pushed;
     71}
     72
    6873- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
    6974{
     75    #warning dim instead of set selected
    7076    NSImage * image;
    71     if ([(NSMatrix *)controlView selectedCell] == self)
     77    if ([(NSMatrix *)controlView selectedCell] == self || fPushed)
    7278    {
    7379        if (!fSelectedImage)
Note: See TracChangeset for help on using the changeset viewer.