1 /** -*- mode: ObjC -*-
2   <title>GSSlideView</title>
3 
4    <abstract>View that is slid by NSWorkspace</abstract>
5 
6    Copyright (C) 2002 Free Software Foundation, Inc.
7 
8    Written By: <author name="Enrico Sersale"><email>enrico@imago.ro</email></author>
9    Date: Jan 2002
10 
11    This file is part of the GNU Objective C User Interface library.
12 
13    This library is free software; you can redistribute it and/or
14    modify it under the terms of the GNU Lesser General Public
15    License as published by the Free Software Foundation; either
16    version 2 of the License, or (at your option) any later version.
17 
18    This library is distributed in the hope that it will be useful,
19    but WITHOUT ANY WARRANTY; without even the implied warranty of
20    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
21    Lesser General Public License for more details.
22 
23    You should have received a copy of the GNU Lesser General Public
24    License along with this library; see the file COPYING.LIB.
25    If not, see <http://www.gnu.org/licenses/> or write to the
26    Free Software Foundation, 51 Franklin Street, Fifth Floor,
27    Boston, MA 02110-1301, USA.
28 */
29 
30 #import <Foundation/NSGeometry.h>
31 #import "AppKit/NSView.h"
32 
33 @class NSCell;
34 
35 @interface GSSlideView : NSView
36 {
37   NSCell *slideCell;
38 }
39 
40 + (BOOL) _slideImage: (NSImage*)image
41                 from: (NSPoint)fromPoint
42                   to: (NSPoint)toPoint;
43 @end
44