|
|
| version 1.3, 2004/06/19 17:28:29 | version 1.6, 2005/02/11 21:17:22 |
|---|---|
| Line 3 | Line 3 |
| #include "menubase.h" | #include "menubase.h" |
| #if !defined(CHARSET_OEM) || defined(OSLANG_SJIS) | #if !defined(RESOURCE_US) && (!defined(CHARSET_OEM) || defined(OSLANG_SJIS)) |
| const char mstr_fontcheck[] = " "; | const OEMCHAR mstr_fontcheck[] = " "; |
| const char mstr_ok[] = "OK"; | const OEMCHAR mstr_ok[] = "OK"; |
| // キャンセル | // キャンセル |
| const char mstr_cancel[] = "\267\254\335\276\331"; | const OEMCHAR mstr_cancel[] = "\267\254\335\276\331"; |
| // 中止 | // 中止 |
| const char mstr_abort[] = "\222\206\216\176"; | const OEMCHAR mstr_abort[] = "\222\206\216\176"; |
| // 再試行 | // 再試行 |
| const char mstr_retry[] = "\215\304\216\216\215\163"; | const OEMCHAR mstr_retry[] = "\215\304\216\216\215\163"; |
| // 無視 | // 無視 |
| const char mstr_ignore[] = "\226\263\216\213"; | const OEMCHAR mstr_ignore[] = "\226\263\216\213"; |
| // はい | // はい |
| const char mstr_yes[] = "\202\315\202\242"; | const OEMCHAR mstr_yes[] = "\202\315\202\242"; |
| // いいえ | // いいえ |
| const char mstr_no[] = "\202\242\202\242\202\246"; | const OEMCHAR mstr_no[] = "\202\242\202\242\202\246"; |
| #elif defined(OSLANG_EUC) | #elif defined(OSLANG_EUC) && !defined(RESOURCE_US) |
| const char mstr_fontcheck[] = " "; | const OEMCHAR mstr_fontcheck[] = " "; |
| const char mstr_ok[] = "OK"; | const OEMCHAR mstr_ok[] = "OK"; |
| // キャンセル | // キャンセル |
| const char mstr_cancel[] = "\216\267\216\254\216\335\216\276\216\331"; | const OEMCHAR mstr_cancel[] = "\216\267\216\254\216\335\216\276\216\331"; |
| // 中止 | // 中止 |
| const char mstr_abort[] = "\303\346\273\337"; | const OEMCHAR mstr_abort[] = "\303\346\273\337"; |
| // 再試行 | // 再試行 |
| const char mstr_retry[] = "\272\306\273\356\271\324"; | const OEMCHAR mstr_retry[] = "\272\306\273\356\271\324"; |
| // 無視 | // 無視 |
| const char mstr_ignore[] = "\314\265\273\353"; | const OEMCHAR mstr_ignore[] = "\314\265\273\353"; |
| // はい | // はい |
| const char mstr_yes[] = "\244\317\244\244"; | const OEMCHAR mstr_yes[] = "\244\317\244\244"; |
| // いいえ | // いいえ |
| const char mstr_no[] = "\244\244\244\244\244\250"; | const OEMCHAR mstr_no[] = "\244\244\244\244\244\250"; |
| #elif defined(OSLANG_UTF8) | #elif defined(OSLANG_UTF8) && !defined(RESOURCE_US) |
| const char mstr_fontcheck[] = " "; | const OEMCHAR mstr_fontcheck[] = " "; |
| const char mstr_ok[] = "OK"; | const OEMCHAR mstr_ok[] = "OK"; |
| // キャンセル | // キャンセル |
| const char mstr_cancel[] = "\357\275\267\357\275\254\357\276\235" \ | const OEMCHAR mstr_cancel[] = "\357\275\267\357\275\254\357\276\235" \ |
| "\357\275\276\357\276\231"; | "\357\275\276\357\276\231"; |
| // 中止 | // 中止 |
| const char mstr_abort[] = "\344\270\255\346\255\242"; | const OEMCHAR mstr_abort[] = "\344\270\255\346\255\242"; |
| // 再試行 | // 再試行 |
| const char mstr_retry[] = "\345\206\215\350\251\246\350\241\214"; | const OEMCHAR mstr_retry[] = "\345\206\215\350\251\246\350\241\214"; |
| // 無視 | // 無視 |
| const char mstr_ignore[] = "\347\204\241\350\246\226"; | const OEMCHAR mstr_ignore[] = "\347\204\241\350\246\226"; |
| // はい | // はい |
| const char mstr_yes[] = "\343\201\257\343\201\204"; | const OEMCHAR mstr_yes[] = "\343\201\257\343\201\204"; |
| // いいえ | // いいえ |
| const char mstr_no[] = "\343\201\204\343\201\204\343\201\210"; | const OEMCHAR mstr_no[] = "\343\201\204\343\201\204\343\201\210"; |
| #else | #else |
| const char mstr_fontcheck[] = " "; | const OEMCHAR mstr_fontcheck[] = OEMTEXT(" "); |
| const char mstr_ok[] = "OK"; | const OEMCHAR mstr_ok[] = OEMTEXT("OK"); |
| const char mstr_cancel[] = "Cancel"; | const OEMCHAR mstr_cancel[] = OEMTEXT("Cancel"); |
| const char mstr_abort[] = "Abort"; | const OEMCHAR mstr_abort[] = OEMTEXT("Abort"); |
| const char mstr_retry[] = "Retry"; | const OEMCHAR mstr_retry[] = OEMTEXT("Retry"); |
| const char mstr_ignore[] = "Ignore"; | const OEMCHAR mstr_ignore[] = OEMTEXT("Ignore"); |
| const char mstr_yes[] = "Yes"; | const OEMCHAR mstr_yes[] = OEMTEXT("Yes"); |
| const char mstr_no[] = "No"; | const OEMCHAR mstr_no[] = OEMTEXT("No"); |
| #endif | #endif |
| Line 65 const char mstr_no[] = "No"; | Line 65 const char mstr_no[] = "No"; |
| // ---- minimize, close | // ---- minimize, close |
| static const BYTE minimize1[4] = { // 12x10 | static const UINT8 minimize1[4] = { // 12x10 |
| 0x6d,0x66,0x96,0x00}; | 0x6d,0x66,0x96,0x00}; |
| const MENURES2 menures_minimize = {12, 10, minimize1}; | const MENURES2 menures_minimize = {12, 10, minimize1}; |
| static const BYTE close1[14] = { // 12x10 | static const UINT8 close1[14] = { // 12x10 |
| 0xe8,0x42,0x52,0x22,0x72,0x84,0x29,0x98,0x74,0x22,0x52,0x42,0x92, | 0xe8,0x42,0x52,0x22,0x72,0x84,0x29,0x98,0x74,0x22,0x52,0x42,0x92, |
| 0x0a}; | 0x0a}; |
| Line 80 const MENURES2 menures_close = {12, 10, | Line 80 const MENURES2 menures_close = {12, 10, |
| // ---- sys | // ---- sys |
| static const BYTE scheck[7] = { // 8x16 | static const UINT8 scheck[7] = { // 8x16 |
| 0xda,0x41,0x11,0x42,0x63,0xb1,0x0c}; | 0xda,0x41,0x11,0x42,0x63,0xb1,0x0c}; |
| static const BYTE snext[9] = { // 8x16 | static const UINT8 snext[9] = { // 8x16 |
| 0xc9,0x71,0x62,0x53,0x44,0x53,0x62,0xb1,0x03}; | 0xc9,0x71,0x62,0x53,0x44,0x53,0x62,0xb1,0x03}; |
| const MENURES2 menures_sys[2] = {{8, 16, scheck}, {8, 16, snext}}; | const MENURES2 menures_sys[2] = {{8, 16, scheck}, {8, 16, snext}}; |
| Line 91 const MENURES2 menures_sys[2] = {{8, 16, | Line 91 const MENURES2 menures_sys[2] = {{8, 16, |
| // ---- radio | // ---- radio |
| static const BYTE radio[43] = { // 12x12 | static const UINT8 radio[43] = { // 12x12 |
| 0x08,0x48,0x0a,0x44,0x58,0x44,0x07,0x54,0x85,0x51,0x25,0x00,0x54, | 0x08,0x48,0x0a,0x44,0x58,0x44,0x07,0x54,0x85,0x51,0x25,0x00,0x54, |
| 0x1a,0x23,0x40,0xc5,0x31,0x42,0xc5,0x31,0x42,0xc5,0x31,0x42,0xc5, | 0x1a,0x23,0x40,0xc5,0x31,0x42,0xc5,0x31,0x42,0xc5,0x31,0x42,0xc5, |
| 0x31,0x02,0x54,0x1a,0x23,0x00,0x34,0x83,0x31,0x23,0x07,0x22,0x38, | 0x31,0x02,0x54,0x1a,0x23,0x00,0x34,0x83,0x31,0x23,0x07,0x22,0x38, |
| 0x22,0x0a,0x28,0x08}; | 0x22,0x0a,0x28,0x08}; |
| static const BYTE radiog[43] = { // 12x12 | static const UINT8 radiog[43] = { // 12x12 |
| 0x08,0x48,0x0a,0x44,0x58,0x44,0x07,0x54,0x85,0x56,0x25,0x00,0x54, | 0x08,0x48,0x0a,0x44,0x58,0x44,0x07,0x54,0x85,0x56,0x25,0x00,0x54, |
| 0x6a,0x23,0x40,0xc5,0x36,0x42,0xc5,0x36,0x42,0xc5,0x36,0x42,0xc5, | 0x6a,0x23,0x40,0xc5,0x36,0x42,0xc5,0x36,0x42,0xc5,0x36,0x42,0xc5, |
| 0x36,0x02,0x54,0x6a,0x23,0x00,0x34,0x83,0x36,0x23,0x07,0x22,0x38, | 0x36,0x02,0x54,0x6a,0x23,0x00,0x34,0x83,0x36,0x23,0x07,0x22,0x38, |
| 0x22,0x0a,0x28,0x08}; | 0x22,0x0a,0x28,0x08}; |
| static const BYTE radiohit[7] = { // 12x12 | static const UINT8 radiohit[7] = { // 12x12 |
| 0x5b,0x82,0x49,0x88,0x84,0x29,0x5b}; | 0x5b,0x82,0x49,0x88,0x84,0x29,0x5b}; |
| const MENURES2 menures_radio[3] = {{12, 12, radio}, {12, 12, radiog}, | const MENURES2 menures_radio[3] = {{12, 12, radio}, {12, 12, radiog}, |
| Line 112 const MENURES2 menures_radio[3] = {{12, | Line 112 const MENURES2 menures_radio[3] = {{12, |
| // ---- check | // ---- check |
| static const BYTE checkhit[11] = { // 9x9 | static const UINT8 checkhit[11] = { // 9x9 |
| 0x09,0x71,0x22,0x31,0x23,0x12,0x33,0x55,0x73,0x81,0x0e}; | 0x09,0x71,0x22,0x31,0x23,0x12,0x33,0x55,0x73,0x81,0x0e}; |
| const MENURES2 menures_check = {9, 9, checkhit}; | const MENURES2 menures_check = {9, 9, checkhit}; |
| Line 120 const MENURES2 menures_check = {9, 9, ch | Line 120 const MENURES2 menures_check = {9, 9, ch |
| // ---- btn | // ---- btn |
| static const BYTE btnup[7] = { // 12x12 | static const UINT8 btnup[7] = { // 12x12 |
| 0x5b,0x81,0x3a,0x88,0x65,0xb7,0x03}; | 0x5b,0x81,0x3a,0x88,0x65,0xb7,0x03}; |
| static const BYTE btndn[7] = { // 12x12 | static const UINT8 btndn[7] = { // 12x12 |
| 0x2b,0x67,0x85,0x38,0xa8,0xb1,0x06}; | 0x2b,0x67,0x85,0x38,0xa8,0xb1,0x06}; |
| const MENURES2 menures_scrbtn[2] = {{12, 12, btnup}, {12, 12, btndn}}; | const MENURES2 menures_scrbtn[2] = {{12, 12, btnup}, {12, 12, btndn}}; |
| Line 132 const MENURES2 menures_scrbtn[2] = {{12, | Line 132 const MENURES2 menures_scrbtn[2] = {{12, |
| // ---- minimize, close | // ---- minimize, close |
| static const BYTE minimize1[3] = { // 8x8 | static const UINT8 minimize1[3] = { // 8x8 |
| 0x1b,0x85,0x0a}; | 0x1b,0x85,0x0a}; |
| const MENURES2 menures_minimize = {8, 8, minimize1}; | const MENURES2 menures_minimize = {8, 8, minimize1}; |
| static const BYTE close1[11] = { // 8x8 | static const UINT8 close1[11] = { // 8x8 |
| 0x98,0x31,0x41,0x11,0x61,0x61,0x11,0x41,0x31,0x91,0x02}; | 0x98,0x31,0x41,0x11,0x61,0x61,0x11,0x41,0x31,0x91,0x02}; |
| const MENURES2 menures_close = {8, 8, close1}; | const MENURES2 menures_close = {8, 8, close1}; |
| Line 146 const MENURES2 menures_close = {8, 8, cl | Line 146 const MENURES2 menures_close = {8, 8, cl |
| // ---- sys | // ---- sys |
| static const BYTE scheck[7] = { // 8x12 | static const UINT8 scheck[7] = { // 8x12 |
| 0x5a,0x41,0x11,0x42,0x63,0xa1,0x04}; | 0x5a,0x41,0x11,0x42,0x63,0xa1,0x04}; |
| static const BYTE snext[7] = { // 8x12 | static const UINT8 snext[7] = { // 8x12 |
| 0xb9,0x71,0x62,0x53,0x62,0xa1,0x04}; | 0xb9,0x71,0x62,0x53,0x62,0xa1,0x04}; |
| const MENURES2 menures_sys[2] = {{8, 12, scheck}, {8, 12, snext}}; | const MENURES2 menures_sys[2] = {{8, 12, scheck}, {8, 12, snext}}; |
| Line 157 const MENURES2 menures_sys[2] = {{8, 12, | Line 157 const MENURES2 menures_sys[2] = {{8, 12, |
| // ---- radio | // ---- radio |
| static const BYTE radio[40] = { // 11x11 | static const UINT8 radio[40] = { // 11x11 |
| 0x08,0x47,0x0a,0x44,0x57,0x44,0x07,0x54,0x75,0x51,0x25,0x00,0x54, | 0x08,0x47,0x0a,0x44,0x57,0x44,0x07,0x54,0x75,0x51,0x25,0x00,0x54, |
| 0x19,0x23,0x40,0xb5,0x31,0x42,0xb5,0x31,0x42,0xb5,0x31,0x02,0x54, | 0x19,0x23,0x40,0xb5,0x31,0x42,0xb5,0x31,0x42,0xb5,0x31,0x02,0x54, |
| 0x19,0x23,0x00,0x34,0x73,0x31,0x23,0x07,0x22,0x37,0x22,0x0a,0x27, | 0x19,0x23,0x00,0x34,0x73,0x31,0x23,0x07,0x22,0x37,0x22,0x0a,0x27, |
| 0x08}; | 0x08}; |
| static const BYTE radiog[40] = { // 11x11 | static const UINT8 radiog[40] = { // 11x11 |
| 0x08,0x47,0x0a,0x44,0x57,0x44,0x07,0x54,0x75,0x56,0x25,0x00,0x54, | 0x08,0x47,0x0a,0x44,0x57,0x44,0x07,0x54,0x75,0x56,0x25,0x00,0x54, |
| 0x69,0x23,0x40,0xb5,0x36,0x42,0xb5,0x36,0x42,0xb5,0x36,0x02,0x54, | 0x69,0x23,0x40,0xb5,0x36,0x42,0xb5,0x36,0x42,0xb5,0x36,0x02,0x54, |
| 0x69,0x23,0x00,0x34,0x73,0x36,0x23,0x07,0x22,0x37,0x22,0x0a,0x27, | 0x69,0x23,0x00,0x34,0x73,0x36,0x23,0x07,0x22,0x37,0x22,0x0a,0x27, |
| 0x08}; | 0x08}; |
| static const BYTE radiohit[6] = { // 11x11 | static const UINT8 radiohit[6] = { // 11x11 |
| 0x1b,0x81,0x39,0x98,0xb1,0x01}; | 0x1b,0x81,0x39,0x98,0xb1,0x01}; |
| const MENURES2 menures_radio[3] = {{11, 11, radio}, {11, 11, radiog}, | const MENURES2 menures_radio[3] = {{11, 11, radio}, {11, 11, radiog}, |
| Line 178 const MENURES2 menures_radio[3] = {{11, | Line 178 const MENURES2 menures_radio[3] = {{11, |
| // ---- check | // ---- check |
| static const BYTE checkhit[8] = { // 7x7 | static const UINT8 checkhit[8] = { // 7x7 |
| 0xc8,0x51,0x22,0x11,0x32,0x53,0x81,0x0b}; | 0xc8,0x51,0x22,0x11,0x32,0x53,0x81,0x0b}; |
| const MENURES2 menures_check = {7, 7, checkhit}; | const MENURES2 menures_check = {7, 7, checkhit}; |
| Line 186 const MENURES2 menures_check = {7, 7, ch | Line 186 const MENURES2 menures_check = {7, 7, ch |
| // ---- btn | // ---- btn |
| static const BYTE btnup[5] = { // 6x6 | static const UINT8 btnup[5] = { // 6x6 |
| 0x88,0x41,0x23,0x85,0x0d}; | 0x88,0x41,0x23,0x85,0x0d}; |
| static const BYTE btndn[4] = { // 6x6 | static const UINT8 btndn[4] = { // 6x6 |
| 0x56,0x32,0x14,0xf8}; | 0x56,0x32,0x14,0xf8}; |
| const MENURES2 menures_scrbtn[2] = {{6, 6, btnup}, {6, 6, btndn}}; | const MENURES2 menures_scrbtn[2] = {{6, 6, btnup}, {6, 6, btndn}}; |
| Line 200 const MENURES2 menures_scrbtn[2] = {{6, | Line 200 const MENURES2 menures_scrbtn[2] = {{6, |
| // ---- slider | // ---- slider |
| const BYTE menures_slddat[] = { | const UINT8 menures_slddat[] = { |
| 0x28,0x25,0x33,0x54,0x32,0x43,0x25,0x33,0x54,0x32,0x43,0x25,0x33, | 0x28,0x25,0x33,0x54,0x32,0x43,0x25,0x33,0x54,0x32,0x43,0x25,0x33, |
| 0x54,0x32,0x43,0x05,0x42,0x75,0x50,0x00, | 0x54,0x32,0x43,0x05,0x42,0x75,0x50,0x00, |