Author: pschweitzer
Date: Sat Nov 24 16:28:03 2007
New Revision: 30720
URL:
http://svn.reactos.org/svn/reactos?rev=30720&view=rev
Log:
Added help strings when mouse is over a control
Please check English translation
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/de-DE.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/en-US.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/fr-FR.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c
trunk/tools/RosBE/RosBE-Windows/Tools/config/resources.h
Modified: trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cha…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt Sat Nov 24 16:28:03 2007
@@ -2,6 +2,10 @@
- Updated: NASM to 2.00rc1 (Peter Ward)
- Updated: GDB to 6.7.5.20071121 (Peter Ward)
+
+- Updated RosBE Configuration Tool. (Pierre Schweitzer)
+ - Added help strings when mouse is over a control. (Pierre Schweitzer)
+
- Fix a bug in reladdr2line.cmd. (Peter Ward)
- Change the default ReactOS source directory from APPDATA\RosBE\Source to
PROFILE\reactos. (Peter Ward)
- Remove the installation and APPDATA\RosBE directories on uninstall which weren't
being removed. (Peter Ward)
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/de-DE.rc (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/de-DE.rc Sat Nov 24 16:28:03 2007
@@ -56,4 +56,17 @@
MSG_FINDMGWDIR, "Bitte wählen Sie den Ordner, in dem MinGW liegt:"
MSG_FINDOBJDIR, "Bitte wählen Sie den Ordner, in den Sie die OBJ Daten speichern
wollen:"
MSG_FINDOUTDIR, "Bitte wählen Sie den Ordner, in den Sie die OUT Daten speichern
wollen:"
+ /* Help Strings */
+ HLP_BACKCOLORC, "Choose background color for RosBE DOS windows"
+ HLP_FONTCOLORC, "Choose font color for RosBE DOS windows"
+ HLP_SBUILDTIME, "Lets you display time used for building at the end of
process"
+ HLP_CCACHEUSED, "Check if you want to use compiler cache"
+ HLP_STRIPEDEXE, "Check if you want to produice stripped executables"
+ HLP_FINDMGWDIR, "This parameter lets you define where is MingW located"
+ HLP_FINDLOGDIR, "This parameter lets you define where will be build logs
saved"
+ HLP_FINDOBJDIR, "This parameter lets you define where will be OBJ files
saved"
+ HLP_FINDOUTDIR, "This parameter lets you define where will be OUT files
saved"
+ HLP_SAVEBUTTON, "Activated when parameters changed, it quits with saving"
+ HLP_QUITBUTTON, "This button lets you quit configuration without saving"
+ HLP_DEFAULTMSG, "Go over a control to get help"
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/en-US.rc (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/en-US.rc Sat Nov 24 16:28:03 2007
@@ -56,4 +56,17 @@
MSG_FINDMGWDIR, "Please choose the directory where MingW is located:"
MSG_FINDOBJDIR, "Please choose the directory where you want to save OBJ Files
to:"
MSG_FINDOUTDIR, "Please choose the directory where you want to save OUT Files
to:"
+ /* Help Strings */
+ HLP_BACKCOLORC, "Choose background color for RosBE DOS windows"
+ HLP_FONTCOLORC, "Choose font color for RosBE DOS windows"
+ HLP_SBUILDTIME, "Lets you display time used for building at the end of
process"
+ HLP_CCACHEUSED, "Check if you want to use compiler cache"
+ HLP_STRIPEDEXE, "Check if you want to produice stripped executables"
+ HLP_FINDMGWDIR, "This parameter lets you define where is MingW located"
+ HLP_FINDLOGDIR, "This parameter lets you define where will be build logs
saved"
+ HLP_FINDOBJDIR, "This parameter lets you define where will be OBJ files
saved"
+ HLP_FINDOUTDIR, "This parameter lets you define where will be OUT files
saved"
+ HLP_SAVEBUTTON, "Activated when parameters changed, it quits with saving"
+ HLP_QUITBUTTON, "This button lets you quit configuration without saving"
+ HLP_DEFAULTMSG, "Go over a control to get help"
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/fr-FR.rc (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/fr-FR.rc Sat Nov 24 16:28:03 2007
@@ -56,4 +56,17 @@
MSG_FINDMGWDIR, "Veuillez sélectionner le répertoire où se situe MingW :"
MSG_FINDOBJDIR, "Veuillez choisir le répertoire où vous désirez sauver les
fichiers OBJ :"
MSG_FINDOUTDIR, "Veuillez choisir le répertoire où vous désirez sauver les
fichiers OUT :"
+ /* Help Strings */
+ HLP_BACKCOLORC, "Choisissez la couleur de fond pour les fenêtres DOS du
RosBE"
+ HLP_FONTCOLORC, "Choisissez la couleur du texte pour les fenêtres DOS du
RosBE"
+ HLP_SBUILDTIME, "Vous permet d'afficher à la fin de la compilation le temps
qu'elle a pris"
+ HLP_CCACHEUSED, "Cochez si vous désirez utiliser le cache de compilation"
+ HLP_STRIPEDEXE, "Cochez si vous désirez produire des exécutables optimisés"
+ HLP_FINDMGWDIR, "Ce paramètre vous permet de définir le repertoire où se situe
MingW"
+ HLP_FINDLOGDIR, "Ce paramètre vous permet de choisir où seront stockés les
journaux de compilation"
+ HLP_FINDOBJDIR, "Ce paramètre vous permet de choisir où seront stockés les
fichiers OBJ"
+ HLP_FINDOUTDIR, "Ce paramètre vous permet de choisir où seront stockés les
fichiers OUT"
+ HLP_SAVEBUTTON, "Activé en cas de changement de paramètres, permet de quitter en
sauvant"
+ HLP_QUITBUTTON, "Ce bouton vous permet de quitter la configuration sans
sauvegarder"
+ HLP_DEFAULTMSG, "Passez sur un contrôle pour avoir de l'aide"
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc Sat Nov 24 16:28:03 2007
@@ -58,4 +58,17 @@
MSG_FINDMGWDIR, "Óêàæèòå êàòàëîã ðàñïîëîæåíèÿ êîìïèëÿòîðà MinGW:"
MSG_FINDOBJDIR, "Óêàæèòå êàòàëîã ñîõðàíåíèÿ îáúåêòíûõ ôàéëîâ:"
MSG_FINDOUTDIR, "Óêàæèòå êàòàëîã ñîõðàíåíèÿ êîìïèëèðîâàííûõ ôàéëîâ:"
+ /* Help Strings */
+ HLP_BACKCOLORC, "Choose background color for RosBE DOS windows"
+ HLP_FONTCOLORC, "Choose font color for RosBE DOS windows"
+ HLP_SBUILDTIME, "Lets you display time used for building at the end of
process"
+ HLP_CCACHEUSED, "Check if you want to use compiler cache"
+ HLP_STRIPEDEXE, "Check if you want to produice stripped executables"
+ HLP_FINDMGWDIR, "This parameter lets you define where is MingW located"
+ HLP_FINDLOGDIR, "This parameter lets you define where will be build logs
saved"
+ HLP_FINDOBJDIR, "This parameter lets you define where will be OBJ files
saved"
+ HLP_FINDOUTDIR, "This parameter lets you define where will be OUT files
saved"
+ HLP_SAVEBUTTON, "Activated when parameters changed, it quits with saving"
+ HLP_QUITBUTTON, "This button lets you quit configuration without saving"
+ HLP_DEFAULTMSG, "Go over a control to get help"
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/options.c Sat Nov 24 16:28:03 2007
@@ -250,6 +250,91 @@
(StateObj) && (StateOut));
EnableWindow(GetDlgItem(hwnd, ID_OK), State);
+}
+
+BOOL CALLBACK EnumChildProc(HWND hwndChild, LPARAM lParam)
+{
+ if (hwndChild == (HWND)lParam)
+ {
+ HWND hwndParent;
+ LONG WindowID;
+ WCHAR HelpTxt[256];
+ hwndParent = GetParent(hwndChild);
+ WindowID = GetWindowLong(hwndChild, GWL_ID);
+ switch(WindowID)
+ {
+ case IDC_BACK:
+ {
+ LoadString(hInstance, HLP_BACKCOLORC, HelpTxt, 256);
+ break;
+ }
+ case IDC_FONT:
+ {
+ LoadString(hInstance, HLP_FONTCOLORC, HelpTxt, 256);
+ break;
+ }
+ case ID_SHOWBUILDTIME:
+ {
+ LoadString(hInstance, HLP_SBUILDTIME, HelpTxt, 256);
+ break;
+ }
+ case ID_USECCACHE:
+ {
+ LoadString(hInstance, HLP_CCACHEUSED, HelpTxt, 256);
+ break;
+ }
+ case ID_STRIP:
+ {
+ LoadString(hInstance, HLP_STRIPEDEXE, HelpTxt, 256);
+ break;
+ }
+ case ID_MGWDIR:
+ case ID_BROWSEMGW:
+ {
+ LoadString(hInstance, HLP_FINDMGWDIR, HelpTxt, 256);
+ break;
+ }
+ case ID_LOGDIR:
+ case ID_BROWSE:
+ case ID_SAVELOGS:
+ {
+ LoadString(hInstance, HLP_FINDLOGDIR, HelpTxt, 256);
+ break;
+ }
+ case ID_OBJDIR:
+ case ID_BROWSEOBJ:
+ case ID_OTHEROBJ:
+ {
+ LoadString(hInstance, HLP_FINDOBJDIR, HelpTxt, 256);
+ break;
+ }
+ case ID_OUTDIR:
+ case ID_BROWSEOUT:
+ case ID_OTHEROUT:
+ {
+ LoadString(hInstance, HLP_FINDOUTDIR, HelpTxt, 256);
+ break;
+ }
+ case ID_OK:
+ {
+ LoadString(hInstance, HLP_SAVEBUTTON, HelpTxt, 256);
+ break;
+ }
+ case ID_CANCEL:
+ {
+ LoadString(hInstance, HLP_QUITBUTTON, HelpTxt, 256);
+ break;
+ }
+ default:
+ {
+ LoadString(hInstance, HLP_DEFAULTMSG, HelpTxt, 256);
+ break;
+ }
+ }
+ SetDlgItemText(hwndParent, ID_STATUSBAR, HelpTxt);
+ return FALSE;
+ }
+ return TRUE;
}
INT_PTR CALLBACK
@@ -411,6 +496,12 @@
break;
}
+ case WM_SETCURSOR:
+ {
+ EnumChildWindows(Dlg, EnumChildProc, (LPARAM)wParam);
+ return FALSE;
+ }
+
case WM_DESTROY:
{
if (hIcon)
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/resources.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/resources.h (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/resources.h Sat Nov 24 16:28:03 2007
@@ -59,3 +59,18 @@
#define MSG_FINDMGWDIR 0x2c
#define MSG_FINDOBJDIR 0x2d
#define MSG_FINDOUTDIR 0x2e
+
+/* Help Strings */
+#define HLP_BACKCOLORC 0x2f
+#define HLP_FONTCOLORC 0x30
+#define HLP_SBUILDTIME 0x31
+#define HLP_CCACHEUSED 0x32
+#define HLP_STRIPEDEXE 0x33
+#define HLP_FINDMGWDIR 0x34
+#define HLP_FINDLOGDIR 0x35
+#define HLP_FINDOBJDIR 0x36
+#define HLP_FINDOUTDIR 0x37
+#define HLP_SAVEBUTTON 0x38
+#define HLP_QUITBUTTON 0x39
+#define HLP_DEFAULTMSG 0x3a
+