annotate lisp/oobr/tree-nx/TreeView.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 #import <appkit/appkit.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 #import "TreeButton.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @interface TreeView:View
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 id currentButton;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 id lineList;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 id priorButton;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 id selectedField;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 id treeRoot;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 NXCoord currScale;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 NXCoord origWidth;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 NXCoord origHeight;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 - attachTree:aTree;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 - buildTreeFromNode:aNode bottom:(double)ybot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 top:(double)ytop atX:(double)xpos parent:(NXPoint *)pos;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 - displayBut:but;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 - displayButByName:sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 - drawSelf:(NXRect *)rects :(int)rectCount; // standard rendering method
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 - getButByName:(const char*)name;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 - initFrame:(const NXRect *)frameRect;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 - scale:sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 - setCurrentButton:but;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 - setCurrButtonByName:sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 @end
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 /* Color Dragging */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 @interface TreeView(Drag)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 - registerForDragging;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 - (NXDragOperation)draggingEntered:(id <NXDraggingInfo>)sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 - (BOOL)prepareForDragOperation:(id <NXDraggingInfo>)sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 - (BOOL)performDragOperation:(id <NXDraggingInfo>)sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 - concludeDragOperation:(id <NXDraggingInfo>)sender;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @end