home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
sa104os2.zip
/
SATHR104.ZIP
/
SATHER
/
CONTRIB
/
SCHNETTR
/
XLIB
/
WINDOW.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-28
|
1KB
|
60 lines
/* -*-C-*-
* access to the X Window System for Sather
* (c) 1994/11/03 - 1994/11/28 by Erik Schnetter
*/
#include <X11/X.h>
#include <X11/Xlib.h>
#include "../../System/header.h"
INT X_CreateSimpleWindow (Display* display, INT parent,
INT x, INT y, INT width, INT height,
INT border_width,
INT border, INT background)
{
return XCreateSimpleWindow (display, parent,
x, y, width, height,
border_width,
border, background);
}
void X_DestroyWindow (Display* display, INT window)
{
XDestroyWindow (display, window);
}
void X_MapWindow (Display* display, INT window)
{
XMapWindow (display, window);
}
void X_UnmapWindow (Display* display, INT window)
{
XUnmapWindow (display, window);
}
void X_SelectInput (Display* display, INT window, INT mask)
{
XSelectInput (display, window, mask);
}
void X_StoreName (Display* display, INT window, CHAR* name)
{
XStoreName (display, window, name);
}
void* X_FetchName (Display* display, INT window)
{
CHAR* ptr;
XFetchName (display, window, &ptr);
return ptr;
}