static void
setkdwinsize(void)
{
	int width, height;

	keydisp_getsize(&width, &height);
	drawmng_set_size(kdwin.hdl, width, height);
}
Beispiel #2
0
static void kdsetwinsize(void) {

	int			width;
	int			height;
	WINLOCEX	wlex;

	wlex = np2_winlocexallwin(hWndMain);
	winlocex_setholdwnd(wlex, kdispwin.hwnd);
	keydisp_getsize(&width, &height);
	winloc_setclientsize(kdispwin.hwnd, width, height);
	winlocex_move(wlex);
	winlocex_destroy(wlex);
}