|
|
| version 1.10, 2005/02/07 14:46:14 | version 1.11, 2005/02/09 20:11:35 |
|---|---|
| Line 56 typedef struct { | Line 56 typedef struct { |
| static KDISPWIN kdispwin; | static KDISPWIN kdispwin; |
| static KDISPCFG kdispcfg; | static KDISPCFG kdispcfg; |
| static const char kdispapp[] = "Key Display"; | static const OEMCHAR kdispapp[] = OEMTEXT("Key Display"); |
| static const char kdispclass[] = "NP2-KeyDispWin"; | static const OEMCHAR kdispclass[] = OEMTEXT("NP2-KeyDispWin"); |
| static const char str_kdclose[] = "&Close"; | static const OEMCHAR str_kdclose[] = OEMTEXT("&Close"); |
| static const UINT32 kdisppal[KEYDISP_PALS] = | static const UINT32 kdisppal[KEYDISP_PALS] = |
| {0x00000000, 0xffffffff, 0xf9ff0000}; | {0x00000000, 0xffffffff, 0xf9ff0000}; |
| Line 386 void kdispwin_draw(UINT8 cnt) { | Line 386 void kdispwin_draw(UINT8 cnt) { |
| void kdispwin_readini(void) { | void kdispwin_readini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| ZeroMemory(&kdispcfg, sizeof(kdispcfg)); | ZeroMemory(&kdispcfg, sizeof(kdispcfg)); |
| kdispcfg.posx = CW_USEDEFAULT; | kdispcfg.posx = CW_USEDEFAULT; |
| kdispcfg.posy = CW_USEDEFAULT; | kdispcfg.posy = CW_USEDEFAULT; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_read(path, kdispapp, kdispini, NELEMENTS(kdispini)); | ini_read(path, kdispapp, kdispini, NELEMENTS(kdispini)); |
| } | } |
| void kdispwin_writeini(void) { | void kdispwin_writeini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_write(path, kdispapp, kdispini, NELEMENTS(kdispini)); | ini_write(path, kdispapp, kdispini, NELEMENTS(kdispini)); |
| } | } |
| #endif | #endif |
| Line 426 typedef struct { | Line 426 typedef struct { |
| static MDBGWIN mdbgwin; | static MDBGWIN mdbgwin; |
| static MDBGCFG mdbgcfg; | static MDBGCFG mdbgcfg; |
| static const char mdbgapp[] = "Memory Map"; | static const OEMCHAR mdbgapp[] = OEMTEXT("Memory Map"); |
| static const char mdbgclass[] = "NP2-MemDbgWin"; | static const OEMCHAR mdbgclass[] = OEMTEXT("NP2-MemDbgWin"); |
| static const INITBL mdbgini[] = { | static const INITBL mdbgini[] = { |
| {"WindposX", INITYPE_SINT32, &mdbgcfg.posx, 0}, | {"WindposX", INITYPE_SINT32, &mdbgcfg.posx, 0}, |
| {"WindposY", INITYPE_SINT32, &mdbgcfg.posy, 0}, | {"WindposY", INITYPE_SINT32, &mdbgcfg.posy, 0}, |
| Line 645 HWND mdbgwin_gethwnd(void) { | Line 645 HWND mdbgwin_gethwnd(void) { |
| void mdbgwin_readini(void) { | void mdbgwin_readini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| mdbgcfg.posx = CW_USEDEFAULT; | mdbgcfg.posx = CW_USEDEFAULT; |
| mdbgcfg.posy = CW_USEDEFAULT; | mdbgcfg.posy = CW_USEDEFAULT; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_read(path, mdbgapp, mdbgini, NELEMENTS(mdbgini)); | ini_read(path, mdbgapp, mdbgini, NELEMENTS(mdbgini)); |
| } | } |
| void mdbgwin_writeini(void) { | void mdbgwin_writeini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_write(path, mdbgapp, mdbgini, NELEMENTS(mdbgini)); | ini_write(path, mdbgapp, mdbgini, NELEMENTS(mdbgini)); |
| } | } |
| #endif | #endif |
| Line 683 typedef struct { | Line 683 typedef struct { |
| static SKBDWIN skbdwin; | static SKBDWIN skbdwin; |
| static SKBDCFG skbdcfg; | static SKBDCFG skbdcfg; |
| static const char skbdapp[] = "Soft Keyboard"; | static const OEMCHAR skbdapp[] = OEMTEXT("Soft Keyboard"); |
| static const char skbdclass[] = "NP2-SoftKBDWin"; | static const OEMCHAR skbdclass[] = OEMTEXT("NP2-SoftKBDWin"); |
| static const INITBL skbdini[] = { | static const INITBL skbdini[] = { |
| {"WindposX", INITYPE_SINT32, &skbdcfg.posx, 0}, | {"WindposX", INITYPE_SINT32, &skbdcfg.posx, 0}, |
| {"WindposY", INITYPE_SINT32, &skbdcfg.posy, 0}, | {"WindposY", INITYPE_SINT32, &skbdcfg.posy, 0}, |
| Line 922 void skbdwin_process(void) { | Line 922 void skbdwin_process(void) { |
| void skbdwin_readini(void) { | void skbdwin_readini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| skbdcfg.posx = CW_USEDEFAULT; | skbdcfg.posx = CW_USEDEFAULT; |
| skbdcfg.posy = CW_USEDEFAULT; | skbdcfg.posy = CW_USEDEFAULT; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_read(path, skbdapp, skbdini, NELEMENTS(skbdini)); | ini_read(path, skbdapp, skbdini, NELEMENTS(skbdini)); |
| } | } |
| void skbdwin_writeini(void) { | void skbdwin_writeini(void) { |
| char path[MAX_PATH]; | OEMCHAR path[MAX_PATH]; |
| initgetfile(path, sizeof(path)); | initgetfile(path, NELEMENTS(path)); |
| ini_write(path, skbdapp, skbdini, NELEMENTS(skbdini)); | ini_write(path, skbdapp, skbdini, NELEMENTS(skbdini)); |
| } | } |
| #endif | #endif |