File:  [RetroPC.NET] / np2 / macosx / toolwin.h
Revision 1.2: download - view: text, annotated - select for diffs
Wed Mar 3 08:23:06 2004 JST (21 years, 7 months ago) by tk800
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, HEAD
support CoreMIDI and IA32[MacOSX] (tk800)

enum {
	SKINMRU_MAX			= 4,
	FDDLIST_DRV			= 2,
	FDDLIST_MAX			= 8
};

typedef struct {
	int		insert;
	UINT	cnt;
	UINT	pos[FDDLIST_MAX];
	char	name[FDDLIST_MAX][MAX_PATH];
} TOOLFDD;

typedef struct {
	int		posx;
	int		posy;
	TOOLFDD	fdd[FDDLIST_DRV];
	char	skin[MAX_PATH];
	char	skinmru[SKINMRU_MAX][MAX_PATH];
} NP2TOOL;

extern	NP2TOOL		np2tool;

void toolwin_open(void);
void toolwin_close(void);

void toolwin_movingstart(void);
void toolwin_movingend(void);
void toolwin_setfdd(BYTE drv, const char *name);

#ifdef __cplusplus
extern "C" {
#endif
void toolwin_fddaccess(BYTE drv);
void toolwin_hddaccess(BYTE drv);
#ifdef __cplusplus
}
#endif
void toolwin_draw(BYTE frame);

void toolwin_readini(void);
void toolwin_writeini(void);

OSErr setDropFile(FSSpec spec, int drv);


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