--- np2/win9x/winloc.h 2003/10/31 04:11:40 1.2 +++ np2/win9x/winloc.h 2005/02/07 14:46:14 1.5 @@ -1,4 +1,9 @@ +void winloc_setclientsize(HWND hwnd, int width, int height); + + +// ---- + typedef struct { UINT flag; int gx; @@ -8,6 +13,37 @@ typedef struct { } WINLOC; void winloc_movingstart(WINLOC *wl); -void winloc_movingproc(WINLOC *wl, RECT *prc); +void winloc_movingproc(WINLOC *wl, RECT *rect); + + +// ---- + +typedef struct { + HWND hwnd; + RECT rect; + UINT8 connect; + UINT8 padding; + UINT16 parent; +} WLEXWND; + +typedef struct { + UINT flagx; + UINT flagy; + int gx; + int gy; + int tx; + int ty; + HWND base; + RECT rect; + HWND hold; + UINT holdflag; + UINT count; +} _WINLOCEX, *WINLOCEX; +WINLOCEX winlocex_create(HWND base, const HWND *child, UINT count); +void winlocex_destroy(WINLOCEX wle); +void winlocex_setholdwnd(WINLOCEX wle, HWND hold); +void winlocex_moving(WINLOCEX wle, RECT *rect); +void winlocex_move(WINLOCEX wle); +void winlocex_close(WINLOCEX wle);