2003-02-12 00:09:49 +00:00
|
|
|
/** -*- mode: ObjC -*-
|
|
|
|
<title>GSSlideView</title>
|
|
|
|
|
|
|
|
<abstract>View that is slid by NSWorkspace</abstract>
|
|
|
|
|
|
|
|
Copyright (C) 2002 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Written By: <author name="Enrico Sersale"><email>enrico@imago.ro</email></author>
|
|
|
|
Date: Jan 2002
|
|
|
|
|
|
|
|
This file is part of the GNU Objective C User Interface library.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with this library; if not, write to the Free
|
2005-05-26 02:52:46 +00:00
|
|
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
2003-02-12 00:09:49 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <Foundation/NSGeometry.h>
|
2003-06-13 15:01:12 +00:00
|
|
|
#include "AppKit/NSView.h"
|
2003-02-12 00:09:49 +00:00
|
|
|
|
|
|
|
@class NSCell;
|
|
|
|
|
|
|
|
@interface GSSlideView : NSView
|
|
|
|
{
|
|
|
|
NSCell *slideCell;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (BOOL) _slideImage: (NSImage*)image
|
|
|
|
from: (NSPoint)fromPoint
|
|
|
|
to: (NSPoint)toPoint;
|
|
|
|
@end
|