[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...)

dreimer at svn.reactos.org dreimer at svn.reactos.org
Thu Jul 26 15:40:15 CEST 2007


Author: dreimer
Date: Thu Jul 26 17:40:15 2007
New Revision: 27839

URL: http://svn.reactos.org/svn/reactos?rev=27839&view=rev
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/Documentation/files/howto.html?rev=27839&r1=27838&r2=27839&view=diff
==============================================================================
--- 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 @@
 </head>
 <body>
 <ul style="list-style-type: none;padding: 0px;">
-	<li title="question">Q: How do I build ReactOS Source?</li>
-	<li title="Answer">
-		A: Start RosBE and type "make bootcd" or "make livecd" to generate
-		ReactOS ISO Files from the Source.
-	</li>
-	<li>&nbsp;</li>
-	
-	
-	
-	<li title="question">
-		Q: I have a Multi Core CPU. Can I speed up the build process anyhow?
-	</li>
-	<li title="Answer">
-		A: Yes, you can. Just use makex instead of make Command. makex checks
-		for the Number of Cores and optimizes the Processes to that number.
-	</li>
-	<li>&nbsp;</li>
-	
-	
-	<li title="question">Q: How/Where can I get the Source Code?</li>
-	<li title="Answer">
-		A: You could load it via any SVN Client from: 
-		<a href="svn://svn.reactos.org/reactos/trunk/reactos%20RosBE">
-			svn://svn.reactos.org/reactos/trunk/reactos RosBE
-		</a>
-		itself has SVN Command Line Client and a lite Variant for newbies called
-		"ssvn" (SimpleSVN) included. If you want to get the Source Tree, type
-		"ssvn create" and it copies all Code to the Default Source Folder you
-		did set while the Setup.
-	</li>
-	<li>&nbsp;</li>
-	
-	
-	<li title="question">Q: How can I update the Source Code?</li>
-	<li title="Answer">A: Just type "ssvn update".</li>
-	<li>&nbsp;</li>
-	
-	
-	<li title="Question">
-		Q: Can I see somewhere if my Source Tree is up to date?
-	</li>
-	<li title="Answer">A: Yes, just type "ssvn status".</li>
-	<li>&nbsp;</li>
-	
-	<li title="Question">
-		Q: My Source Tree is fucked up / Updating was aborted etc. etc. and now
-		I cannot update it anymore... What to do?
-	</li>
-	<li title="Answer">
-		A: You need to cleanup it. Type "ssvn cleanup" and wait. After that type
-		"ssvn update" and it runs again.
-	</li>
-	<li>&nbsp;</li>
+        <li title="question">Q: How do I build ReactOS Source?</li>
+        <li title="Answer">
+                A: Start RosBE and type "make bootcd" or "make livecd" to generate
+                ReactOS ISO Files from the Source.
+        </li>
+        <li>&nbsp;</li>
+        
+        
+        
+        <li title="question">
+                Q: I have a Multi Core CPU. Can I speed up the build process anyhow?
+        </li>
+        <li title="Answer">
+                A: Yes, you can. Just use makex instead of make Command. makex checks
+                for the Number of Cores and optimizes the Processes to that number.
+        </li>
+        <li>&nbsp;</li>
+        
+        
+        <li title="question">Q: How/Where can I get the Source Code?</li>
+        <li title="Answer">
+                A: You could load it via any SVN Client from: 
+                <a href="svn://svn.reactos.org/reactos/trunk/reactos">
+                        svn://svn.reactos.org/reactos/trunk/reactos</a>
+                
+                 &nbsp;RosBE itself has SVN Command Line Client and a lite Variant for newbies called
+                "ssvn" (SimpleSVN) included. If you want to get the Source Tree, type
+                "ssvn create" and it copies all Code to the Default Source Folder you
+                did set while the Setup.
+        </li>
+        <li>&nbsp;</li>
+        
+        
+        <li title="question">Q: How can I update the Source Code?</li>
+        <li title="Answer">A: Just type "ssvn update".</li>
+        <li>&nbsp;</li>
+        
+        
+        <li title="Question">
+                Q: Can I see somewhere if my Source Tree is up to date?
+        </li>
+        <li title="Answer">A: Yes, just type "ssvn status".</li>
+        <li>&nbsp;</li>
+        
+        <li title="Question">
+                Q: My Source Tree is fucked up / Updating was aborted etc. etc. and now
+                I cannot update it anymore... What to do?
+        </li>
+        <li title="Answer">
+                A: You need to cleanup it. Type "ssvn cleanup" and wait. After that type
+                "ssvn update" and it runs again.
+        </li>
+        <li>&nbsp;</li>
 </ul>
 </body>
 </html>

Modified: trunk/tools/RosBE-Windows/Root/test.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/test.cmd?rev=27839&r1=27838&r2=27839&view=diff
==============================================================================
--- 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 @@
 
 title Choose your Source Folder...
 
+if /I "%1"=="" (
+    goto :DEF
+) else (
+    set XY=%1
+    goto :RUN
+)
+goto :END
+
+:DEF
 echo Choose your Source Folder:
 SET /P XY=
+goto :RUN
+
+:RUN
 grep \"%XY%\" "%ROSBEBASEDIR%\srclist.xml"|cutz > "%ROSBEBASEDIR%\aaa.tmp"
 set /P dir=< "%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/config/options.c?rev=27839&r1=27838&r2=27839&view=diff
==============================================================================
--- 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;
 
 int
 WriteSettings(HWND hwnd)
@@ -61,6 +63,17 @@
     {
         case WM_INITDIALOG:
         {
+            HICON hIcon;
+
+            hIcon = 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 = 0; i < sizeof(Colors) / sizeof(char *); i++)
             {
                 SendMessage(GetDlgItem(Dlg, IDC_BACK), CB_ADDSTRING, 0, (LPARAM) (Colors[i]));
@@ -116,6 +129,8 @@
 int WINAPI
 WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
 {
+    hInstance = hInst;
+
     DialogBox(hInst, MAKEINTRESOURCE(ID_DIALOG), 0, DlgProc);
     return 0;
 }




More information about the Ros-diffs mailing list