Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 41 lines (28 sloc) 0.981 kB
0cb3699 Initial commit
Alex Rozanski authored
1 //
2 // PXListViewCell.h
3 // PXListView
4 //
5 // Created by Alex Rozanski on 29/05/2010.
6 // Copyright 2010 Alex Rozanski. http://perspx.com. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
7194cd3 @uliwitness Some more WIP for drops.
uliwitness authored
10 #import "PXListViewDropHighlight.h"
0cb3699 Initial commit
Alex Rozanski authored
11
f11efb7 @uliwitness We can now highlight a cell and the table itself to indicate it accep…
uliwitness authored
12
0cb3699 Initial commit
Alex Rozanski authored
13 @class PXListView;
14
f11efb7 @uliwitness We can now highlight a cell and the table itself to indicate it accep…
uliwitness authored
15 @interface PXListViewCell : NSView
16 {
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
17 NSString *_reusableIdentifier;
0cb3699 Initial commit
Alex Rozanski authored
18
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
19 PXListView *_listView;
20 NSUInteger _row;
f11efb7 @uliwitness We can now highlight a cell and the table itself to indicate it accep…
uliwitness authored
21 PXListViewDropHighlight _dropHighlight;
0cb3699 Initial commit
Alex Rozanski authored
22 }
23
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
24 @property (nonatomic, assign) PXListView *listView;
f89a40f Moved user interaction methods into a new category
Alex Rozanski authored
25
26 @property (readonly, copy) NSString *reusableIdentifier;
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
27 @property (readonly) NSUInteger row;
f89a40f Moved user interaction methods into a new category
Alex Rozanski authored
28
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
29 @property (readonly,getter=isSelected) BOOL selected;
30 @property (assign) PXListViewDropHighlight dropHighlight;
31
32 + (id)cellLoadedFromNibNamed:(NSString*)nibName reusableIdentifier:(NSString*)identifier;
3b96b4b Added +cellLoadedFromNibNamed:bundle:reusableIdentifier: to load a ce…
Alex Rozanski authored
33 + (id)cellLoadedFromNibNamed:(NSString*)nibName bundle:(NSBundle*)bundle reusableIdentifier:(NSString*)identifier;
0cb3699 Initial commit
Alex Rozanski authored
34
811a5c1 Update PXListViewCell and add +cellLoadedFromNibNamed:reusableIdentif…
Alex Rozanski authored
35 - (id)initWithReusableIdentifier:(NSString*)identifier;
36 - (void)prepareForReuse;
0cb3699 Initial commit
Alex Rozanski authored
37
91307a8 @jivadevoe fixed a drag and drop issue related to focusing another window; added…
jivadevoe authored
38 -(void)layoutSubviews;
39
0cb3699 Initial commit
Alex Rozanski authored
40 @end
Something went wrong with that request. Please try again.