From f36ea8259f3c42798511887bc8d870f00bbaa9a1 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 23 Dec 2004 02:32:54 +0000 Subject: Latests LuaPatch dev'n'fixes --- luapatch.rc | 177 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 91 insertions(+), 86 deletions(-) (limited to 'luapatch.rc') diff --git a/luapatch.rc b/luapatch.rc index caf7682..406c3ec 100644 --- a/luapatch.rc +++ b/luapatch.rc @@ -27,8 +27,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // IDD_OPTIONS DIALOGEX 0, 0, 186, 81 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | - WS_SYSMENU +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | + WS_CAPTION | WS_SYSMENU CAPTION "Options" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN @@ -38,6 +38,58 @@ BEGIN WS_VSCROLL | WS_TABSTOP END +IDD_FILESELECT DIALOGEX 0, 0, 188, 194 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | + WS_CAPTION | WS_SYSMENU +CAPTION "LuaPatch" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "OK",IDOK,58,173,50,14,BS_FLAT + PUSHBUTTON "Quit",IDCANCEL,131,173,50,14,BS_FLAT + PUSHBUTTON "About",IDC_ABOUT,7,173,50,14,BS_FLAT + LTEXT "Source type:",IDC_ST_SOURCETYPE,7,7,174,11,WS_DISABLED + COMBOBOX IDC_SOURCETYPE,7,18,174,78,CBS_DROPDOWNLIST | + CBS_AUTOHSCROLL | WS_DISABLED | WS_VSCROLL | WS_TABSTOP + LTEXT "Source:",IDC_ST_SOURCE,7,40,174,8,WS_DISABLED + COMBOBOX IDC_DRIVE,7,50,174,55,CBS_DROPDOWNLIST | CBS_SORT | NOT + WS_VISIBLE | WS_DISABLED | WS_VSCROLL | WS_TABSTOP + LTEXT "Destination file:",IDC_ST_DEST,7,73,174,8,WS_DISABLED + EDITTEXT IDC_DEST,7,84,156,14,ES_AUTOHSCROLL | WS_DISABLED + PUSHBUTTON "...",IDC_DEST_SELECT,166,84,15,14,WS_DISABLED + LTEXT "Patch file:",IDC_ST_PATCH,7,110,174,8 + EDITTEXT IDC_PATCH,7,121,156,14,ES_AUTOHSCROLL + PUSHBUTTON "...",IDC_PATCH_SELECT,166,121,15,14 + EDITTEXT IDC_SOURCE,7,49,156,14,ES_AUTOHSCROLL | WS_DISABLED + PUSHBUTTON "...",IDC_SOURCE_SELECT,166,49,15,14,WS_DISABLED + LTEXT "",IDC_ST_PATCH_TITLE,7,144,174,8 + PUSHBUTTON "Options",IDC_OPTIONS,131,156,50,14,BS_FLAT | + WS_DISABLED + PUSHBUTTON "Infos",IDC_INFOS,7,156,50,14,BS_FLAT | WS_DISABLED +END + +IDD_ABOUT DIALOGEX 0, 0, 215, 106 +STYLE DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | + WS_POPUP | WS_CAPTION +EXSTYLE WS_EX_PALETTEWINDOW +CAPTION "About..." +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "OK",IDOK,7,85,50,14,BS_CENTER | BS_FLAT + CTEXT "LuaPatch version 0.4.0\nHand made special MFC version\n\nA CD patching system\n\nCopyrignt © 2003-2005 Nicolas ""Pixel"" Noble / NOBIS\n\nhttp://www.nobis-crew.org/luapatch/\nhttp://www.nobis-crew.org/", + IDC_ABOUTTEXT,7,7,201,77 +END + +IDD_INFOS DIALOGEX 0, 0, 479, 302 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | + WS_CAPTION | WS_SYSMENU +CAPTION "Informations" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + DEFPUSHBUTTON "OK",IDOK,165,281,50,14,BS_CENTER | BS_FLAT + EDITTEXT IDC_INFOS,7,7,465,268,ES_MULTILINE | ES_AUTOHSCROLL | + ES_READONLY | WS_VSCROLL | WS_HSCROLL +END + ///////////////////////////////////////////////////////////////////////////// // @@ -54,9 +106,46 @@ BEGIN TOPMARGIN, 7 BOTTOMMARGIN, 74 END + + IDD_FILESELECT, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 181 + TOPMARGIN, 7 + BOTTOMMARGIN, 187 + END + + IDD_ABOUT, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 208 + TOPMARGIN, 7 + BOTTOMMARGIN, 99 + END + + IDD_INFOS, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 472 + TOPMARGIN, 7 + BOTTOMMARGIN, 295 + END END #endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog Info +// + +IDD_FILESELECT DLGINIT +BEGIN + IDC_SOURCETYPE, 0x403, 6, 0 +0x7771, 0x2065, 0x002e, + 0 +END + #endif // Neutral resources ///////////////////////////////////////////////////////////////////////////// @@ -146,79 +235,6 @@ BEGIN END -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_FILESELECT DIALOGEX 0, 0, 188, 194 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | - WS_CAPTION | WS_SYSMENU -CAPTION "LuaPatch" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,58,173,50,14,BS_FLAT - PUSHBUTTON "Quit",IDCANCEL,131,173,50,14,BS_FLAT - PUSHBUTTON "About",IDC_ABOUT,7,173,50,14,BS_FLAT - LTEXT "Source type:",IDC_ST_SOURCETYPE,7,7,174,11,WS_DISABLED - COMBOBOX IDC_SOURCETYPE,7,18,174,78,CBS_DROPDOWNLIST | - CBS_AUTOHSCROLL | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - LTEXT "Source:",IDC_ST_SOURCE,7,40,174,8,WS_DISABLED - COMBOBOX IDC_DRIVE,7,50,174,55,CBS_DROPDOWNLIST | CBS_SORT | NOT - WS_VISIBLE | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - LTEXT "Destination file:",IDC_ST_DEST,7,73,174,8,WS_DISABLED - EDITTEXT IDC_DEST,7,84,156,14,ES_AUTOHSCROLL | WS_DISABLED - PUSHBUTTON "...",IDC_DEST_SELECT,166,84,15,14,WS_DISABLED - LTEXT "Patch file:",IDC_ST_PATCH,7,110,174,8 - EDITTEXT IDC_PATCH,7,121,156,14,ES_AUTOHSCROLL - PUSHBUTTON "...",IDC_PATCH_SELECT,166,121,15,14 - EDITTEXT IDC_SOURCE,7,49,156,14,ES_AUTOHSCROLL | WS_DISABLED - PUSHBUTTON "...",IDC_SOURCE_SELECT,166,49,15,14,WS_DISABLED - LTEXT "",IDC_ST_PATCH_TITLE,7,147,174,8 - PUSHBUTTON "Options",IDC_OPTIONS,131,158,50,14,BS_FLAT | - WS_DISABLED -END - -IDD_ABOUT DIALOGEX 0, 0, 215, 106 -STYLE DS_SYSMODAL | DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | - WS_POPUP | WS_CAPTION -EXSTYLE WS_EX_PALETTEWINDOW -CAPTION "About..." -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,7,85,50,14,BS_CENTER | BS_FLAT - CTEXT "LuaPatch version 0.4.0\nHand made special MFC version\n\nA CD patching system\n\nCopyrignt © 2003-2005 Nicolas ""Pixel"" Noble / NOBIS\n\nhttp://www.nobis-crew.org/luapatch/\nhttp://www.nobis-crew.org/", - IDC_ABOUTTEXT,7,7,201,77 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_FILESELECT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 181 - TOPMARGIN, 7 - BOTTOMMARGIN, 187 - END - - IDD_ABOUT, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 208 - TOPMARGIN, 7 - BOTTOMMARGIN, 99 - END -END -#endif // APSTUDIO_INVOKED - - ///////////////////////////////////////////////////////////////////////////// // // Icon @@ -227,17 +243,6 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_ICON ICON "cdrom.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_FILESELECT DLGINIT -BEGIN - IDC_SOURCETYPE, 0x403, 6, 0, 0x7771, 0x2065, 0x002e, 0 -END - #endif // Neutral (Sys. Default) resources ///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3