mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
Implement beep in server
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13764 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8ad859197e
commit
d0ea4d0557
5 changed files with 18 additions and 10 deletions
|
@ -1,3 +1,11 @@
|
|||
2002-06-03 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/win32/WIN32Server.m (-beep): Implement
|
||||
* Source/winlib/WIN32Context.m (-NSBeep): Remove.
|
||||
|
||||
* Source/x11/XGServer.m (-beep): Implement.
|
||||
* Source/xlib/XGContext.m (-NSBeep): Remove.
|
||||
|
||||
2002-06-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/win32/WIN32Server.m
|
||||
|
|
|
@ -213,6 +213,11 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
|
|||
return (void *)win;
|
||||
}
|
||||
|
||||
- (void) beep
|
||||
{
|
||||
Beep(400, 500);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
static inline
|
||||
|
|
|
@ -80,9 +80,4 @@
|
|||
[gstate setOffset: NSMakePoint(x, y)];
|
||||
}
|
||||
|
||||
- (void) NSBeep
|
||||
{
|
||||
Beep(400, 500);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -506,4 +506,9 @@ extern int XGErrorHandler(Display *display, XErrorEvent *err);
|
|||
[[GSCurrentContext() class] waitAllContexts];
|
||||
}
|
||||
|
||||
- (void) beep
|
||||
{
|
||||
XBell(dpy, 50);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -122,11 +122,6 @@
|
|||
return nil;
|
||||
}
|
||||
|
||||
- (void) NSBeep
|
||||
{
|
||||
XBell([(XGServer *)server xDisplay], 50);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation XGContext (Ops)
|
||||
|
|
Loading…
Reference in a new issue