Mercurial > hg > xemacs-beta
comparison pkg-src/tree-nx/TreeView.h @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
1 | |
2 #import <appkit/appkit.h> | |
3 #import "TreeButton.h" | |
4 | |
5 @interface TreeView:View | |
6 { | |
7 id currentButton; | |
8 id lineList; | |
9 id priorButton; | |
10 id selectedField; | |
11 id treeRoot; | |
12 | |
13 NXCoord currScale; | |
14 NXCoord origWidth; | |
15 NXCoord origHeight; | |
16 } | |
17 | |
18 - attachTree:aTree; | |
19 - buildTreeFromNode:aNode bottom:(double)ybot | |
20 top:(double)ytop atX:(double)xpos parent:(NXPoint *)pos; | |
21 - displayBut:but; | |
22 - displayButByName:sender; | |
23 - drawSelf:(NXRect *)rects :(int)rectCount; // standard rendering method | |
24 - getButByName:(const char*)name; | |
25 - initFrame:(const NXRect *)frameRect; | |
26 - scale:sender; | |
27 - setCurrentButton:but; | |
28 - setCurrButtonByName:sender; | |
29 | |
30 @end | |
31 | |
32 /* Color Dragging */ | |
33 | |
34 @interface TreeView(Drag) | |
35 | |
36 - registerForDragging; | |
37 - (NXDragOperation)draggingEntered:(id <NXDraggingInfo>)sender; | |
38 - (BOOL)prepareForDragOperation:(id <NXDraggingInfo>)sender; | |
39 - (BOOL)performDragOperation:(id <NXDraggingInfo>)sender; | |
40 - concludeDragOperation:(id <NXDraggingInfo>)sender; | |
41 | |
42 @end |