mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:50:37 +00:00
TG: Add cursor position setter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28897 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
54fad95e5b
commit
acafc06269
3 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-10-27 Thomas Gamper <icicle@cg.tuwien.ac.at>
|
||||
|
||||
* Source/GSDisplayServer.m
|
||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h:
|
||||
Add cursor position setter (setMouseLocation:onScreen:).
|
||||
|
||||
2009-10-25 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSGradient.m (-drawInRect:angle:): Correct the math by
|
||||
|
|
|
@ -156,6 +156,7 @@ APPKIT_EXPORT NSString * GSScreenNumber;
|
|||
- (NSPoint) mouseLocationOnScreen: (int)aScreen window: (int *)win;
|
||||
- (BOOL) capturemouse: (int)win;
|
||||
- (void) releasemouse;
|
||||
- (void) setMouseLocation: (NSPoint)mouseLocation onScreen: (int)aScreen;
|
||||
- (void) hidecursor;
|
||||
- (void) showcursor;
|
||||
- (void) standardcursor: (int) style : (void**)cid;
|
||||
|
|
|
@ -860,6 +860,12 @@ GSCurrentServer(void)
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/** Set mouse cursor position. */
|
||||
- (void) setMouseLocation: (NSPoint)mouseLocation onScreen: (int)aScreen
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/** Hides the cursor */
|
||||
- (void) hidecursor
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue