mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 11:40:47 +00:00
Transfer beep to GSDisplayServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
58ffd50370
commit
c5612d5943
4 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-06-03 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/GSDisplayServer.m (-beep): New method.
|
||||
* Source/NSGraphicsContext.m (-NSBeep): Use it.
|
||||
|
||||
2002-06-02 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
Add basic color picker bundles: the wheel color picker and the
|
||||
|
|
|
@ -87,6 +87,8 @@ APPKIT_DECLARE NSString * GSScreenNumber;
|
|||
|
||||
- (void *) serverDevice;
|
||||
- (void *) windowDevice: (int)win;
|
||||
|
||||
- (void) beep;
|
||||
@end
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
|
@ -423,6 +423,12 @@ GSCurrentServer(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/** Play the System Beep */
|
||||
- (void) beep
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
|
|
@ -1310,6 +1310,8 @@ NSGraphicsContext *GSCurrentContext()
|
|||
|
||||
@end
|
||||
|
||||
#include <AppKit/GSDisplayServer.h>
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* NSGraphics Ops */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
@ -1338,7 +1340,7 @@ NSGraphicsContext *GSCurrentContext()
|
|||
/** Play the System Beep */
|
||||
- (void) NSBeep
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
[GSCurrentServer() beep];
|
||||
}
|
||||
|
||||
/** This method is used by the backend, but has been rendered obsolete.
|
||||
|
|
Loading…
Reference in a new issue