/[gnustep]/gnustep/usr-apps/gworkspace/GWLib/BMatrix.h
ViewVC logotype

Contents of /gnustep/usr-apps/gworkspace/GWLib/BMatrix.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Sep 29 13:20:28 2003 UTC (20 years, 6 months ago) by esersale
Branch: MAIN
Changes since 1.2: +1 -5 lines
File MIME type: text/plain
*** empty log message ***

1 /* BMatrix.h
2 *
3 * Copyright (C) 2003 Free Software Foundation, Inc.
4 *
5 * Author: Enrico Sersale <enrico@imago.ro>
6 * Date: August 2001
7 *
8 * This file is part of the GNUstep GWorkspace application
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 */
24
25
26 #ifndef BMATRIX_H_
27 #define BMATRIX_H_
28
29 #include <AppKit/NSMatrix.h>
30
31 @class BColumn;
32 @class Browser2;
33
34 @interface BMatrix : NSMatrix
35 {
36 BColumn *column;
37 Browser2 *browser;
38 id gworkspace;
39 BOOL acceptDnd;
40 NSCell *dndTarget;
41 unsigned int dragOperation;
42 }
43
44 - (id)initInColumn:(BColumn *)col
45 withFrame:(NSRect)frameRect
46 mode:(int)aMode
47 prototype:(NSCell *)aCell
48 numberOfRows:(int)numRows
49 numberOfColumns:(int)numColumns
50 acceptDnd:(BOOL)dnd;
51
52 - (NSArray *)getVisibleCellsAndTuneSpace:(float *)tspace;
53
54 - (NSArray *)getNamesOfVisibleCellsAndTuneSpace:(float *)tspace;
55
56 - (void)scrollToFirstPositionCell:(id)aCell withScrollTune:(float)vtune;
57
58 - (void)selectIconOfCell:(id)aCell;
59
60 - (void)unSelectIconsOfCellsDifferentFrom:(id)aCell;
61
62 @end
63
64 @interface BMatrix (DraggingSource)
65
66 - (void)startExternalDragOnEvent:(NSEvent *)event;
67
68 - (void)declareAndSetShapeOnPasteboard:(NSPasteboard *)pb;
69
70 - (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)flag;
71
72 @end
73
74 @interface BMatrix (DraggingDestination)
75
76 - (unsigned int)checkReturnValueForCell:(NSCell *)acell
77 withDraggingInfo:(id <NSDraggingInfo>)sender;
78
79 - (unsigned int)draggingEntered:(id <NSDraggingInfo>)sender;
80
81 - (unsigned int)draggingUpdated:(id <NSDraggingInfo>)sender;
82
83 - (void)draggingExited:(id <NSDraggingInfo>)sender;
84
85 - (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender;
86
87 - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
88
89 - (void)concludeDragOperation:(id <NSDraggingInfo>)sender;
90
91 @end
92
93 #endif // BMATRIX_H_

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26