libs-back/Headers/x11/XGSlideView.h

44 lines
1.4 KiB
C
Raw Normal View History

/** -*- mode: ObjC -*-
<title>XGSlideView</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
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#include <AppKit/NSView.h>
#include <Foundation/NSGeometry.h>
#include "x11/XGServerWindow.h"
@class NSCell;
@interface XGSlideView : NSView
{
NSCell *slideCell;
gswindow_device_t *slideWindev;
}
+ (BOOL) _slideImage: (NSImage*)image
from: (NSPoint)fromPoint
to: (NSPoint)toPoint;
@end