mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:10:38 +00:00
Finished off backend indepenend dragging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19546 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
36e5bff453
commit
c5023b12e4
5 changed files with 33 additions and 3 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "AppKit/NSImage.h"
|
||||
#include "AppKit/NSWindow.h"
|
||||
#include "GNUstepGUI/GSDisplayServer.h"
|
||||
#include "GNUstepGUI/GSDragView.h"
|
||||
|
||||
#include "GSSlideView.h"
|
||||
|
||||
|
@ -385,8 +386,7 @@ GSCurrentServer(void)
|
|||
protocol. */
|
||||
- (id <NSDraggingInfo>) dragInfo
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
return [GSDragView sharedDragView];
|
||||
}
|
||||
|
||||
- (BOOL) slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to
|
||||
|
@ -399,6 +399,14 @@ GSCurrentServer(void)
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (int) findWindowAt: (NSPoint)screenLocation
|
||||
windowRef: (int*)windowRef
|
||||
excluding: (int)win
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Screen information */
|
||||
/** Retuns the resolution, in points, for the indicated screen of the
|
||||
display. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue