Mercurial > ecos
view packages/services/gfx/mw/current/src/mwin/winlib/insetr.c @ 3292:7f8e529b4d82 default tip
Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
| author | vae |
|---|---|
| date | Wed, 29 Apr 2015 23:31:48 +0000 |
| parents | e0c0827131d1 |
| children |
line wrap: on
line source
#include "windows.h" #include "wintools.h" /* * WIN Draw Library */ void WINAPI InsetR(LPRECT lprc,int h,int v) { lprc->top += v; lprc->left += h; lprc->right -= 2*h-1; lprc->bottom -= 2*v-1; }
