mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:00:38 +00:00
* Source/GSDisplayServer.m:
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Add a new API for taking screenshots: -contentsOfScreen:inRect: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33442 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
de89388c7f
commit
7a47a5e929
3 changed files with 18 additions and 0 deletions
|
@ -507,6 +507,15 @@ GSCurrentServer(void)
|
|||
return NSMakeSize(64.0, 64.0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a screenshot of the specified rectangle of the specified screen.
|
||||
* The mouse cursor should be ommitted from the returned image.
|
||||
*/
|
||||
- (NSImage *) contentsOfScreen: (int)screen inRect: (NSRect)rect
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue