home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
corlib
/
GposInit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-25
|
397b
|
20 lines
/* Copyright 1994-1995 H.Ogasawara(COR.) */
#include <sys_doslib.h>
#include <corlib.h>
#include <HS_wlib.h>
GposInit( wp )
WindowID wp;
{
if( WindowGetGraphicMode() != WindowAttrGraphic16 ){
int x, y;
WindowGetScreenPosition( wp, &x, &y );
if( GposSetOffset( x, y, HS_WindowGetSizeX(wp),
HS_WindowGetSizeY(wp) ) )
GposGraphicRedraw( wp );
}
return TRUE;
}