/[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.2 - (show annotations) (download)
Mon Aug 25 17:19:13 2003 UTC (20 years, 7 months ago) by esersale
Branch: MAIN
Changes since 1.1: +19 -18 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 NSString *remoteHostName;
44 BOOL isRemote;
45 }
46
47 - (id)initInColumn:(BColumn *)col
48 withFrame:(NSRect)frameRect
49 mode:(int)aMode
50 prototype:(NSCell *)aCell
51 numberOfRows:(int)numRows
52 numberOfColumns:(int)numColumns
53 acceptDnd:(BOOL)dnd
54 remoteHost:(NSString *)rhost;
55
56 - (NSArray *)getVisibleCellsAndTuneSpace:(float *)tspace;
57
58 - (NSArray *)getNamesOfVisibleCellsAndTuneSpace:(float *)tspace;
59
60 - (void)scrollToFirstPositionCell:(id)aCell withScrollTune:(float)vtune;
61
62 - (void)selectIconOfCell:(id)aCell;
63
64 - (void)unSelectIconsOfCellsDifferentFrom:(id)aCell;
65
66 @end
67
68 @interface BMatrix (DraggingSource)
69
70 - (void)startExternalDragOnEvent:(NSEvent *)event;
71
72 - (void)declareAndSetShapeOnPasteboard:(NSPasteboard *)pb;
73
74 - (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)flag;
75
76 @end
77
78 @interface BMatrix (DraggingDestination)
79
80 - (unsigned int)checkReturnValueForCell:(NSCell *)acell
81 withDraggingInfo:(id <NSDraggingInfo>)sender;
82
83 - (unsigned int)draggingEntered:(id <NSDraggingInfo>)sender;
84
85 - (unsigned int)draggingUpdated:(id <NSDraggingInfo>)sender;
86
87 - (void)draggingExited:(id <NSDraggingInfo>)sender;
88
89 - (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender;
90
91 - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
92
93 - (void)concludeDragOperation:(id <NSDraggingInfo>)sender;
94
95 @end
96
97 #endif // BMATRIX_H_

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