mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
988b105455
Also compiles fine with LLVM-GCC.
29 lines
694 B
Objective-C
29 lines
694 B
Objective-C
//
|
|
// PBGitRevisionCell.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 17-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitGrapher.h"
|
|
#import "PBGraphCellInfo.h"
|
|
#import "PBGitHistoryController.h"
|
|
#import "PBRefContextDelegate.h"
|
|
|
|
@interface PBGitRevisionCell : NSActionCell {
|
|
PBGitCommit *objectValue;
|
|
PBGraphCellInfo *cellInfo;
|
|
NSTextFieldCell *textCell;
|
|
IBOutlet PBGitHistoryController *controller;
|
|
IBOutlet id<PBRefContextDelegate> contextMenuDelegate;
|
|
}
|
|
|
|
- (int) indexAtX:(float)x;
|
|
- (NSRect) rectAtIndex:(int)index;
|
|
- (void) drawLabelAtIndex:(int)index inRect:(NSRect)rect;
|
|
|
|
@property(retain) PBGitCommit* objectValue;
|
|
@end
|