mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18:50:48 +00:00
Use GSSlideView to implement image sliding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
36a79d34a5
commit
e8d11181e4
1 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,8 @@
|
||||||
#include <AppKit/NSWindow.h>
|
#include <AppKit/NSWindow.h>
|
||||||
#include <AppKit/GSDisplayServer.h>
|
#include <AppKit/GSDisplayServer.h>
|
||||||
|
|
||||||
|
#include "GSSlideView.h"
|
||||||
|
|
||||||
/* Display attributes */
|
/* Display attributes */
|
||||||
NSString * GSDisplayName = @"DisplayName";
|
NSString * GSDisplayName = @"DisplayName";
|
||||||
NSString * GSDisplayNumber = @"DisplayNumber";
|
NSString * GSDisplayNumber = @"DisplayNumber";
|
||||||
|
@ -370,8 +372,7 @@ GSCurrentServer(void)
|
||||||
|
|
||||||
- (BOOL) slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to
|
- (BOOL) slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
return [GSSlideView _slideImage: image from: from to: to];
|
||||||
return NO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) restrictWindow: (int)win toImage: (NSImage*)image
|
- (void) restrictWindow: (int)win toImage: (NSImage*)image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue