|
|
| version 1.4, 2004/03/26 06:47:11 | version 1.5, 2004/04/06 18:41:00 |
|---|---|
| Line 437 static const INITBL np2skini[] = { | Line 437 static const INITBL np2skini[] = { |
| {"WindposY", INITYPE_SINT32, &skbdcfg.posy, 0}, | {"WindposY", INITYPE_SINT32, &skbdcfg.posy, 0}, |
| {"windtype", INITYPE_BOOL, &skbdcfg.type, 0}}; | {"windtype", INITYPE_BOOL, &skbdcfg.type, 0}}; |
| static void skpalcnv(CMNPAL *dst, RGB32 *src, UINT pals, UINT bpp) { | static void skpalcnv(CMNPAL *dst, const RGB32 *src, UINT pals, UINT bpp) { |
| UINT i; | UINT i; |
| Line 485 static void skpaintmsg(HWND hWnd) { | Line 485 static void skpaintmsg(HWND hWnd) { |
| hdc = BeginPaint(hWnd, &ps); | hdc = BeginPaint(hWnd, &ps); |
| vram = dd2_bsurflock(skbdwin.dd2hdl); | vram = dd2_bsurflock(skbdwin.dd2hdl); |
| if (vram) { | if (vram) { |
| softkbd_paint(vram, skpalcnv); | softkbd_paint(vram, skpalcnv, TRUE); |
| dd2_bsurfunlock(skbdwin.dd2hdl); | dd2_bsurfunlock(skbdwin.dd2hdl); |
| dd2_blt(skbdwin.dd2hdl, NULL, &draw); | dd2_blt(skbdwin.dd2hdl, NULL, &draw); |
| } | } |