mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +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
09c02037d7
commit
534869106f
1 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,8 @@
|
|||
#include <AppKit/NSWindow.h>
|
||||
#include <AppKit/GSDisplayServer.h>
|
||||
|
||||
#include "GSSlideView.h"
|
||||
|
||||
/* Display attributes */
|
||||
NSString * GSDisplayName = @"DisplayName";
|
||||
NSString * GSDisplayNumber = @"DisplayNumber";
|
||||
|
@ -370,8 +372,7 @@ GSCurrentServer(void)
|
|||
|
||||
- (BOOL) slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return NO;
|
||||
return [GSSlideView _slideImage: image from: from to: to];
|
||||
}
|
||||
|
||||
- (void) restrictWindow: (int)win toImage: (NSImage*)image
|
||||
|
|
Loading…
Reference in a new issue