HistoryView: Don't show the 'loading commit' thing until after 500 ms.
[GitX.git] / PBGitRevisionCell.h
blobd6aa4ed327e4dd3ec4589a4f9e11de961c5b5e40
1 //
2 // PBGitRevisionCell.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 17-06-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import "PBGitGrapher.h"
11 #import "PBGraphCellInfo.h"
12 #import "PBGitHistoryController.h"
13 #import "PBRefContextDelegate.h"
15 @interface PBGitRevisionCell : NSActionCell {
16 PBGitCommit *objectValue;
17 PBGraphCellInfo *cellInfo;
18 NSTextFieldCell *textCell;
19 IBOutlet PBGitHistoryController *controller;
20 IBOutlet id<PBRefContextDelegate> contextMenuDelegate;
23 - (int) indexAtX:(float)x;
24 - (NSRect) rectAtIndex:(int)index;
25 - (void) drawLabelAtIndex:(int)index inRect:(NSRect)rect;
27 @property(retain) PBGitCommit* objectValue;
28 @end