1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-25 01:57:47 +01:00

add directory name to window title

This commit is contained in:
FunkyFr3sh 2023-08-15 15:46:05 +02:00
parent 614febabf6
commit 59b4d83153

View File

@ -628,6 +628,10 @@ void TConfigForm::ApplyTranslation(TIniFile *ini)
MaximizeWindowKeyLbl->Caption = GetKeyText(VK_MENU) + L" +"; MaximizeWindowKeyLbl->Caption = GetKeyText(VK_MENU) + L" +";
UnlockCursor1KeyLbl->Caption = GetKeyText(VK_CONTROL) + L" +"; UnlockCursor1KeyLbl->Caption = GetKeyText(VK_CONTROL) + L" +";
UnlockCursor2KeyLbl->Caption = "R " + GetKeyText(VK_MENU) + L" +"; UnlockCursor2KeyLbl->Caption = "R " + GetKeyText(VK_MENU) + L" +";
ConfigForm->Caption +=
" (" + TPath::GetFileName(
TPath::GetDirectoryName(Application->ExeName)) + ")";
} }
void __fastcall TConfigForm::DisplayBtnClick(TObject *Sender) void __fastcall TConfigForm::DisplayBtnClick(TObject *Sender)