mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 11:29:44 +00:00
Finally merge the 64 bit and 32 bit options tool and remove the 64 bit one.
svn path=/trunk/tools/RosBE/; revision=1141
This commit is contained in:
parent
3ebcff211f
commit
1d07e643dd
@ -9,11 +9,14 @@
|
||||
$host.ui.RawUI.WindowTitle = "Options"
|
||||
|
||||
|
||||
|
||||
if ("$ENV:ROS_ARCH" -eq "amd64") {
|
||||
$options="$_ROSBE_BASEDIR\Tools\options64.exe"
|
||||
$options="$_ROSBE_BASEDIR\Tools\options.exe"
|
||||
$param = "amd64"
|
||||
$cfgfile="$ENV:APPDATA\RosBE\rosbe-options-amd64.ps1"
|
||||
} else {
|
||||
$options="$_ROSBE_BASEDIR\Tools\options.exe"
|
||||
$param = $null
|
||||
$cfgfile="$ENV:APPDATA\RosBE\rosbe-options.ps1"
|
||||
}
|
||||
|
||||
@ -21,7 +24,7 @@ if ("$ENV:ROS_ARCH" -eq "amd64") {
|
||||
|
||||
if (Test-Path "$options") {
|
||||
Push-Location "$_ROSBE_BASEDIR"
|
||||
& "$options" | out-null
|
||||
&{IEX "& '$options' $param"} | out-null
|
||||
Pop-Location
|
||||
if (Test-Path "$cfgfile") {
|
||||
& "$cfgfile"
|
||||
|
@ -15,17 +15,19 @@ if %_ROSBE_DEBUG% == 1 (
|
||||
title Options
|
||||
|
||||
if "%ROS_ARCH%" == "amd64" (
|
||||
set options=%_ROSBE_BASEDIR%\Tools\options64.exe
|
||||
set options=%_ROSBE_BASEDIR%\Tools\options.exe
|
||||
set param=amd64
|
||||
set cfgfile=%APPDATA%\RosBE\rosbe-options-amd64.cmd
|
||||
) else (
|
||||
set options=%_ROSBE_BASEDIR%\Tools\options.exe
|
||||
set param=
|
||||
set cfgfile=%APPDATA%\RosBE\rosbe-options.cmd
|
||||
)
|
||||
|
||||
:: Run options.exe
|
||||
if exist "%options%" (
|
||||
pushd "%_ROSBE_BASEDIR%"
|
||||
call "%options%"
|
||||
call "%options%" %param%
|
||||
popd
|
||||
|
||||
if exist "%cfgfile%" (
|
||||
|
@ -124,30 +124,14 @@ Section -StartMenuShortcuts SEC02
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\ReactOS Build Environment 64-bit.lnk" "$SYSDIR\cmd.exe" '/t:0A /k "$INSTDIR\RosBE.cmd" amd64' "$INSTDIR\rosbe.ico"
|
||||
IfFileExists "$INSTDIR\RosBE.ps1" 0 +2
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\ReactOS Build Environment 64-bit - Powershell.lnk" "$SYSDIR\WindowsPowerShell\v1.0\powershell.exe" "-noexit &'$INSTDIR\RosBE.ps1' amd64" "$INSTDIR\rosbe.ico"
|
||||
IfFileExists "$INSTDIR\Tools\options.exe" 0 +2
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Options 64-bit.lnk" "$INSTDIR\Tools\options.exe" "amd64"
|
||||
SetOutPath $INSTDIR
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall RosBE - 64 Bit Target.lnk" \
|
||||
"$INSTDIR\Uninstall64-${PRODUCT_VERSION}.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
SectionEnd
|
||||
|
||||
Section /o "Config Tool" SEC03
|
||||
SetShellVarContext current
|
||||
SetOutPath "$INSTDIR"
|
||||
SetOverwrite try
|
||||
File /r Root\options.cmd
|
||||
IfFileExists "$INSTDIR\RosBE.ps1" 0 +3
|
||||
File /r Components\Powershell\options.ps1
|
||||
SetOutPath "$INSTDIR\Tools"
|
||||
SetOverwrite try
|
||||
File /r Components\Tools\options64.exe
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
|
||||
SetOutPath $INSTDIR
|
||||
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Options 64-bit.lnk" \
|
||||
"$INSTDIR\Tools\options64.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
SectionEnd
|
||||
|
||||
Section /o "Desktop Shortcuts" SEC04
|
||||
SetShellVarContext current
|
||||
|
||||
@ -203,8 +187,6 @@ Section Uninstall
|
||||
;; Clean up installed files.
|
||||
;;
|
||||
RMDir /r /REBOOTOK "$INSTDIR\amd64"
|
||||
Delete /REBOOTOK "$INSTDIR\Tools\options64.exe"
|
||||
Delete /REBOOTOK "$INSTDIR\Tools\options64.exe"
|
||||
Delete /REBOOTOK "$INSTDIR\Uninstall-${PRODUCT_VERSION}.exe"
|
||||
;; Whoever dares to change this back into: RMDir /r /REBOOTOK "$INSTDIR" will be KILLED!!!
|
||||
RMDir /REBOOTOK "$INSTDIR"
|
||||
|
@ -1,80 +0,0 @@
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "RosBE AMD64 Einstellungen"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Hintergrundfarbe", -1, 10, 10, 75, 12
|
||||
LTEXT "Schriftfarbe", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nBeispieltext", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "CCache benutzen", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Daten strippen", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Versions Header anzeigen", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Pfad zu MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Logs speichern", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Verzichnis für OBJ ändern", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Verzichnis für OUT ändern", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Speichern", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Abbrechen", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Willkommen!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Schwarz"
|
||||
CLR1, "Blau"
|
||||
CLR2, "Dunkelgrün"
|
||||
CLR3, "Türkis"
|
||||
CLR4, "Dunkelrot"
|
||||
CLR5, "Lila"
|
||||
CLR6, "Ockergelb"
|
||||
CLR7, "Grau"
|
||||
CLR8, "Dunkelgrau"
|
||||
CLR9, "Hellblau"
|
||||
CLR10, "Grün"
|
||||
CLR11, "Cyanblau"
|
||||
CLR12, "Rot"
|
||||
CLR13, "Magenta"
|
||||
CLR14, "Gelb"
|
||||
CLR15, "Weiß"
|
||||
MSG_NOGCCFOUND, "Kein MinGW/GCC Compiler gefunden! Bitte überprüfen Sie Ihren Pfad."
|
||||
MSG_CMDFFAILED, "rosbe-options.cmd konnte nicht erstellt werden!"
|
||||
MSG_PS1FFAILED, "rosbe-options.ps1 konnte nicht erstellt werden!"
|
||||
MSG_DIREFAILED, "Ordner konnte nicht erstellt werden!"
|
||||
MSG_SETLOADSUC, "Vorherige Einstellungen erfolgreich geladen."
|
||||
MSG_FINDLOGDIR, "Bitte wählen Sie einen Ordner, in dem die Logs gespeichert werden sollen:"
|
||||
MSG_FINDMGWDIR, "Bitte wählen Sie den Ordner, in dem MinGW/GCC 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:"
|
||||
MSG_WARNINGBOX, "Warnung"
|
||||
MSG_EXITCHANGE, "Sind Sie sicher, dass das Programm beenden wollen ohne zu speichern?"
|
||||
MSG_INVALIDDIR, "Der Ordner, den Sie eingegeben haben, existiert nicht. Wollen Sie ihn erstellen?"
|
||||
/* Help Strings */
|
||||
HLP_BACKCOLORC, "Auswählen der Hintergrundfarbe des RosBE DOS Fensters."
|
||||
HLP_FONTCOLORC, "Auswählen der Schriftfarbe des RosBE DOS Fensters."
|
||||
HLP_SBUILDTIME, "Ermöglicht das Anzeigen der Zeitdauer, die der Kompiliervorgang benötigte."
|
||||
HLP_CCACHEUSED, "Auswählen ob CCache genutzt werden soll."
|
||||
HLP_STRIPEDEXE, "Auswählen ob man Stripped Anwendungen erstellen will."
|
||||
HLP_FINDMGWDIR, "Dieser Parameter ermöglicht das Überschreiben des Standardpfades zu MinGW/GCC."
|
||||
HLP_FINDLOGDIR, "Dieser Parameter ermöglicht das überschreiben des Standardpfades in dem die Build Logs gespeichert werden."
|
||||
HLP_FINDOBJDIR, "Dieser Parameter ermöglicht das überschreiben des Standardpfades in dem die OBJ Daten gespeichert werden."
|
||||
HLP_FINDOUTDIR, "Dieser Parameter ermöglicht das überschreiben des Standardpfades in dem die OUT Daten gespeichert werden."
|
||||
HLP_SAVEBUTTON, "Aktiv, wenn Parameter verändert wurden. Beendet die Anwendung und speichert die Einstellungen."
|
||||
HLP_QUITBUTTON, "Dieser Button lässt Sie das Programm, ohne die Konfiguration zu speichern, beenden."
|
||||
HLP_DEFAULTMSG, "Bewegen Sie sich über eine Fläche um Hilfe zu erhalten."
|
||||
HLP_NOSTRIP, "Erzeugt Debuginformation für den ReactOS Debugger."
|
||||
HLP_VERSION, "Zeige die Versionen der RosBE Komponenten."
|
||||
END
|
@ -1,80 +0,0 @@
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "ReactOS AMD64 Build Environment Settings"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Background Color", -1, 10, 10, 75, 12
|
||||
LTEXT "Font Color", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nSample text", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Use CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Path to MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Save Logs", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Change Folder for OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Change Folder for OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Save", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancel", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Welcome!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Black"
|
||||
CLR1, "Blue"
|
||||
CLR2, "Green"
|
||||
CLR3, "Aqua"
|
||||
CLR4, "Red"
|
||||
CLR5, "Purple"
|
||||
CLR6, "Yellow"
|
||||
CLR7, "White"
|
||||
CLR8, "Gray"
|
||||
CLR9, "Light Blue"
|
||||
CLR10, "Light Green"
|
||||
CLR11, "Light Aqua"
|
||||
CLR12, "Light Red"
|
||||
CLR13, "Light Purple"
|
||||
CLR14, "Light Yellow"
|
||||
CLR15, "Bright White"
|
||||
MSG_NOGCCFOUND, "No MinGW/GCC found! Please check your directory."
|
||||
MSG_CMDFFAILED, "Failed to create rosbe-options.cmd!"
|
||||
MSG_PS1FFAILED, "Failed to create rosbe-options.ps1!"
|
||||
MSG_DIREFAILED, "Failed to create directory!"
|
||||
MSG_SETLOADSUC, "Previous settings loaded successfully."
|
||||
MSG_FINDLOGDIR, "Please choose a directory where the the logs should be stored:"
|
||||
MSG_FINDMGWDIR, "Please choose the directory where MinGW/GCC 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:"
|
||||
MSG_WARNINGBOX, "Warning"
|
||||
MSG_EXITCHANGE, "Are you sure you want to exit without saving?"
|
||||
MSG_INVALIDDIR, "The directory you entered doesn't exist. Do you want to create it?"
|
||||
/* 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 the total build time at the end of a build."
|
||||
HLP_CCACHEUSED, "Check if you want to use ccache (compiler cache)."
|
||||
HLP_STRIPEDEXE, "Check if you want to produce stripped executables."
|
||||
HLP_FINDMGWDIR, "This setting lets you define where MinGW/GCC is located."
|
||||
HLP_FINDLOGDIR, "This setting lets you define where build logs will be saved."
|
||||
HLP_FINDOBJDIR, "This setting lets you define where OBJ files will be saved."
|
||||
HLP_FINDOUTDIR, "This setting lets you define where OUT files will be saved."
|
||||
HLP_SAVEBUTTON, "Activated when a setting is changed, it quits and saves settings."
|
||||
HLP_QUITBUTTON, "This button lets you quit configuration without saving."
|
||||
HLP_DEFAULTMSG, "Hover over a control to get help."
|
||||
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,80 +0,0 @@
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Configuraci鏮 de ReactOS AMD64 Build Environment"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Color de fondo", -1, 10, 10, 75, 12
|
||||
LTEXT "Color de fuente", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nTexto ejemplo", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Mostrar tiempo de creaci鏮", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Usar CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Limpiar salida", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Cree archivos no limpios para depuraci鏮", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Ruta de MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Guardar Logs (Registros)", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Cambiar carpeta parar OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Cambiar carpeta para OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Guardar", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancelar", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "、ienvenido!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Negro"
|
||||
CLR1, "Azul"
|
||||
CLR2, "Verde"
|
||||
CLR3, "Turquesa"
|
||||
CLR4, "Rojo"
|
||||
CLR5, "Morado"
|
||||
CLR6, "Amarillo"
|
||||
CLR7, "Blanco"
|
||||
CLR8, "Gris"
|
||||
CLR9, "Azul claro"
|
||||
CLR10, "Verde claro"
|
||||
CLR11, "Turquesa claro"
|
||||
CLR12, "Rojo claro"
|
||||
CLR13, "MOrado claro"
|
||||
CLR14, "Amarillo claro"
|
||||
CLR15, "Blanco brillante"
|
||||
MSG_NOGCCFOUND, "﹑o se ha encontrado MinGW/GCC! Por favor, comprueba tu directorio."
|
||||
MSG_CMDFFAILED, ";allo al crear rosbe-options.cmd!"
|
||||
MSG_PS1FFAILED, ";allo al crear rosbe-options.ps1!"
|
||||
MSG_DIREFAILED, ";allo al crear directorio!"
|
||||
MSG_SETLOADSUC, "Opciones cargadas satisfactoriamente."
|
||||
MSG_FINDLOGDIR, "Por favor, seleccione un directorio donde los logs (registros) ser嫕 almacenados:"
|
||||
MSG_FINDMGWDIR, "Por favor, seleccione el directorio donde esta ubicado MinGW/GCC:"
|
||||
MSG_FINDOBJDIR, "Por favor, seleccione un directorio donde quiere guardar los archivos OBJ:"
|
||||
MSG_FINDOUTDIR, "Por favor, seleccione un directorio donde quiere guardar los archivos OUT:"
|
||||
MSG_WARNINGBOX, "Advertencia"
|
||||
MSG_EXITCHANGE, "激sta seguro de salir sin guardar los cambios?"
|
||||
MSG_INVALIDDIR, "El directorio que ha introducido no existe. 熹uiere crearlo?"
|
||||
/* Help Strings */
|
||||
HLP_BACKCOLORC, "Seleccione el color de fondo para la ventana Dos de RosBE."
|
||||
HLP_FONTCOLORC, "Seleccione el color para el texto en la ventana Dos de RosBE."
|
||||
HLP_SBUILDTIME, "Le muestra el tiempo total de compilaci鏮 al final de la misma."
|
||||
HLP_CCACHEUSED, "Seleccione si quiere usar (compilador cache)."
|
||||
HLP_STRIPEDEXE, "Seleccione si quiere producir ejecutables comprimidos stripped executables."
|
||||
HLP_FINDMGWDIR, "Esta opci鏮 le permite seleccionar donde est<73> ubicado MinGW/GCC."
|
||||
HLP_FINDLOGDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos logs (Registros) creados."
|
||||
HLP_FINDOBJDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos OBJ."
|
||||
HLP_FINDOUTDIR, "Esta opci鏮 le permite seleccionar donde se guardar嫕 los archivos OUT."
|
||||
HLP_SAVEBUTTON, "Se activa cuando la configuraci鏮 ha sido cambiada, cerra guardando los cambios."
|
||||
HLP_QUITBUTTON, "Este bot鏮 le permite salir de la configuraci鏮 sin guardar los cambios."
|
||||
HLP_DEFAULTMSG, "Situese sobre un control para obtener ayuda."
|
||||
HLP_NOSTRIP, "Crea informaci鏮 de depuraci鏮 para el ReactOS Debugger."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,80 +0,0 @@
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Paramètres de AMD64 l'Environnement de Compilation de ReactOS"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Couleur d'arrière plan", -1, 10, 10, 75, 12
|
||||
LTEXT "Couleur de la police", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nTexte d'exemple", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 125, 50, 120, 36
|
||||
CONTROL "Montrer le temps de compilation", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 110, 12
|
||||
CONTROL "Utiliser CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Optimiser les fichiers", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Chemin vers MinGW/GCC", -1, 10, 107, 110, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Sauvegarder le journal", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Changer de répertoire pour OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 150, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Changer de répertoire pour OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 150, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Sauvegarder", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annuler", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Bienvenue !", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Noir"
|
||||
CLR1, "Bleu"
|
||||
CLR2, "Vert"
|
||||
CLR3, "Turquoise"
|
||||
CLR4, "Rouge"
|
||||
CLR5, "Violet"
|
||||
CLR6, "Jaune"
|
||||
CLR7, "Blanc"
|
||||
CLR8, "Gris"
|
||||
CLR9, "Bleu Clair"
|
||||
CLR10, "Vert Clair"
|
||||
CLR11, "Turquoise Clair"
|
||||
CLR12, "Rouge Clair"
|
||||
CLR13, "Violet Clair"
|
||||
CLR14, "Jaune Clair"
|
||||
CLR15, "Blanc Brillant"
|
||||
MSG_NOGCCFOUND, "Impossible de trouver MinGW/GCC ! Veuillez vérifier votre répertoire."
|
||||
MSG_CMDFFAILED, "Impossible de créer rosbe-options.cmd !"
|
||||
MSG_PS1FFAILED, "Impossible de créer rosbe-options.ps1 !"
|
||||
MSG_DIREFAILED, "Impossible de créer le répertoire !"
|
||||
MSG_SETLOADSUC, "Paramètres précédents chargés avec succès."
|
||||
MSG_FINDLOGDIR, "Veuillez choisir le répertoire où seront stockés les journaux :"
|
||||
MSG_FINDMGWDIR, "Veuillez sélectionner le répertoire où se situe MingW/GCC :"
|
||||
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 :"
|
||||
MSG_WARNINGBOX, "Attention"
|
||||
MSG_EXITCHANGE, "Êtes-vous sûr de vouloir quitter sans sauvegarder ?"
|
||||
MSG_INVALIDDIR, "The directory you entered doesn't exist. Do you want to create it?"
|
||||
/* 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/GCC."
|
||||
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é quand un paramètre est changé, 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."
|
||||
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,80 +0,0 @@
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Ustawienia ReactOS AMD64 Build Environment"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Kolor tła", -1, 10, 10, 75, 12
|
||||
LTEXT "Kolor czcionki", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nPrzykładowy tekst", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Pokaż czas budowania", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Użyj CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Usuń dane debugowania", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Ścieżka do MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Zapisuj logi", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Zmień folder plików OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Zmień folder plików OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Zapisz", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Anuluj", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Witamy!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Czarny"
|
||||
CLR1, "Niebieski"
|
||||
CLR2, "Zielony"
|
||||
CLR3, "Morski"
|
||||
CLR4, "Czerwony"
|
||||
CLR5, "Fioletowy"
|
||||
CLR6, "Żółty"
|
||||
CLR7, "Jasnoszary"
|
||||
CLR8, "Szary"
|
||||
CLR9, "Jasnoniebieski"
|
||||
CLR10, "Jasnozielony"
|
||||
CLR11, "Jasny morski"
|
||||
CLR12, "Jasnoczerwony"
|
||||
CLR13, "Jasnofioletowy"
|
||||
CLR14, "Jasnożółty"
|
||||
CLR15, "Biały"
|
||||
MSG_NOGCCFOUND, "Nie znaleziono MinGW/GCC! Sprawdź nazwę folderu."
|
||||
MSG_CMDFFAILED, "Nie udało się stworzyć pliku rosbe-options.cmd!"
|
||||
MSG_PS1FFAILED, "Nie udało się stworzyć pliku rosbe-options.ps1!"
|
||||
MSG_DIREFAILED, "Nie powiodło się stworzenie folderu!"
|
||||
MSG_SETLOADSUC, "Załadowano ostatnio zapisane ustawienia."
|
||||
MSG_FINDLOGDIR, "Proszę wybrać folder, gdzie zostaną zapisane dzienniki budowania:"
|
||||
MSG_FINDMGWDIR, "Proszę wskazać folder, w którym znajduje się MinGW/GCC:"
|
||||
MSG_FINDOBJDIR, "Proszę wybrać folder, gdzie zostaną zapisane pliki OBJ:"
|
||||
MSG_FINDOUTDIR, "Proszę wybrać folder, gdzie zostaną zapisane pliki OUT:"
|
||||
MSG_WARNINGBOX, "Ostrzeżenie"
|
||||
MSG_EXITCHANGE, "Czy chcesz opuścić program bez zapisania zmian?"
|
||||
MSG_INVALIDDIR, "Podany folder nie istnieje. Czy chcesz go utworzyć?"
|
||||
/* Help Strings */
|
||||
HLP_BACKCOLORC, "Wybierz kolor tła dla RosBE DOS windows."
|
||||
HLP_FONTCOLORC, "Wybierz kolor czcionki dla RosBE DOS windows."
|
||||
HLP_SBUILDTIME, "Wyświetla całkowity czas budowania po jego zakończeniu."
|
||||
HLP_CCACHEUSED, "Zaznacz jeśli chcesz używać ccache (compiler cache)."
|
||||
HLP_STRIPEDEXE, "Zaznacz jeśli chcesz uzyskać mniejsze pliki wynikowe."
|
||||
HLP_FINDMGWDIR, "Tutaj możesz określić położenie MinGW/GCC."
|
||||
HLP_FINDLOGDIR, "Tutaj możesz określić miejsce, gdzie zostaną zapisane dzienniki budowania."
|
||||
HLP_FINDOBJDIR, "Tutaj możesz określić miejsce, gdzie zostaną zapisane pliki OBJ."
|
||||
HLP_FINDOUTDIR, "Tutaj możesz określić miejsce, gdzie zostaną zapisane pliki OUT (wynikowe)."
|
||||
HLP_SAVEBUTTON, "Przycisk aktywowany po zmianie ustawień, kończy działanie programu i zapisuje nowe ustawienia."
|
||||
HLP_QUITBUTTON, "Przycisk pozwala na wyjście bez zapisania ustawień."
|
||||
HLP_DEFAULTMSG, "Najedź na element, aby uzyskać pomoc."
|
||||
HLP_NOSTRIP, "Utwórz informacje debugowania dla Debuggera ReactOS."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,82 +0,0 @@
|
||||
// Russian language resource file (towerr, tumans@nm.ru 2007-10-17)
|
||||
|
||||
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Установки переменных компилятора ReactOS - AMD64"
|
||||
FONT 8,"MS Sans Serif",0,0
|
||||
BEGIN
|
||||
LTEXT "Цвет фона", -1, 10, 10, 75, 12
|
||||
LTEXT "Цвет шрифта", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nПример текста", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Отображать время компиляции", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Использовать кеширование", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Вырезать пустой код при компил.", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Оставлять в файлах информацию для возможности работы дебагера", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Путь к компилятору GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Вести логи", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Путь к каталогу объектов", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Путь к каталогу вывода", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Сохранить", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Отмена", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Введение", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Чёрный"
|
||||
CLR1, "Синий"
|
||||
CLR2, "Зеленый"
|
||||
CLR3, "Аква"
|
||||
CLR4, "Красный"
|
||||
CLR5, "Пурпурный"
|
||||
CLR6, "Жёлтый"
|
||||
CLR7, "Белый"
|
||||
CLR8, "Серый"
|
||||
CLR9, "Светло-голубой"
|
||||
CLR10, "Светло-зелёный"
|
||||
CLR11, "Светло-аква"
|
||||
CLR12, "Ярко-красный"
|
||||
CLR13, "Светло-пурпурный"
|
||||
CLR14, "Ярко-жёлтый"
|
||||
CLR15, "Ярко-белый"
|
||||
MSG_NOGCCFOUND, "Компилятор GCC не найден! Проверьте правильность установки."
|
||||
MSG_CMDFFAILED, "Невозможно создать файл rosbe-options.cmd"
|
||||
MSG_PS1FFAILED, "Невозможно создать файл rosbe-options.ps1"
|
||||
MSG_DIREFAILED, "Не удалось создать директорию!"
|
||||
MSG_SETLOADSUC, "Ранее сохраненные настройки загружены."
|
||||
MSG_FINDLOGDIR, "Укажите каталог сохранения лог-файлов:"
|
||||
MSG_FINDMGWDIR, "Укажите каталог расположения компилятора MinGW:"
|
||||
MSG_FINDOBJDIR, "Укажите каталог сохранения объектных файлов:"
|
||||
MSG_FINDOUTDIR, "Укажите каталог сохранения компилированных файлов:"
|
||||
MSG_WARNINGBOX, "Внимание!"
|
||||
MSG_EXITCHANGE, "Вы закрываете программу не сохранив настройки?"
|
||||
MSG_INVALIDDIR, "Указанная директория не существует. Создать ее?"
|
||||
/* Help Strings */
|
||||
HLP_BACKCOLORC, "Выберите цвет фона в окне консоли RosBE"
|
||||
HLP_FONTCOLORC, "Выберите цвет шрифта в окне консоли RosBE"
|
||||
HLP_SBUILDTIME, "Позволяет видеть время затраченное от начала до конца процесса компиляции"
|
||||
HLP_CCACHEUSED, "Отметьте если вы хотите использовать кеш компилятора"
|
||||
HLP_STRIPEDEXE, "Отметьте если вы хотите удалить неиспользуемый код из исполняемых файлов"
|
||||
HLP_FINDMGWDIR, "Этот параметр определяет расположение MinGW"
|
||||
HLP_FINDLOGDIR, "Этот параметр определяет место сохранения логов"
|
||||
HLP_FINDOBJDIR, "Этот параметр определяет место для хранения файлов объектных модулей"
|
||||
HLP_FINDOUTDIR, "Этот параметр определяет место для сохранения откомпилированных исполняемых файлов"
|
||||
HLP_SAVEBUTTON, "Активное состояние кнопки указывает на возможность сохранения измененных настроек"
|
||||
HLP_QUITBUTTON, "Это клавиша позволяет выйти без сохранения изменений"
|
||||
HLP_DEFAULTMSG, "Помощь по изначальным параметрам"
|
||||
HLP_NOSTRIP, "Компиляция файлов ReactOS'а с созданием информации для дебагера."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,88 +0,0 @@
|
||||
/*
|
||||
* PROJECT: Config Tool for ReactOS Build Environment
|
||||
* LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
* FILE: tools/RosBE/RosBE-Windows/Tools/config/lang/uk-UA.rc
|
||||
* PURPOSE: Ukraianian Language File for config
|
||||
* TRANSLATOR: Artem Reznikov
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
||||
|
||||
ID_DIALOG DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Óñòàíîâêè çì³ííèõ êîìï³ëÿòîðà ReactOS - AMD64"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Êîë³ð ôîíó", -1, 10, 10, 75, 12
|
||||
LTEXT "Êîë³ð øðèôòó", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nÇðàçîê òåêñòó", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "³äîáðàæàòè ÷àñ êîìï³ëÿö³¿", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Âèêîðèñòîâóâàòè CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Øëÿõ äî MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Âåñòè æóðíàë", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Çì³íèòè ïàïêó äëÿ OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Çì³íèòè ïàïêó äëÿ OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Çáåðåãòè", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Ñêàñóâàòè", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Ëàñêàâî ïðîñèìî!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "×îðíèé"
|
||||
CLR1, "Áëàêèòíèé"
|
||||
CLR2, "Çåëåíèé"
|
||||
CLR3, "Ìîðñüêà õâèëÿ"
|
||||
CLR4, "×åðâîíèé"
|
||||
CLR5, "Ïóðïóðíèé"
|
||||
CLR6, "Æîâòèé"
|
||||
CLR7, "Á³ëèé"
|
||||
CLR8, "ѳðèé"
|
||||
CLR9, "ßñíî-áëàêèòíèé"
|
||||
CLR10, "ßñíî-çåëåíèé"
|
||||
CLR11, "Ñâ³òëà ìîðñüêà õâèëÿ"
|
||||
CLR12, "ßñíî-÷åðâîíèé"
|
||||
CLR13, "ßñíî-ïóðïóðíèé"
|
||||
CLR14, "ßñíî-æîâòèé"
|
||||
CLR15, "ßñêðàâî-á³ëèé"
|
||||
MSG_NOGCCFOUND, "Íå çíàéäåíèé MinGW/GCC! Ïåðåâ³ðòå ñâîþ ïàïêó."
|
||||
MSG_CMDFFAILED, "Íåìîæëèâî ñòâîðèòè ôàéë rosbe-options.cmd!"
|
||||
MSG_PS1FFAILED, "Íåìîæëèâî ñòâîðèòè ôàéë rosbe-options.ps1!"
|
||||
MSG_DIREFAILED, "Íåìîæëèâî ñòâîðèòè ïàïêó!"
|
||||
MSG_SETLOADSUC, "Ïîïåðåäí³ íàñòðîéêè óñï³øíî çàâàíòàæåí³."
|
||||
MSG_FINDLOGDIR, "Âêàæ³òü ïàïêó äëÿ çáåðåæåííÿ ôàéë³â æóðíàëà:"
|
||||
MSG_FINDMGWDIR, "Âêàæ³òü ïàïêó, äå ðîçòàøîâàíèé êîìï³ëÿòîð MinGW/GCC:"
|
||||
MSG_FINDOBJDIR, "Âêàæ³òü ïàïêó äëÿ çáåðåæåííÿ îá'ºêòíèõ ôàéë³â OBJ:"
|
||||
MSG_FINDOUTDIR, "Âêàæ³òü ïàïêó äëÿ çáåðåæåííÿ çêîìï³ëüîâàíèõ ôàéë³â OUT:"
|
||||
MSG_WARNINGBOX, "Óâàãà!"
|
||||
MSG_EXITCHANGE, "Âè âïåâíåí³, ùî õî÷åòå âèéòè áåç çáåðåæåííÿ?"
|
||||
MSG_INVALIDDIR, "Ïàïêà, ÿêó âè âêàçàëè, íå ³ñíóº. Âè õî÷åòå ñòâîðèòè ¿¿?"
|
||||
/* Help Strings */
|
||||
HLP_BACKCOLORC, "Âèáåð³òü êîë³ð ôîíó äëÿ DOS â³êîí RosBE."
|
||||
HLP_FONTCOLORC, "Âèáåð³òü êîë³ð øðèôòó äëÿ DOS â³êîí RosBE."
|
||||
HLP_SBUILDTIME, "Äîçâîëÿº áà÷èòè ïîâíèé ÷àñ çáèðàííÿ â ê³íö³ êîìï³ëÿö³¿."
|
||||
HLP_CCACHEUSED, "³äçíà÷òå, ÿêùî âè õî÷åòå âèêîðèñòîâóâàòè ccache (êåø êîìï³ëÿòîðà)."
|
||||
HLP_STRIPEDEXE, "³äçíà÷òå, ÿêùî âè õî÷åòå âèäàëèòè íåâæèâàíèé êîä ç âèêîíóâàíèõ ôàéë³â."
|
||||
HLP_FINDMGWDIR, "Öåé ïàðàìåòð äîçâîëÿº âèçíà÷àòè ðîçòàøóâàííÿ MinGW/GCC."
|
||||
HLP_FINDLOGDIR, "Öåé ïàðàìåòð äîçâîëÿº âèçíà÷àòè ì³ñöå çáåðåæåííÿ æóðíàë³â êîìï³ëÿö³¿."
|
||||
HLP_FINDOBJDIR, "Öåé ïàðàìåòð äîçâîëÿº âèçíà÷àòè ì³ñöå çáåðåæåííÿ ôàéë³â îá'ºêòíèõ ìîäóë³â OBJ."
|
||||
HLP_FINDOUTDIR, "Öåé ïàðàìåòð äîçâîëÿº âèçíà÷àòè ì³ñöå çáåðåæåííÿ çêîìï³ëüîâàíèõ âèêîíóâàíèõ ôàéë³â OUT."
|
||||
HLP_SAVEBUTTON, "Àêòèâíèé ñòàí êíîïêè âêàçóº íà ìîæëèâ³ñòü çáåðåæåííÿ çì³íåíèõ ïàðàìåòð³â."
|
||||
HLP_QUITBUTTON, "Öå êíîïêà äîçâîëÿº âèéòè ç êîíô³ãóðóâàííÿ áåç çáåðåæåííÿ çì³í."
|
||||
HLP_DEFAULTMSG, "Íàâåä³òü âêàç³âíèê ìèø³ íà åëåìåíò êåðóâàííÿ, ùîá îòðèìàòè äîâ³äêó."
|
||||
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
|
||||
HLP_VERSION, "Show the Versions of the RosBE Components."
|
||||
END
|
@ -1,29 +0,0 @@
|
||||
TARGET := options64.exe
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
CC=gcc
|
||||
CFLAGS := -DWIN32 -DUNICODE -O2 -std=c99 -D_WIN32_IE=0x0400 -D_WIN32_WINNT=0x0500
|
||||
LFLAGS := -mwindows -s
|
||||
LIBS := -lshell32
|
||||
|
||||
SRCS := options64.c
|
||||
RC := options64.rc
|
||||
|
||||
OBJS := $(SRCS:.c=.o) $(RC:.rc=.coff)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
.c.o: $<
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(RC:.rc=.coff):
|
||||
windres $(RCFLAGS) -o $@ $(RC)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-@del $(TARGET)
|
||||
-@del $(OBJS)
|
@ -1,694 +0,0 @@
|
||||
/*
|
||||
* PROJECT: RosBE Options Dialog
|
||||
* LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
* FILE: Tools/config/options.c
|
||||
* PURPOSE: Configuring RosBE
|
||||
* COPYRIGHT: Copyright 2007 Maarten Bosma
|
||||
* Copyright 2007 Pierre Schweitzer
|
||||
*
|
||||
*/
|
||||
|
||||
#include "options64.h"
|
||||
|
||||
typedef struct _OPTIONS_DLG
|
||||
{
|
||||
HWND hwndDlg;
|
||||
HWND hwndToolTip;
|
||||
HICON hIcon;
|
||||
HFONT hFont;
|
||||
SETTINGS Settings;
|
||||
} OPTIONS_DLG, *POPTIONS_DLG;
|
||||
|
||||
HINSTANCE hInstance;
|
||||
|
||||
BOOL CreateDir(HWND hwnd, WCHAR* dir)
|
||||
{
|
||||
WCHAR msgerror[256];
|
||||
|
||||
if (0 > (LONG)GetFileAttributes(dir))
|
||||
{
|
||||
if (CreateDirectory(dir, NULL) == 0)
|
||||
{
|
||||
LoadString(hInstance, MSG_DIREFAILED, msgerror, 256);
|
||||
MessageBox(hwnd, msgerror, NULL, MB_ICONERROR);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static
|
||||
const
|
||||
WCHAR*
|
||||
getConfigFileCMD()
|
||||
{
|
||||
static WCHAR filename[MAX_PATH];
|
||||
if (SHGetSpecialFolderPathW(NULL, filename, CSIDL_APPDATA, FALSE))
|
||||
{
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options-amd64.cmd")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options-amd64.cmd");
|
||||
}
|
||||
else
|
||||
{
|
||||
wcscpy(filename, L"rosbe-options-amd64.cmd");
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
|
||||
static
|
||||
const
|
||||
WCHAR*
|
||||
getConfigFilePS1()
|
||||
{
|
||||
static WCHAR filename[MAX_PATH];
|
||||
if (SHGetSpecialFolderPathW(NULL, filename, CSIDL_APPDATA, FALSE))
|
||||
{
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options-amd64.ps1")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options-amd64.ps1");
|
||||
}
|
||||
else
|
||||
{
|
||||
wcscpy(filename, L"rosbe-options-amd64.ps1");
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
|
||||
INT
|
||||
WriteSettings(POPTIONS_DLG infoPtr)
|
||||
{
|
||||
INT foreground, background;
|
||||
BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
|
||||
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH], checkmgw[MAX_PATH];
|
||||
WCHAR msgerror[256];
|
||||
HANDLE hFile;
|
||||
FILE *pFilecmd, *pFileps1;
|
||||
|
||||
showtime = (SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWBUILDTIME, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
writelog = (SendDlgItemMessage(infoPtr->hwndDlg, ID_SAVELOGS, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
useccache = (SendDlgItemMessage(infoPtr->hwndDlg, ID_USECCACHE, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
strip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_STRIP, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
objstate = (SendDlgItemMessage(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL, 0, 0);
|
||||
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL, 0, 0);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_MGWDIR, mingwpath, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_OBJDIR, objdir, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_OUTDIR, outdir, MAX_PATH);
|
||||
|
||||
if (writelog && (logdir[0] != 0))
|
||||
if (!CreateDir(infoPtr->hwndDlg, logdir))
|
||||
return FALSE;
|
||||
|
||||
if (objstate && (objdir[0] != 0))
|
||||
if (!CreateDir(infoPtr->hwndDlg, objdir))
|
||||
return FALSE;
|
||||
|
||||
if (outstate && (outdir[0] != 0))
|
||||
if (!CreateDir(infoPtr->hwndDlg, outdir))
|
||||
return FALSE;
|
||||
|
||||
wcscpy(checkmgw, mingwpath);
|
||||
if ((wcslen(checkmgw) + wcslen(L"\\bin\\x86_64-w64-mingw32-gcc.exe")) < MAX_PATH)
|
||||
wcscat(checkmgw, L"\\bin\\x86_64-w64-mingw32-gcc.exe");
|
||||
hFile = CreateFile(checkmgw, 0, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
LoadString(hInstance, MSG_NOGCCFOUND, msgerror, 256);
|
||||
MessageBox(infoPtr->hwndDlg, msgerror, NULL, MB_ICONERROR);
|
||||
return FALSE;
|
||||
}
|
||||
CloseHandle(hFile);
|
||||
|
||||
pFilecmd = _wfopen(getConfigFileCMD(), L"w");
|
||||
pFileps1 = _wfopen(getConfigFilePS1(), L"w");
|
||||
|
||||
if (pFilecmd)
|
||||
{
|
||||
fwprintf(pFilecmd, L"::\n");
|
||||
fwprintf(pFilecmd, L":: This file has been automatically generated by the ReactOS\n");
|
||||
fwprintf(pFilecmd, L":: Build Environment options utility.\n");
|
||||
fwprintf(pFilecmd, L"::\n\n");
|
||||
fwprintf(pFilecmd, L"color %X%X\n", background, foreground);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_SHOWTIME=%d\n", showtime);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_USECCACHE=%d\n", useccache);
|
||||
if (strip == 1) {
|
||||
fwprintf(pFilecmd, L"set ROS_LEAN_AND_MEAN=yes\n");
|
||||
} else {
|
||||
fwprintf(pFilecmd, L"set ROS_LEAN_AND_MEAN=no\n");
|
||||
}
|
||||
if (nostrip == 1) {
|
||||
fwprintf(pFilecmd, L"set ROS_BUILDNOSTRIP=yes\n");
|
||||
} else {
|
||||
fwprintf(pFilecmd, L"set ROS_BUILDNOSTRIP=no\n");
|
||||
}
|
||||
fwprintf(pFilecmd, L"set _ROSBE_WRITELOG=%d\n", writelog);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_SHOWVERSION=%d\n", showversion);
|
||||
if (logdir[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_LOGDIR=%s\n", logdir);
|
||||
if (mingwpath[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_TARGET_MINGWPATH=%s\n", mingwpath);
|
||||
if ((objdir[0] != 0) && objstate) {
|
||||
fwprintf(pFilecmd, L"set ROS_INTERMEDIATE=%s\n", objdir);
|
||||
fwprintf(pFilecmd, L"set ROS_TEMPORARY=%s\n", objdir);
|
||||
}
|
||||
if ((outdir[0] != 0) && outstate) fwprintf(pFilecmd, L"set ROS_OUTPUT=%s\n", outdir);
|
||||
}
|
||||
|
||||
if (pFileps1)
|
||||
{
|
||||
fwprintf(pFileps1, L"#\n");
|
||||
fwprintf(pFileps1, L"# This file has been automatically generated by the ReactOS\n");
|
||||
fwprintf(pFileps1, L"# Build Environment options utility.\n");
|
||||
fwprintf(pFileps1, L"#\n\n");
|
||||
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.ForegroundColor = 0x%X\n", foreground);
|
||||
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.BackgroundColor = 0x%X\n", background);
|
||||
fwprintf(pFileps1, L"clear-host\n");
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_SHOWTIME = %d\n", showtime);
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_USECCACHE = %d\n", useccache);
|
||||
if (strip == 1) {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_LEAN_AND_MEAN = \"yes\"\n");
|
||||
} else {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_LEAN_AND_MEAN = \"no\"\n");
|
||||
}
|
||||
if (nostrip == 1) {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_BUILDNOSTRIP = \"yes\"\n");
|
||||
} else {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_BUILDNOSTRIP = \"no\"\n");
|
||||
}
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_WRITELOG = %d\n", writelog);
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_SHOWVERSION = %d\n", showversion);
|
||||
if (logdir[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_LOGDIR = \"%s\"\n", logdir);
|
||||
if (mingwpath[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_TARGET_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
if ((objdir[0] != 0) && objstate) {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_INTERMEDIATE = \"%s\"\n", objdir);
|
||||
fwprintf(pFileps1, L"$ENV:ROS_TEMPORARY = \"%s\"\n", objdir);
|
||||
}
|
||||
if ((outdir[0] != 0) && outstate) fwprintf(pFileps1, L"$ENV:ROS_OUTPUT = \"%s\"\n", outdir);
|
||||
}
|
||||
|
||||
if (pFilecmd && pFileps1)
|
||||
{
|
||||
fclose(pFilecmd);
|
||||
fclose(pFileps1);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (!pFilecmd)
|
||||
{
|
||||
fclose(pFilecmd);
|
||||
fclose(pFileps1);
|
||||
LoadString(hInstance, MSG_CMDFFAILED, msgerror, 256);
|
||||
MessageBox(infoPtr->hwndDlg, msgerror, NULL, MB_ICONERROR);
|
||||
}
|
||||
|
||||
if (!pFileps1)
|
||||
{
|
||||
fclose(pFilecmd);
|
||||
fclose(pFileps1);
|
||||
LoadString(hInstance, MSG_PS1FFAILED, msgerror, 256);
|
||||
MessageBox(infoPtr->hwndDlg, msgerror, NULL, MB_ICONERROR);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID LoadSettings(POPTIONS_DLG infoPtr)
|
||||
{
|
||||
FILE *pFile;
|
||||
WCHAR *ptr, *ptr2;
|
||||
WCHAR WTempLine[25+MAX_PATH];
|
||||
WCHAR SBTitle[256];
|
||||
PSETTINGS LoadedSettings = &infoPtr->Settings;
|
||||
|
||||
pFile = _wfopen(getConfigFileCMD(), L"r");
|
||||
if (pFile)
|
||||
{
|
||||
while (fgetws(WTempLine, 24+MAX_PATH, pFile))
|
||||
{
|
||||
ptr = wcstok(WTempLine, L" ");
|
||||
if (wcscmp(ptr, L"color") == 0)
|
||||
{
|
||||
ptr = wcstok(NULL, L" ");
|
||||
ptr[2] = ptr[1];
|
||||
ptr[1] = 0;
|
||||
LoadedSettings->background = wcstol(&ptr[0], NULL, 16);
|
||||
LoadedSettings->foreground = wcstol(&ptr[2], NULL, 16);
|
||||
}
|
||||
else if (wcscmp(ptr, L"set") == 0)
|
||||
{
|
||||
ptr = wcstok(NULL, L"\0");
|
||||
ptr = wcstok(ptr, L"=");
|
||||
ptr2 = wcstok(NULL, L"=");
|
||||
if (wcscmp(ptr, L"_ROSBE_SHOWTIME") == 0)
|
||||
LoadedSettings->showtime = wcstol(ptr2, NULL, 2);
|
||||
else if (wcscmp(ptr, L"_ROSBE_USECCACHE") == 0)
|
||||
LoadedSettings->useccache = wcstol(ptr2, NULL, 2);
|
||||
else if (wcscmp(ptr, L"ROS_LEAN_AND_MEAN") == 0)
|
||||
wcsncpy(LoadedSettings->lstrip, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"ROS_BUILDNOSTRIP") == 0)
|
||||
wcsncpy(LoadedSettings->lnostrip, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"_ROSBE_WRITELOG") == 0)
|
||||
LoadedSettings->writelog = wcstol(ptr2, NULL, 2);
|
||||
else if (wcscmp(ptr, L"_ROSBE_SHOWVERSION") == 0)
|
||||
LoadedSettings->showversion = wcstol(ptr2, NULL, 2);
|
||||
else if (wcscmp(ptr, L"_ROSBE_LOGDIR") == 0)
|
||||
wcsncpy(LoadedSettings->logdir, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"_ROSBE_TARGET_MINGWPATH") == 0)
|
||||
wcsncpy(LoadedSettings->mingwpath, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"ROS_INTERMEDIATE") == 0)
|
||||
wcsncpy(LoadedSettings->objdir, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"ROS_OUTPUT") == 0)
|
||||
wcsncpy(LoadedSettings->outdir, ptr2, wcslen(ptr2)-1);
|
||||
}
|
||||
}
|
||||
fclose(pFile);
|
||||
LoadString(hInstance, MSG_SETLOADSUC, SBTitle, 256);
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_STATUSBAR, SBTitle);
|
||||
}
|
||||
else
|
||||
{
|
||||
LoadedSettings->foreground = 0xb;
|
||||
LoadedSettings->background = 0;
|
||||
LoadedSettings->showtime = 1;
|
||||
LoadedSettings->writelog = 1;
|
||||
LoadedSettings->showversion = 0;
|
||||
GetCurrentDirectory(MAX_PATH, LoadedSettings->mingwpath);
|
||||
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION)) < MAX_PATH)
|
||||
wcscat(LoadedSettings->mingwpath, MINGWVERSION);
|
||||
|
||||
LoadString(hInstance, HLP_DEFAULTMSG, SBTitle, 256);
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_STATUSBAR, SBTitle);
|
||||
}
|
||||
|
||||
if (!wcscmp(LoadedSettings->lstrip, L"yes")) {
|
||||
LoadedSettings->strip = 1;
|
||||
} else {
|
||||
LoadedSettings->strip = 0;
|
||||
}
|
||||
if (!wcscmp(LoadedSettings->lnostrip, L"yes")) {
|
||||
LoadedSettings->nostrip = 1;
|
||||
} else {
|
||||
LoadedSettings->nostrip = 0;
|
||||
}
|
||||
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_SETCURSEL, LoadedSettings->foreground, 0);
|
||||
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_SETCURSEL, LoadedSettings->background, 0);
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWBUILDTIME, BM_SETCHECK, LoadedSettings->showtime, 0);
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWVERSION, BM_SETCHECK, LoadedSettings->showversion, 0);
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_SAVELOGS, BM_SETCHECK, LoadedSettings->writelog, 0);
|
||||
if (LoadedSettings->writelog)
|
||||
{
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_BROWSE), TRUE);
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_LOGDIR), TRUE);
|
||||
}
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_USECCACHE, BM_SETCHECK, LoadedSettings->useccache, 0);
|
||||
SendDlgItemMessageW(infoPtr->hwndDlg, ID_STRIP, BM_SETCHECK, LoadedSettings->strip, 0);
|
||||
SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_SETCHECK, LoadedSettings->nostrip, 0);
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_MGWDIR, LoadedSettings->mingwpath);
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_LOGDIR, LoadedSettings->logdir);
|
||||
if (LoadedSettings->objdir[0] != 0)
|
||||
{
|
||||
LoadedSettings->objstate = 1;
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_OBJDIR, LoadedSettings->objdir);
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_OTHEROBJ, BM_SETCHECK, BST_CHECKED, 0);
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_BROWSEOBJ), TRUE);
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_OBJDIR), TRUE);
|
||||
}
|
||||
if (LoadedSettings->outdir[0] != 0)
|
||||
{
|
||||
LoadedSettings->outstate = 1;
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_OUTDIR, LoadedSettings->outdir);
|
||||
SendDlgItemMessage(infoPtr->hwndDlg, ID_OTHEROUT, BM_SETCHECK, BST_CHECKED, 0);
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_BROWSEOUT), TRUE);
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_OUTDIR), TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
VOID SetSaveState(POPTIONS_DLG infoPtr)
|
||||
{
|
||||
INT foreground, background;
|
||||
BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
|
||||
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH];
|
||||
BOOL StateObj = TRUE, StateOut = TRUE, StateLog = TRUE, State = TRUE;
|
||||
PSETTINGS DefaultSettings = &infoPtr->Settings;
|
||||
|
||||
if (!wcscmp(DefaultSettings->lstrip, L"yes")) {
|
||||
DefaultSettings->strip = 1;
|
||||
} else {
|
||||
DefaultSettings->strip = 0;
|
||||
}
|
||||
if (!wcscmp(DefaultSettings->lnostrip, L"yes")) {
|
||||
DefaultSettings->nostrip = 1;
|
||||
} else {
|
||||
DefaultSettings->nostrip = 0;
|
||||
}
|
||||
|
||||
showtime = (SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWBUILDTIME, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
writelog = (SendDlgItemMessage(infoPtr->hwndDlg, ID_SAVELOGS, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
useccache = (SendDlgItemMessage(infoPtr->hwndDlg, ID_USECCACHE, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
strip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_STRIP, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
objstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL, 0, 0);
|
||||
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL, 0, 0);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_MGWDIR, mingwpath, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_OBJDIR, objdir, MAX_PATH);
|
||||
GetDlgItemTextW(infoPtr->hwndDlg, ID_OUTDIR, outdir, MAX_PATH);
|
||||
|
||||
if (objstate)
|
||||
if ((wcscmp(objdir, DefaultSettings->objdir) != 0) && (wcslen(objdir) > 0))
|
||||
StateObj = FALSE;
|
||||
if (outstate)
|
||||
if ((wcscmp(outdir, DefaultSettings->outdir) != 0) && (wcslen(outdir) > 0))
|
||||
StateOut = FALSE;
|
||||
if (writelog)
|
||||
if ((wcscmp(logdir, DefaultSettings->logdir) != 0) && (wcslen(logdir) > 0))
|
||||
StateLog = FALSE;
|
||||
|
||||
State ^= ((foreground == DefaultSettings->foreground) && (background == DefaultSettings->background) &&
|
||||
(showtime == DefaultSettings->showtime) && (writelog == DefaultSettings->writelog) &&
|
||||
(useccache == DefaultSettings->useccache) && (strip == DefaultSettings->strip) &&
|
||||
(objstate == DefaultSettings->objstate) && (outstate == DefaultSettings->outstate) &&
|
||||
(StateLog) && (wcscmp(mingwpath, DefaultSettings->mingwpath) == 0) &&
|
||||
(StateObj) && (StateOut) && (nostrip == DefaultSettings->nostrip) && (showversion == DefaultSettings->showversion));
|
||||
|
||||
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_OK), State);
|
||||
}
|
||||
|
||||
INT CALLBACK
|
||||
BrowseProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
HWND hwndParent;
|
||||
hwndParent = GetWindow(Dlg, GW_OWNER);
|
||||
switch (Msg)
|
||||
{
|
||||
case BFFM_INITIALIZED:
|
||||
{
|
||||
WCHAR ActualPath[MAX_PATH];
|
||||
GetDlgItemText(hwndParent, (INT) lParam, ActualPath, MAX_PATH);
|
||||
SendMessage(Dlg, BFFM_SETSELECTION, TRUE, (LPARAM)ActualPath);
|
||||
break;
|
||||
}
|
||||
case BFFM_VALIDATEFAILED:
|
||||
{
|
||||
if (lParam != ID_MGWDIR)
|
||||
{
|
||||
WCHAR BoxMsg[256], BoxTitle[128];
|
||||
size_t PathLen;
|
||||
LoadString(hInstance, MSG_WARNINGBOX, BoxTitle, 128);
|
||||
LoadString(hInstance, MSG_INVALIDDIR, BoxMsg, 256);
|
||||
if (MessageBox(Dlg, BoxMsg, BoxTitle, MB_ICONWARNING | MB_YESNO) == IDYES)
|
||||
{
|
||||
PathLen = wcslen((LPWSTR)wParam);
|
||||
if (wcscmp((LPWSTR)wParam+PathLen, L"\\"))
|
||||
wcsset((LPWSTR)wParam+(PathLen-1), '\0');
|
||||
if (CreateDirectory((LPWSTR)wParam, NULL) == 0)
|
||||
{
|
||||
LoadString(hInstance, MSG_DIREFAILED, BoxMsg, 256);
|
||||
MessageBox(Dlg, BoxMsg, NULL, MB_ICONERROR);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetDlgItemText(hwndParent, (INT) lParam, (LPWSTR)wParam);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static VOID
|
||||
AssociateToolWithControl(POPTIONS_DLG infoPtr, int ControlId, UINT StringId)
|
||||
{
|
||||
HWND hwndControl;
|
||||
TOOLINFO ti;
|
||||
|
||||
hwndControl = GetDlgItem(infoPtr->hwndDlg, ControlId);
|
||||
if (infoPtr->hwndToolTip && hwndControl)
|
||||
{
|
||||
ZeroMemory(&ti, sizeof(ti));
|
||||
ti.cbSize = sizeof(ti);
|
||||
ti.uFlags = TTF_IDISHWND | TTF_SUBCLASS;
|
||||
ti.hwnd = infoPtr->hwndDlg;
|
||||
ti.uId = (UINT_PTR)hwndControl;
|
||||
ti.hinst = hInstance;
|
||||
ti.lpszText = MAKEINTRESOURCE(StringId);
|
||||
|
||||
SendMessage(infoPtr->hwndToolTip, TTM_ADDTOOL, 0, (LPARAM)&ti);
|
||||
}
|
||||
}
|
||||
|
||||
INT_PTR CALLBACK
|
||||
DlgProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
POPTIONS_DLG infoPtr = NULL;
|
||||
|
||||
if (Msg != WM_INITDIALOG)
|
||||
{
|
||||
infoPtr = (POPTIONS_DLG)GetWindowLongPtr(Dlg, DWLP_USER);
|
||||
if (infoPtr == NULL)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
switch (Msg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
static const struct {
|
||||
int ControlId;
|
||||
UINT StringId;
|
||||
} ToolTipAssociations[] = {
|
||||
{IDC_BACK, HLP_BACKCOLORC},
|
||||
{IDC_FONT, HLP_FONTCOLORC},
|
||||
{ID_SHOWBUILDTIME, HLP_SBUILDTIME},
|
||||
{ID_USECCACHE, HLP_CCACHEUSED},
|
||||
{ID_STRIP, HLP_STRIPEDEXE},
|
||||
{ID_NOSTRIP, HLP_NOSTRIP},
|
||||
{ID_MGWDIR, HLP_FINDMGWDIR},
|
||||
{ID_BROWSEMGW, HLP_FINDMGWDIR},
|
||||
{ID_LOGDIR, HLP_FINDLOGDIR},
|
||||
{ID_BROWSE, HLP_FINDLOGDIR},
|
||||
{ID_SAVELOGS, HLP_FINDLOGDIR},
|
||||
{ID_OBJDIR, HLP_FINDOBJDIR},
|
||||
{ID_BROWSEOBJ, HLP_FINDOBJDIR},
|
||||
{ID_OTHEROBJ, HLP_FINDOBJDIR},
|
||||
{ID_OUTDIR, HLP_FINDOUTDIR},
|
||||
{ID_SHOWVERSION, HLP_VERSION},
|
||||
{ID_BROWSEOUT, HLP_FINDOUTDIR},
|
||||
{ID_OTHEROUT, HLP_FINDOUTDIR},
|
||||
{ID_OK, HLP_SAVEBUTTON},
|
||||
{ID_CANCEL, HLP_QUITBUTTON},
|
||||
};
|
||||
int i;
|
||||
UINT j;
|
||||
LOGFONT lf;
|
||||
WCHAR TempColor[256];
|
||||
|
||||
infoPtr = (POPTIONS_DLG)lParam;
|
||||
infoPtr->hwndDlg = Dlg;
|
||||
|
||||
SetWindowLongPtr(Dlg, DWLP_USER, (LONG_PTR)infoPtr);
|
||||
|
||||
infoPtr->hwndToolTip = CreateWindowEx(0,
|
||||
TOOLTIPS_CLASS,
|
||||
NULL,
|
||||
WS_POPUP | TTS_ALWAYSTIP,
|
||||
CW_USEDEFAULT,
|
||||
CW_USEDEFAULT,
|
||||
CW_USEDEFAULT,
|
||||
CW_USEDEFAULT,
|
||||
infoPtr->hwndDlg,
|
||||
NULL,
|
||||
hInstance,
|
||||
NULL);
|
||||
|
||||
for (i = 0; i < sizeof(ToolTipAssociations) / sizeof(ToolTipAssociations[0]); i++)
|
||||
AssociateToolWithControl(infoPtr, ToolTipAssociations[i].ControlId, ToolTipAssociations[i].StringId);
|
||||
|
||||
infoPtr->hIcon = LoadImage( hInstance,
|
||||
MAKEINTRESOURCE(ID_OPTICON),
|
||||
IMAGE_ICON,
|
||||
GetSystemMetrics(SM_CXSMICON),
|
||||
GetSystemMetrics(SM_CYSMICON),
|
||||
0);
|
||||
if(infoPtr->hIcon)
|
||||
SendMessage(Dlg, WM_SETICON, ICON_SMALL, (LPARAM)infoPtr->hIcon);
|
||||
|
||||
GetObject(GetStockObject(ANSI_FIXED_FONT), sizeof(LOGFONT), &lf);
|
||||
lf.lfWeight = FW_BOLD;
|
||||
infoPtr->hFont = CreateFont(lf.lfHeight, lf.lfWidth, lf.lfEscapement, lf.lfOrientation, lf.lfWeight,
|
||||
lf.lfItalic, lf.lfUnderline, lf.lfStrikeOut, lf.lfCharSet, lf.lfOutPrecision,
|
||||
lf.lfClipPrecision, lf.lfQuality, lf.lfPitchAndFamily, lf.lfFaceName);
|
||||
|
||||
for(j = 0; j < 16; j++)
|
||||
{
|
||||
LoadString(hInstance, j, TempColor, 256);
|
||||
SendDlgItemMessageW(Dlg, IDC_BACK, CB_ADDSTRING, 0, (LPARAM) TempColor);
|
||||
SendDlgItemMessageW(Dlg, IDC_FONT, CB_ADDSTRING, 0, (LPARAM) TempColor);
|
||||
}
|
||||
LoadSettings(infoPtr);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case WM_COMMAND:
|
||||
{
|
||||
if ((HIWORD(wParam) == CBN_SELCHANGE) && ((LOWORD(wParam) == IDC_FONT) || (LOWORD(wParam) == IDC_BACK)))
|
||||
{
|
||||
InvalidateRect(GetDlgItem(Dlg, ID_EXAMPLE), NULL, FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (wParam)
|
||||
{
|
||||
case ID_OK:
|
||||
{
|
||||
if (!WriteSettings(infoPtr))
|
||||
break;
|
||||
}
|
||||
case ID_CANCEL:
|
||||
{
|
||||
WCHAR BoxMsg[256], BoxTitle[128];
|
||||
if ((IsWindowEnabled(GetDlgItem(Dlg, ID_OK))) && (wParam == ID_CANCEL))
|
||||
{
|
||||
LoadString(hInstance, MSG_WARNINGBOX, BoxTitle, 128);
|
||||
LoadString(hInstance, MSG_EXITCHANGE, BoxMsg, 256);
|
||||
if (MessageBox(Dlg, BoxMsg, BoxTitle, MB_ICONWARNING | MB_YESNO) == IDNO)
|
||||
break;
|
||||
}
|
||||
PostMessage(Dlg, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
}
|
||||
case ID_BROWSE:
|
||||
case ID_BROWSEMGW:
|
||||
case ID_BROWSEOBJ:
|
||||
case ID_BROWSEOUT:
|
||||
{
|
||||
BROWSEINFO PathInfo;
|
||||
LPITEMIDLIST pidl;
|
||||
LPMALLOC pMalloc;
|
||||
INT Control = ID_LOGDIR;
|
||||
INT IDText = MSG_FINDLOGDIR;
|
||||
WCHAR path[MAX_PATH];
|
||||
WCHAR Text[512];
|
||||
|
||||
if (SHGetMalloc(&pMalloc) == NOERROR)
|
||||
{
|
||||
ZeroMemory(&PathInfo, sizeof(BROWSEINFO));
|
||||
PathInfo.hwndOwner = Dlg;
|
||||
PathInfo.ulFlags = BIF_EDITBOX | BIF_VALIDATE;
|
||||
PathInfo.lpfn = (BFFCALLBACK)BrowseProc;
|
||||
PathInfo.lParam = ID_LOGDIR;
|
||||
PathInfo.pidlRoot = NULL;
|
||||
if ((wParam == ID_BROWSEMGW) || (wParam == ID_BROWSEOBJ) || (wParam == ID_BROWSEOUT))
|
||||
{
|
||||
Control = ID_MGWDIR;
|
||||
IDText = MSG_FINDMGWDIR;
|
||||
if (wParam == ID_BROWSEOBJ)
|
||||
{
|
||||
Control = ID_OBJDIR;
|
||||
IDText = MSG_FINDOBJDIR;
|
||||
}
|
||||
else if (wParam == ID_BROWSEOUT)
|
||||
{
|
||||
Control = ID_OUTDIR;
|
||||
IDText = MSG_FINDOUTDIR;
|
||||
}
|
||||
PathInfo.lParam = Control;
|
||||
}
|
||||
LoadString(hInstance, IDText, Text, 512);
|
||||
PathInfo.lpszTitle = Text;
|
||||
if ((pidl = SHBrowseForFolder(&PathInfo)) != NULL)
|
||||
{
|
||||
if (SHGetPathFromIDList(pidl, path))
|
||||
SetDlgItemText(Dlg, Control, path);
|
||||
pMalloc->lpVtbl->Free(pMalloc, pidl);
|
||||
}
|
||||
pMalloc->lpVtbl->Release(pMalloc);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ID_OTHEROBJ:
|
||||
case ID_OTHEROUT:
|
||||
case ID_SAVELOGS:
|
||||
{
|
||||
BOOL WriteLogSet;
|
||||
INT Dialog1 = ID_BROWSE;
|
||||
INT Dialog2 = ID_LOGDIR;
|
||||
WriteLogSet = (SendDlgItemMessageW(Dlg, (INT)wParam, BM_GETCHECK, 0, 0) == BST_CHECKED);
|
||||
if (wParam == ID_OTHEROBJ)
|
||||
{
|
||||
Dialog1 = ID_BROWSEOBJ;
|
||||
Dialog2 = ID_OBJDIR;
|
||||
}
|
||||
else if (wParam == ID_OTHEROUT)
|
||||
{
|
||||
Dialog1 = ID_BROWSEOUT;
|
||||
Dialog2 = ID_OUTDIR;
|
||||
}
|
||||
EnableWindow(GetDlgItem(Dlg, Dialog1), WriteLogSet);
|
||||
EnableWindow(GetDlgItem(Dlg, Dialog2), WriteLogSet);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
SetSaveState(infoPtr);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
case WM_CTLCOLORSTATIC:
|
||||
{
|
||||
HFONT hFontOld;
|
||||
// note: do not change the order - it matches to previous order
|
||||
static const COLORREF ColorsRGB[] = { 0x00000000, 0x00800000, 0x00008000, 0x00808000, 0x00000080, 0x00800080,
|
||||
0x00008080, 0x00c0c0c0, 0x00808080, 0x00ff0000, 0x0000ff00,
|
||||
0x00ffff00, 0x000000ff, 0x00ff00ff, 0x0000ffff, 0x00ffffff
|
||||
};
|
||||
|
||||
if((HWND)lParam == GetDlgItem(Dlg, ID_EXAMPLE))
|
||||
{
|
||||
hFontOld = SelectObject((HDC)wParam, infoPtr->hFont);
|
||||
SetTextColor((HDC)wParam, ColorsRGB[SendDlgItemMessageW(Dlg, IDC_FONT, CB_GETCURSEL, 0, 0)]);
|
||||
SetBkColor((HDC)wParam, ColorsRGB[SendDlgItemMessageW(Dlg, IDC_BACK, CB_GETCURSEL, 0, 0)]);
|
||||
return (INT_PTR)CreateSolidBrush(ColorsRGB[SendDlgItemMessageW(Dlg, IDC_BACK, CB_GETCURSEL, 0, 0)]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
if (infoPtr->hIcon)
|
||||
DestroyIcon(infoPtr->hIcon);
|
||||
if (infoPtr->hFont)
|
||||
DeleteObject(infoPtr->hFont);
|
||||
|
||||
}
|
||||
|
||||
case WM_CLOSE:
|
||||
{
|
||||
EndDialog(Dlg, 0);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
int WINAPI
|
||||
WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
|
||||
{
|
||||
POPTIONS_DLG OptionsDlgInfo;
|
||||
hInstance = hInst;
|
||||
|
||||
OptionsDlgInfo = HeapAlloc(GetProcessHeap(), 0, sizeof(*OptionsDlgInfo));
|
||||
if (OptionsDlgInfo != NULL)
|
||||
{
|
||||
ZeroMemory(OptionsDlgInfo, sizeof(OPTIONS_DLG));
|
||||
DialogBoxParam(hInst, MAKEINTRESOURCE(ID_DIALOG), 0, DlgProc, (LPARAM)OptionsDlgInfo);
|
||||
HeapFree(GetProcessHeap(), 0, OptionsDlgInfo);
|
||||
}
|
||||
return 0;
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
name="ReactOS.options"
|
||||
processorArchitecture="x86"
|
||||
version="1.1.0.0"
|
||||
type="win32"/>
|
||||
<description>Config Tool</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="x86"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
@ -1,40 +0,0 @@
|
||||
/*
|
||||
* PROJECT: RosBE Options Dialog
|
||||
* LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
* FILE: Tools/config/options.h
|
||||
* PURPOSE: Configuring RosBE
|
||||
* COPYRIGHT: Copyright 2007 Maarten Bosma
|
||||
* Copyright 2007 Pierre Schweitzer
|
||||
*
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <shlobj.h>
|
||||
#include <wchar.h>
|
||||
#include "resources.h"
|
||||
|
||||
#define MINGWVERSION L"\\amd64"
|
||||
|
||||
typedef struct _SETTINGS
|
||||
{
|
||||
WCHAR logdir[MAX_PATH];
|
||||
WCHAR objdir[MAX_PATH];
|
||||
WCHAR outdir[MAX_PATH];
|
||||
WCHAR mingwpath[MAX_PATH];
|
||||
INT foreground;
|
||||
INT background;
|
||||
BOOL showtime;
|
||||
BOOL useccache;
|
||||
WCHAR lstrip[MAX_PATH];
|
||||
WCHAR lnostrip[MAX_PATH];
|
||||
BOOL strip;
|
||||
BOOL nostrip;
|
||||
BOOL writelog;
|
||||
BOOL objstate;
|
||||
BOOL outstate;
|
||||
BOOL showversion;
|
||||
}
|
||||
SETTINGS, *PSETTINGS;
|
||||
|
||||
wchar_t *wcsset(wchar_t *string, wchar_t c);
|
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
@ -1,41 +0,0 @@
|
||||
#include <windows.h>
|
||||
#include "resources.h"
|
||||
|
||||
ID_OPTICON ICON "options64.ico"
|
||||
|
||||
1 24 "options64.exe.Manifest"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,1,0,0
|
||||
PRODUCTVERSION 1,1,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x1L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Marteen Bosma / Daniel Reimer / Pierre Schweitzer\0"
|
||||
VALUE "FileDescription", "Config Tool for RosBE x86-64\0"
|
||||
VALUE "FileVersion", "1.1.0.0\0"
|
||||
VALUE "InternalName", "options64\0"
|
||||
VALUE "LegalCopyright", "Copyright © Daniel Reimer 2007\0"
|
||||
VALUE "OriginalFilename", "options64.exe\0"
|
||||
VALUE "ProductName", "Config Tool for RosBE x86-64\0"
|
||||
VALUE "ProductVersion", "1.1.0.0\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
||||
#include "rsrc.rc"
|
@ -1,83 +0,0 @@
|
||||
/*
|
||||
* PROJECT: RosBE Options Dialog
|
||||
* LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
* FILE: Tools/config/resources.h
|
||||
* PURPOSE: Configuring RosBE
|
||||
* COPYRIGHT: Copyright 2007 Maarten Bosma
|
||||
* Copyright 2007 Pierre Schweitzer
|
||||
*
|
||||
*/
|
||||
|
||||
/* Colors */
|
||||
#define CLR0 0x00
|
||||
#define CLR1 0x01
|
||||
#define CLR2 0x02
|
||||
#define CLR3 0x03
|
||||
#define CLR4 0x04
|
||||
#define CLR5 0x05
|
||||
#define CLR6 0x06
|
||||
#define CLR7 0x07
|
||||
#define CLR8 0x08
|
||||
#define CLR9 0x09
|
||||
#define CLR10 0x0a
|
||||
#define CLR11 0x0b
|
||||
#define CLR12 0x0c
|
||||
#define CLR13 0x0d
|
||||
#define CLR14 0x0e
|
||||
#define CLR15 0x0f
|
||||
|
||||
/* Controls */
|
||||
#define ID_OK 0x11
|
||||
#define ID_CANCEL 0x12
|
||||
#define ID_OPTICON 0x13
|
||||
#define ID_SAVELOGS 0x14
|
||||
#define ID_SHOWBUILDTIME 0x15
|
||||
#define ID_USECCACHE 0x16
|
||||
#define ID_STRIP 0x17
|
||||
#define ID_OTHEROBJ 0x18
|
||||
#define ID_OTHEROUT 0x19
|
||||
#define ID_LOGDIR 0x1a
|
||||
#define ID_MGWDIR 0x1b
|
||||
#define ID_OBJDIR 0x1c
|
||||
#define ID_OUTDIR 0x1d
|
||||
#define ID_BROWSE 0x1e
|
||||
#define ID_BROWSEMGW 0x1f
|
||||
#define ID_BROWSEOBJ 0x20
|
||||
#define ID_BROWSEOUT 0x21
|
||||
#define ID_DIALOG 0x22
|
||||
#define ID_EXAMPLE 0x23
|
||||
#define IDC_FONT 0x24
|
||||
#define IDC_BACK 0x25
|
||||
#define ID_STATUSBAR 0x26
|
||||
#define ID_NOSTRIP 0x27
|
||||
#define ID_SHOWVERSION 0x28
|
||||
|
||||
/* Strings */
|
||||
#define MSG_NOGCCFOUND 0x29
|
||||
#define MSG_CMDFFAILED 0x2a
|
||||
#define MSG_PS1FFAILED 0x2b
|
||||
#define MSG_DIREFAILED 0x2c
|
||||
#define MSG_SETLOADSUC 0x2d
|
||||
#define MSG_FINDLOGDIR 0x2e
|
||||
#define MSG_FINDMGWDIR 0x2f
|
||||
#define MSG_FINDOBJDIR 0x30
|
||||
#define MSG_FINDOUTDIR 0x31
|
||||
#define MSG_WARNINGBOX 0x32
|
||||
#define MSG_EXITCHANGE 0x33
|
||||
#define MSG_INVALIDDIR 0x34
|
||||
|
||||
/* Help Strings */
|
||||
#define HLP_BACKCOLORC 0x35
|
||||
#define HLP_FONTCOLORC 0x36
|
||||
#define HLP_SBUILDTIME 0x37
|
||||
#define HLP_CCACHEUSED 0x38
|
||||
#define HLP_STRIPEDEXE 0x39
|
||||
#define HLP_FINDMGWDIR 0x3a
|
||||
#define HLP_FINDLOGDIR 0x3b
|
||||
#define HLP_FINDOBJDIR 0x3c
|
||||
#define HLP_FINDOUTDIR 0x3d
|
||||
#define HLP_SAVEBUTTON 0x3e
|
||||
#define HLP_QUITBUTTON 0x3f
|
||||
#define HLP_DEFAULTMSG 0x40
|
||||
#define HLP_NOSTRIP 0x41
|
||||
#define HLP_VERSION 0x42
|
@ -1,10 +0,0 @@
|
||||
#include <windows.h>
|
||||
#include "resources.h"
|
||||
|
||||
#include "lang/de-DE.rc"
|
||||
#include "lang/en-US.rc"
|
||||
#include "lang/es-ES.rc"
|
||||
#include "lang/fr-FR.rc"
|
||||
#include "lang/ru-RU.rc"
|
||||
#include "lang/uk-UA.rc"
|
||||
#include "lang/pl-PL.rc"
|
@ -32,6 +32,38 @@ BEGIN
|
||||
CONTROL "Willkommen!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "RosBE AMD64 Einstellungen"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Hintergrundfarbe", -1, 10, 10, 75, 12
|
||||
LTEXT "Schriftfarbe", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nBeispieltext", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "CCache benutzen", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Daten strippen", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Versions Header anzeigen", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Pfad zu MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Logs speichern", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Verzichnis für OBJ ändern", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Verzichnis für OUT ändern", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Speichern", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Abbrechen", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Willkommen!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Schwarz"
|
||||
|
@ -32,6 +32,38 @@ BEGIN
|
||||
CONTROL "Welcome!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "ReactOS AMD64 Build Environment Settings"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Background Color", -1, 10, 10, 75, 12
|
||||
LTEXT "Font Color", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nSample text", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Use CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Path to MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Save Logs", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Change Folder for OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Change Folder for OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Save", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancel", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Welcome!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Black"
|
||||
|
@ -32,6 +32,38 @@ BEGIN
|
||||
CONTROL "¡Bienvenido!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Configuración de ReactOS AMD64 Build Environment"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Color de fondo", -1, 10, 10, 75, 12
|
||||
LTEXT "Color de fuente", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nTexto ejemplo", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Mostrar tiempo de creación", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Usar CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Limpiar salida", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Cree archivos no limpios para depuración", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Ruta de MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Guardar Logs (Registros)", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Cambiar carpeta parar OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Cambiar carpeta para OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Guardar", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancelar", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "¡Bienvenido!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Negro"
|
||||
|
@ -32,6 +32,38 @@ BEGIN
|
||||
CONTROL "Bienvenue !", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Paramètres de AMD64 l'Environnement de Compilation de ReactOS"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Couleur d'arrière plan", -1, 10, 10, 75, 12
|
||||
LTEXT "Couleur de la police", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nTexte d'exemple", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 125, 50, 120, 36
|
||||
CONTROL "Montrer le temps de compilation", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 110, 12
|
||||
CONTROL "Utiliser CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Optimiser les fichiers", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Chemin vers MinGW/GCC", -1, 10, 107, 110, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Sauvegarder le journal", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Changer de répertoire pour OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 150, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Changer de répertoire pour OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 150, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Sauvegarder", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annuler", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Bienvenue !", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Noir"
|
||||
|
@ -32,6 +32,38 @@ BEGIN
|
||||
CONTROL "Witamy!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Ustawienia ReactOS AMD64 Build Environment"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Kolor t³a", -1, 10, 10, 75, 12
|
||||
LTEXT "Kolor czcionki", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nPrzyk³adowy tekst", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Poka¿ czas budowania", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "U¿yj CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Usuñ dane debugowania", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Œcie¿ka do MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Zapisuj logi", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Zmieñ folder plików OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Zmieñ folder plików OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Zapisz", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Anuluj", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Witamy!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "Czarny"
|
||||
|
@ -34,6 +34,38 @@ BEGIN
|
||||
CONTROL "Ââåäåíèå", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Óñòàíîâêè ïåðåìåííûõ êîìïèëÿòîðà ReactOS - AMD64"
|
||||
FONT 8,"MS Sans Serif",0,0
|
||||
BEGIN
|
||||
LTEXT "Öâåò ôîíà", -1, 10, 10, 75, 12
|
||||
LTEXT "Öâåò øðèôòà", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nÏðèìåð òåêñòà", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "Îòîáðàæàòü âðåìÿ êîìïèëÿöèè", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Èñïîëüçîâàòü êåøèðîâàíèå", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Âûðåçàòü ïóñòîé êîä ïðè êîìïèë.", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Ïóòü ê êîìïèëÿòîðó GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Âåñòè ëîãè", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Ïóòü ê êàòàëîãó îáúåêòîâ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Ïóòü ê êàòàëîãó âûâîäà", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Ñîõðàíèòü", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Îòìåíà", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Ââåäåíèå", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "׸ðíûé"
|
||||
|
@ -40,6 +40,38 @@ BEGIN
|
||||
CONTROL "Ëàñêàâî ïðîñèìî!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Óñòàíîâêè çì³ííèõ êîìï³ëÿòîðà ReactOS - AMD64"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Êîë³ð ôîíó", -1, 10, 10, 75, 12
|
||||
LTEXT "Êîë³ð øðèôòó", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\nÇðàçîê òåêñòó", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "³äîáðàæàòè ÷àñ êîìï³ëÿö³¿", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "Âèêîðèñòîâóâàòè CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "Show Versions Header", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "Øëÿõ äî MinGW/GCC", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "Âåñòè æóðíàë", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Çì³íèòè ïàïêó äëÿ OBJ", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "Çì³íèòè ïàïêó äëÿ OUT", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Çáåðåãòè", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Ñêàñóâàòè", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "Ëàñêàâî ïðîñèìî!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "×îðíèé"
|
||||
|
@ -40,6 +40,38 @@ BEGIN
|
||||
CONTROL "歡迎!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
ID_DIALOG64 DIALOGEX DISCARDABLE 0, 0, 255, 290
|
||||
STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "ReactOS 建置環境設置 - AMD64"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "背景顏色", -1, 10, 10, 75, 12
|
||||
LTEXT "字體顏色", 0x0, 10, 27, 75, 12
|
||||
COMBOBOX IDC_BACK, 135, 10, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
COMBOBOX IDC_FONT, 135, 25, 100, 100, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | CBS_DROPDOWNLIST
|
||||
CONTROL "\n\n示例文本", ID_EXAMPLE, "static", WS_CHILD | WS_VISIBLE | WS_TABSTOP | SS_CENTER, 113, 50, 125, 36
|
||||
CONTROL "顯示建置時間", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
|
||||
CONTROL "使用 CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
|
||||
CONTROL "裁減輸出", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
|
||||
CONTROL "建立調試用的包裝檔", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
|
||||
CONTROL "顯示版本標頭", ID_SHOWVERSION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
|
||||
LTEXT "MinGW/GCC 的路徑", -1, 10, 107, 100, 15
|
||||
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
|
||||
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
|
||||
CONTROL "儲存日誌", ID_SAVELOGS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 143, 100, 12
|
||||
EDITTEXT ID_LOGDIR, 10, 156, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSE, 215, 156, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "更改 OBJ 的目錄", ID_OTHEROBJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 178, 100, 12
|
||||
EDITTEXT ID_OBJDIR, 10, 192, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOBJ, 215, 192, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
CONTROL "更改 OUT 的目錄", ID_OTHEROUT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 215, 100, 12
|
||||
EDITTEXT ID_OUTDIR, 10, 228, 200, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "...", ID_BROWSEOUT, 215, 228, 30, 13, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "儲存", ID_OK, 63, 250, 59, 16, WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "取消", ID_CANCEL, 133, 250, 59, 16, WS_TABSTOP
|
||||
CONTROL "歡迎!", ID_STATUSBAR, "msctls_statusbar32", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 275, 255, 15
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
CLR0, "黑色"
|
||||
|
@ -45,12 +45,21 @@ getConfigFileCMD()
|
||||
static WCHAR filename[MAX_PATH];
|
||||
if (SHGetSpecialFolderPathW(NULL, filename, CSIDL_APPDATA, FALSE))
|
||||
{
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options.cmd")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options.cmd");
|
||||
if (amd64) {
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options-amd64.cmd")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options-amd64.cmd");
|
||||
} else {
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options.cmd")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options.cmd");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wcscpy(filename, L"rosbe-options.cmd");
|
||||
if (amd64) {
|
||||
wcscpy(filename, L"rosbe-options-amd64.cmd");
|
||||
} else {
|
||||
wcscpy(filename, L"rosbe-options.cmd");
|
||||
}
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
@ -63,12 +72,21 @@ getConfigFilePS1()
|
||||
static WCHAR filename[MAX_PATH];
|
||||
if (SHGetSpecialFolderPathW(NULL, filename, CSIDL_APPDATA, FALSE))
|
||||
{
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options.ps1")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options.ps1");
|
||||
if (amd64) {
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options-amd64.ps1")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options-amd64.ps1");
|
||||
} else {
|
||||
if ((wcslen(filename) + wcslen(L"\\RosBE\\rosbe-options.ps1")) < MAX_PATH)
|
||||
wcscat(filename, L"\\RosBE\\rosbe-options.ps1");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wcscpy(filename, L"rosbe-options.ps1");
|
||||
if (amd64) {
|
||||
wcscpy(filename, L"rosbe-options-amd64.ps1");
|
||||
} else {
|
||||
wcscpy(filename, L"rosbe-options.ps1");
|
||||
}
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
@ -111,8 +129,13 @@ WriteSettings(POPTIONS_DLG infoPtr)
|
||||
return FALSE;
|
||||
|
||||
wcscpy(checkmgw, mingwpath);
|
||||
if ((wcslen(checkmgw) + wcslen(L"\\bin\\gcc.exe")) < MAX_PATH)
|
||||
wcscat(checkmgw, L"\\bin\\gcc.exe");
|
||||
if (amd64) {
|
||||
if ((wcslen(checkmgw) + wcslen(L"\\bin\\x86_64-w64-mingw32-gcc.exe")) < MAX_PATH)
|
||||
wcscat(checkmgw, L"\\bin\\x86_64-w64-mingw32-gcc.exe");
|
||||
} else {
|
||||
if ((wcslen(checkmgw) + wcslen(L"\\bin\\gcc.exe")) < MAX_PATH)
|
||||
wcscat(checkmgw, L"\\bin\\gcc.exe");
|
||||
}
|
||||
hFile = CreateFile(checkmgw, 0, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
@ -147,9 +170,13 @@ WriteSettings(POPTIONS_DLG infoPtr)
|
||||
fwprintf(pFilecmd, L"set _ROSBE_WRITELOG=%d\n", writelog);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_SHOWVERSION=%d\n", showversion);
|
||||
if (logdir[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_LOGDIR=%s\n", logdir);
|
||||
if (mingwpath[0] != 0) {
|
||||
fwprintf(pFilecmd, L"set _ROSBE_HOST_MINGWPATH=%s\n", mingwpath);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_TARGET_MINGWPATH=%s\n", mingwpath);
|
||||
if (amd64) {
|
||||
if (mingwpath[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_TARGET_MINGWPATH=%s\n", mingwpath);
|
||||
} else {
|
||||
if (mingwpath[0] != 0) {
|
||||
fwprintf(pFilecmd, L"set _ROSBE_HOST_MINGWPATH=%s\n", mingwpath);
|
||||
fwprintf(pFilecmd, L"set _ROSBE_TARGET_MINGWPATH=%s\n", mingwpath);
|
||||
}
|
||||
}
|
||||
if ((objdir[0] != 0) && objstate) {
|
||||
fwprintf(pFilecmd, L"set ROS_INTERMEDIATE=%s\n", objdir);
|
||||
@ -182,9 +209,13 @@ WriteSettings(POPTIONS_DLG infoPtr)
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_WRITELOG = %d\n", writelog);
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_SHOWVERSION = %d\n", showversion);
|
||||
if (logdir[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_LOGDIR = \"%s\"\n", logdir);
|
||||
if (mingwpath[0] != 0) {
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_HOST_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_TARGET_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
if (amd64) {
|
||||
if (mingwpath[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_TARGET_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
} else {
|
||||
if (mingwpath[0] != 0) {
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_HOST_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
fwprintf(pFileps1, L"$global:_ROSBE_TARGET_MINGWPATH = \"%s\"\n", mingwpath);
|
||||
}
|
||||
}
|
||||
if ((objdir[0] != 0) && objstate) {
|
||||
fwprintf(pFileps1, L"$ENV:ROS_INTERMEDIATE = \"%s\"\n", objdir);
|
||||
@ -259,7 +290,9 @@ VOID LoadSettings(POPTIONS_DLG infoPtr)
|
||||
LoadedSettings->showversion = wcstol(ptr2, NULL, 2);
|
||||
else if (wcscmp(ptr, L"_ROSBE_LOGDIR") == 0)
|
||||
wcsncpy(LoadedSettings->logdir, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"_ROSBE_HOST_MINGWPATH") == 0)
|
||||
else if ((amd64) && (wcscmp(ptr, L"_ROSBE_TARGET_MINGWPATH") == 0))
|
||||
wcsncpy(LoadedSettings->mingwpath, ptr2, wcslen(ptr2)-1);
|
||||
else if ((!amd64) && (wcscmp(ptr, L"_ROSBE_HOST_MINGWPATH") == 0))
|
||||
wcsncpy(LoadedSettings->mingwpath, ptr2, wcslen(ptr2)-1);
|
||||
else if (wcscmp(ptr, L"ROS_INTERMEDIATE") == 0)
|
||||
wcsncpy(LoadedSettings->objdir, ptr2, wcslen(ptr2)-1);
|
||||
@ -273,14 +306,23 @@ VOID LoadSettings(POPTIONS_DLG infoPtr)
|
||||
}
|
||||
else
|
||||
{
|
||||
LoadedSettings->foreground = 0xa;
|
||||
if (amd64) {
|
||||
LoadedSettings->foreground = 0xb;
|
||||
} else {
|
||||
LoadedSettings->foreground = 0xa;
|
||||
}
|
||||
LoadedSettings->background = 0;
|
||||
LoadedSettings->showtime = 1;
|
||||
LoadedSettings->writelog = 1;
|
||||
LoadedSettings->showversion = 0;
|
||||
GetCurrentDirectory(MAX_PATH, LoadedSettings->mingwpath);
|
||||
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION)) < MAX_PATH)
|
||||
wcscat(LoadedSettings->mingwpath, MINGWVERSION);
|
||||
if (amd64) {
|
||||
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION64)) < MAX_PATH)
|
||||
wcscat(LoadedSettings->mingwpath, MINGWVERSION64);
|
||||
} else {
|
||||
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION)) < MAX_PATH)
|
||||
wcscat(LoadedSettings->mingwpath, MINGWVERSION);
|
||||
}
|
||||
|
||||
LoadString(hInstance, HLP_DEFAULTMSG, SBTitle, 256);
|
||||
SetDlgItemText(infoPtr->hwndDlg, ID_STATUSBAR, SBTitle);
|
||||
@ -689,10 +731,18 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
|
||||
POPTIONS_DLG OptionsDlgInfo;
|
||||
hInstance = hInst;
|
||||
|
||||
if (strcmp(cmdline,"amd64") == 0)
|
||||
{
|
||||
amd64 = TRUE;
|
||||
}
|
||||
|
||||
OptionsDlgInfo = HeapAlloc(GetProcessHeap(), 0, sizeof(*OptionsDlgInfo));
|
||||
if (OptionsDlgInfo != NULL)
|
||||
{
|
||||
ZeroMemory(OptionsDlgInfo, sizeof(OPTIONS_DLG));
|
||||
if (amd64)
|
||||
DialogBoxParam(hInst, MAKEINTRESOURCE(ID_DIALOG64), 0, DlgProc, (LPARAM)OptionsDlgInfo);
|
||||
else
|
||||
DialogBoxParam(hInst, MAKEINTRESOURCE(ID_DIALOG), 0, DlgProc, (LPARAM)OptionsDlgInfo);
|
||||
HeapFree(GetProcessHeap(), 0, OptionsDlgInfo);
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <wchar.h>
|
||||
#include "resources.h"
|
||||
|
||||
#define MINGWVERSION64 L"\\amd64"
|
||||
#define MINGWVERSION L"\\i386"
|
||||
|
||||
typedef struct _SETTINGS
|
||||
@ -38,3 +39,4 @@ typedef struct _SETTINGS
|
||||
SETTINGS, *PSETTINGS;
|
||||
|
||||
wchar_t *wcsset(wchar_t *string, wchar_t c);
|
||||
BOOL amd64 = FALSE;
|
||||
|
@ -45,39 +45,40 @@
|
||||
#define ID_BROWSEOBJ 0x20
|
||||
#define ID_BROWSEOUT 0x21
|
||||
#define ID_DIALOG 0x22
|
||||
#define ID_EXAMPLE 0x23
|
||||
#define IDC_FONT 0x24
|
||||
#define IDC_BACK 0x25
|
||||
#define ID_STATUSBAR 0x26
|
||||
#define ID_NOSTRIP 0x27
|
||||
#define ID_SHOWVERSION 0x28
|
||||
#define ID_DIALOG64 0x23
|
||||
#define ID_EXAMPLE 0x24
|
||||
#define IDC_FONT 0x25
|
||||
#define IDC_BACK 0x26
|
||||
#define ID_STATUSBAR 0x27
|
||||
#define ID_NOSTRIP 0x28
|
||||
#define ID_SHOWVERSION 0x29
|
||||
|
||||
/* Strings */
|
||||
#define MSG_NOGCCFOUND 0x29
|
||||
#define MSG_CMDFFAILED 0x2a
|
||||
#define MSG_PS1FFAILED 0x2b
|
||||
#define MSG_DIREFAILED 0x2c
|
||||
#define MSG_SETLOADSUC 0x2d
|
||||
#define MSG_FINDLOGDIR 0x2e
|
||||
#define MSG_FINDMGWDIR 0x2f
|
||||
#define MSG_FINDOBJDIR 0x30
|
||||
#define MSG_FINDOUTDIR 0x31
|
||||
#define MSG_WARNINGBOX 0x32
|
||||
#define MSG_EXITCHANGE 0x33
|
||||
#define MSG_INVALIDDIR 0x34
|
||||
#define MSG_NOGCCFOUND 0x2a
|
||||
#define MSG_CMDFFAILED 0x2b
|
||||
#define MSG_PS1FFAILED 0x2c
|
||||
#define MSG_DIREFAILED 0x2d
|
||||
#define MSG_SETLOADSUC 0x2e
|
||||
#define MSG_FINDLOGDIR 0x2f
|
||||
#define MSG_FINDMGWDIR 0x30
|
||||
#define MSG_FINDOBJDIR 0x31
|
||||
#define MSG_FINDOUTDIR 0x32
|
||||
#define MSG_WARNINGBOX 0x33
|
||||
#define MSG_EXITCHANGE 0x34
|
||||
#define MSG_INVALIDDIR 0x35
|
||||
|
||||
/* Help Strings */
|
||||
#define HLP_BACKCOLORC 0x35
|
||||
#define HLP_FONTCOLORC 0x36
|
||||
#define HLP_SBUILDTIME 0x37
|
||||
#define HLP_CCACHEUSED 0x38
|
||||
#define HLP_STRIPEDEXE 0x39
|
||||
#define HLP_FINDMGWDIR 0x3a
|
||||
#define HLP_FINDLOGDIR 0x3b
|
||||
#define HLP_FINDOBJDIR 0x3c
|
||||
#define HLP_FINDOUTDIR 0x3d
|
||||
#define HLP_SAVEBUTTON 0x3e
|
||||
#define HLP_QUITBUTTON 0x3f
|
||||
#define HLP_DEFAULTMSG 0x40
|
||||
#define HLP_NOSTRIP 0x41
|
||||
#define HLP_VERSION 0x42
|
||||
#define HLP_BACKCOLORC 0x36
|
||||
#define HLP_FONTCOLORC 0x37
|
||||
#define HLP_SBUILDTIME 0x38
|
||||
#define HLP_CCACHEUSED 0x39
|
||||
#define HLP_STRIPEDEXE 0x3a
|
||||
#define HLP_FINDMGWDIR 0x3b
|
||||
#define HLP_FINDLOGDIR 0x3c
|
||||
#define HLP_FINDOBJDIR 0x3d
|
||||
#define HLP_FINDOUTDIR 0x3e
|
||||
#define HLP_SAVEBUTTON 0x3f
|
||||
#define HLP_QUITBUTTON 0x40
|
||||
#define HLP_DEFAULTMSG 0x41
|
||||
#define HLP_NOSTRIP 0x42
|
||||
#define HLP_VERSION 0x43
|
||||
|
Loading…
Reference in New Issue
Block a user