File:  [RetroPC.NET] / np2 / win9x / winloc.h
Revision 1.4: download - view: text, annotated - select for diffs
Wed Nov 5 04:23:03 2003 JST (21 years, 11 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, VER_0_72, VER_0_71, VER_0_70, HEAD
fix Win9x UI (T.Yui)


void winloc_setclientsize(HWND hwnd, int width, int height);


// ----

typedef struct {
	UINT	flag;
	int		gx;
	int		gy;
	int		tx;
	int		ty;
} WINLOC;

void winloc_movingstart(WINLOC *wl);
void winloc_movingproc(WINLOC *wl, RECT *rect);


// ----

typedef struct {
	HWND	hwnd;
	RECT	rect;
	BYTE	connect;
	BYTE	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);


RetroPC.NET-CVS <cvs@retropc.net>