|
|
| version 1.1, 2003/10/29 14:02:35 | version 1.3, 2003/10/30 16:54:04 |
|---|---|
| Line 5 static const char np2tooltitle[] = "NP2 | Line 5 static const char np2tooltitle[] = "NP2 |
| static const char str_deffont[] = "£Í£Ó £Ð¥´¥·¥Ã¥¯"; | static const char str_deffont[] = "£Í£Ó £Ð¥´¥·¥Ã¥¯"; |
| static const char str_browse[] = "..."; | static const char str_browse[] = "..."; |
| static const char str_eject[] = "Eject"; | static const char str_eject[] = "Eject"; |
| static const char str_reset[] = "Reset"; | |
| static const char str_power[] = "Power"; | |
| static const char str_static[] = "STATIC"; | static const char str_static[] = "STATIC"; |
| static const char str_combobox[] = "COMBOBOX"; | static const char str_combobox[] = "COMBOBOX"; |
| static const char str_button[] = "BUTTON"; | static const char str_button[] = "BUTTON"; |
| static const SUBITEM defsubitem[IDC_MAXITEMS] = { | static const SUBITEM defsubitem[IDC_MAXITEMS] = { |
| {str_static, NULL, WS_VISIBLE, 47, 44, 8, 3, FALSE}, | {TCTL_STATIC, NULL, 47, 44, 8, 3, 0, 0}, |
| {str_static, NULL, WS_VISIBLE, 93, 19, 8, 3, FALSE}, | {TCTL_STATIC, NULL, 93, 19, 8, 3, 0, 0}, |
| {str_combobox, NULL, WS_VISIBLE | CBS_DROPDOWNLIST | WS_VSCROLL, | {TCTL_DDLIST, NULL, 104, 6, 248, 160, 0, 0}, |
| 104, 6, 248, 160, TRUE}, | {TCTL_BUTTON, str_browse, 352, 7, 18, 17, 0, 0}, |
| {str_button, str_browse, WS_VISIBLE | BS_PUSHBUTTON, | {TCTL_BUTTON, str_eject, 370, 7, 34, 17, 0, 0}, |
| 352, 7, 18, 17, TRUE}, | {TCTL_STATIC, NULL, 93, 41, 8, 3, 0, 0}, |
| {str_button, str_eject, WS_VISIBLE | BS_PUSHBUTTON, | {TCTL_DDLIST, NULL, 104, 28, 248, 160, 0, 0}, |
| 370, 7, 34, 17, TRUE}, | {TCTL_BUTTON, str_browse, 352, 29, 18, 17, 0, 0}, |
| {str_static, NULL, WS_VISIBLE, 93, 41, 8, 3, FALSE}, | {TCTL_BUTTON, str_eject, 370, 29, 34, 17, 0, 0}, |
| {str_combobox, NULL, WS_VISIBLE | CBS_DROPDOWNLIST | WS_VSCROLL, | {TCTL_BUTTON, str_reset, 0, 0, 0, 0, 0, 0}, |
| 104, 28, 248, 160, TRUE}, | {TCTL_BUTTON, str_power, 0, 0, 0, 0, 0, 0}}; |
| {str_button, str_browse, WS_VISIBLE | BS_PUSHBUTTON, | |
| 352, 29, 18, 17, TRUE}, | |
| {str_button, str_eject, WS_VISIBLE | BS_PUSHBUTTON, | |
| 370, 29, 34, 17, TRUE}}; | |
| // ---- | // ---- |
| static const char np2skin[] = "np2skin.ini"; | |
| static const char skintitle[] = "ToolWindow"; | static const char skintitle[] = "ToolWindow"; |
| static const INITBL skinini[] = { | static const INITBL skinini[] = { |
| Line 39 static const INITBL skinini[] = { | Line 35 static const INITBL skinini[] = { |
| {"FONTSIZE", INITYPE_SINT32, &toolskin.fontsize, 0}, | {"FONTSIZE", INITYPE_SINT32, &toolskin.fontsize, 0}, |
| {"COLOR1", INITYPE_HEX32, &toolskin.color1, 0}, | {"COLOR1", INITYPE_HEX32, &toolskin.color1, 0}, |
| {"COLOR2", INITYPE_HEX32, &toolskin.color2, 0}, | {"COLOR2", INITYPE_HEX32, &toolskin.color2, 0}, |
| {"HDDACC", INITYPE_ARGS16, &subitem[IDC_TOOLHDDACC].posx, 4}, | {"HDDACC", INITYPE_ARGS16, &subitem[IDC_TOOLHDDACC].posx, 5}, |
| {"FD1ACC", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1ACC].posx, 4}, | {"FD1ACC", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1ACC].posx, 5}, |
| {"FD1LIST", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1LIST].posx, 4}, | {"FD1LIST", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1LIST].posx, 5}, |
| {"FD1BROWSE", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1BROWSE].posx, 4}, | {"FD1BROWSE", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1BROWSE].posx, 5}, |
| {"FD1EJECT", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1EJECT].posx, 4}, | {"FD1EJECT", INITYPE_ARGS16, &subitem[IDC_TOOLFDD1EJECT].posx, 5}, |
| {"FD2ACC", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2ACC].posx, 4}, | {"FD2ACC", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2ACC].posx, 5}, |
| {"FD2LIST", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2LIST].posx, 4}, | {"FD2LIST", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2LIST].posx, 5}, |
| {"FD2BROWSE", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2BROWSE].posx, 4}, | {"FD2BROWSE", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2BROWSE].posx, 5}, |
| {"FD2EJECT", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2EJECT].posx, 4}}; | {"FD2EJECT", INITYPE_ARGS16, &subitem[IDC_TOOLFDD2EJECT].posx, 5}, |
| {"RESETBTN", INITYPE_ARGS16, &subitem[IDC_TOOLRESET].posx, 5}, | |
| {"POWERBTN", INITYPE_ARGS16, &subitem[IDC_TOOLPOWER].posx, 5}}; | |
| // static const DWORD mvccol[MVC_MAXCOLOR] = { | // static const DWORD mvccol[MVC_MAXCOLOR] = { |
| // 0xc0e8f8, 0xd8ecf4, 0x48a8c8, 0x000000}; | // 0xc0e8f8, 0xd8ecf4, 0x48a8c8, 0x000000}; |
| // ---- | |
| static const char str_skindef[] = "&Base Skin"; | |
| static const char str_skinsel[] = "&Load Skin..."; | |
| static const char str_toolclose[] = "&Close"; | |
| static const char skinui_title[] = "Select skin file"; | |
| static const char skinui_filter[] = \ | |
| "ini files (*.ini)\0*.ini\0" \ | |
| "text files (*.txt)\0*.txt\0" \ | |
| "All files (*.*)\0*.*\0"; | |
| static const char skinui_ext[] = "ini"; | |
| static const FILESEL skinui = {skinui_title, skinui_ext, skinui_filter, 1}; | |