From dreimer@svn.reactos.org Thu Jul 26 15:40:38 2007 From: dreimer@svn.reactos.org To: ros-diffs@reactos.org Subject: [ros-diffs] [dreimer] 27839: - Some fixes on Documentation and test.cmd - Add small Left Corner Icon to Config Tool. (thx to Colin Finck for showing me how much I still have to learn by sending me the REAL fix you can see here now. Mine had "nice" side effects...) Date: Thu, 26 Jul 2007 13:40:15 +0000 Message-ID: <20070726134016.33AC7FEFE@mail.smartxx.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3479422218138879768==" --===============3479422218138879768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: dreimer Date: Thu Jul 26 17:40:15 2007 New Revision: 27839 URL: http://svn.reactos.org/svn/reactos?rev=3D27839&view=3Drev Log: - Some fixes on Documentation and test.cmd - Add small Left Corner Icon to Config Tool. (thx to Colin Finck for showing = me how much I still have to learn by sending me the REAL fix you can see here= now. Mine had "nice" side effects...) Modified: trunk/tools/RosBE-Windows/Documentation/files/howto.html trunk/tools/RosBE-Windows/Root/test.cmd trunk/tools/RosBE-Windows/Tools/config/options.c Modified: trunk/tools/RosBE-Windows/Documentation/files/howto.html URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Documentati= on/files/howto.html?rev=3D27839&r1=3D27838&r2=3D27839&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/tools/RosBE-Windows/Documentation/files/howto.html (original) +++ trunk/tools/RosBE-Windows/Documentation/files/howto.html Thu Jul 26 17:40= :15 2007 @@ -7,59 +7,59 @@ Modified: trunk/tools/RosBE-Windows/Root/test.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/test.c= md?rev=3D27839&r1=3D27838&r2=3D27839&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/tools/RosBE-Windows/Root/test.cmd (original) +++ trunk/tools/RosBE-Windows/Root/test.cmd Thu Jul 26 17:40:15 2007 @@ -10,8 +10,20 @@ =20 title Choose your Source Folder... =20 +if /I "%1"=3D=3D"" ( + goto :DEF +) else ( + set XY=3D%1 + goto :RUN +) +goto :END + +:DEF echo Choose your Source Folder: SET /P XY=3D +goto :RUN + +:RUN grep \"%XY%\" "%ROSBEBASEDIR%\srclist.xml"|cutz > "%ROSBEBASEDIR%\aaa.tmp" set /P dir=3D< "%ROSBEBASEDIR%\aaa.tmp" del "%ROSBEBASEDIR%\aaa.tmp" Modified: trunk/tools/RosBE-Windows/Tools/config/options.c URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/confi= g/options.c?rev=3D27839&r1=3D27838&r2=3D27839&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/tools/RosBE-Windows/Tools/config/options.c (original) +++ trunk/tools/RosBE-Windows/Tools/config/options.c Thu Jul 26 17:40:15 2007 @@ -28,6 +28,8 @@ L"ochar", L"light grey", L"dark grey", L"light blue", L"light green", L"cyan", L"light red", L"magenta", L"yellow", L"white" }; + +HINSTANCE hInstance; =20 int WriteSettings(HWND hwnd) @@ -61,6 +63,17 @@ { case WM_INITDIALOG: { + HICON hIcon; + + hIcon =3D LoadImage( hInstance, + MAKEINTRESOURCE(ID_OPTICON), + IMAGE_ICON, + GetSystemMetrics(SM_CXSMICON), + GetSystemMetrics(SM_CYSMICON), + 0); + if(hIcon) + SendMessage(Dlg, WM_SETICON, ICON_SMALL, (LPARAM)hIcon); + for(i =3D 0; i < sizeof(Colors) / sizeof(char *); i++) { SendMessage(GetDlgItem(Dlg, IDC_BACK), CB_ADDSTRING, 0, (LPA= RAM) (Colors[i])); @@ -116,6 +129,8 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow) { + hInstance =3D hInst; + DialogBox(hInst, MAKEINTRESOURCE(ID_DIALOG), 0, DlgProc); return 0; } --===============3479422218138879768==--