|
|
| version 1.2, 2003/10/28 22:05:46 | version 1.9, 2007/11/11 07:11:27 |
|---|---|
| Line 1 | Line 1 |
| enum { | enum { |
| SKINMRU_MAX = 4, | |
| FDDLIST_DRV = 2, | FDDLIST_DRV = 2, |
| FDDLIST_MAX = 8 | FDDLIST_MAX = 8 |
| }; | }; |
| typedef struct { | typedef struct { |
| int insert; | int insert; |
| char name[FDDLIST_MAX][MAX_PATH]; | UINT cnt; |
| UINT pos[FDDLIST_MAX]; | |
| OEMCHAR name[FDDLIST_MAX][MAX_PATH]; | |
| } TOOLFDD; | } TOOLFDD; |
| typedef struct { | typedef struct { |
| int posx; | int posx; |
| int posy; | int posy; |
| BOOL type; | |
| TOOLFDD fdd[FDDLIST_DRV]; | TOOLFDD fdd[FDDLIST_DRV]; |
| OEMCHAR skin[MAX_PATH]; | |
| OEMCHAR skinmru[SKINMRU_MAX][MAX_PATH]; | |
| } NP2TOOL; | } NP2TOOL; |
| extern NP2TOOL np2tool; | extern NP2TOOL np2tool; |
| BOOL toolwin_initapp(HINSTANCE hInstance); | BOOL toolwin_initapp(HINSTANCE hInstance); |
| void toolwin_open(void); | void toolwin_create(HINSTANCE hInstance); |
| void toolwin_close(void); | void toolwin_destroy(void); |
| HWND toolwin_gethwnd(void); | |
| void toolwin_movingstart(void); | void toolwin_setfdd(UINT8 drv, const OEMCHAR *name); |
| void toolwin_movingend(void); | |
| void toolwin_setfdd(BYTE drv, const char *name); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| void toolwin_fddaccess(BYTE drv); | void toolwin_fddaccess(UINT8 drv); |
| void toolwin_hddaccess(BYTE drv); | void toolwin_hddaccess(UINT8 drv); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |
| void toolwin_draw(BYTE frame); | void toolwin_draw(UINT8 frame); |
| void toolwin_readini(void); | void toolwin_readini(void); |
| void toolwin_writeini(void); | void toolwin_writeini(void); |