From 3700777e9a178580631fc83a44ded79d3c17ddc3 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 1 Nov 1998 15:07:24 +0000 Subject: [PATCH] Allow the user to put a mark in the debug log by adding a item in the SYSMENU. The messages needs implementation in all other languages than English and German. --- resources/TODO | 17 +++++++++++++++++ resources/sysres_De.rc | 2 ++ resources/sysres_En.rc | 2 ++ windows/nonclient.c | 4 ++++ 4 files changed, 25 insertions(+) diff --git a/resources/TODO b/resources/TODO index d3a8fd84709..83f762e2445 100644 --- a/resources/TODO +++ b/resources/TODO @@ -98,3 +98,20 @@ Bye, Frans van Dorsselaer dorssel@rulhm1.LeidenUniv.nl +************************************************************** +1998, October + +Subject: Put Mark in DebugLog + +I added an item to SYSMENU to put a mark in the Debuglog by request of the +User. I picked 61762 as the next ID after SC_ABOUTWINE. This item needs +translations to all supported languages. At present it is only done for + +* English +* German + +After you implemented it for your language, please add it to the list above. + +Bye + +Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de \ No newline at end of file diff --git a/resources/sysres_De.rc b/resources/sysres_De.rc index 16162e6d8f7..4499a8fd640 100644 --- a/resources/sysres_De.rc +++ b/resources/sysres_De.rc @@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744 MENUITEM SEPARATOR MENUITEM "&Über WINE ...", 61761 + MENUITEM SEPARATOR + MENUITEM "Setze &Marke in die Debug-Ausgabe", 61762 } EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE diff --git a/resources/sysres_En.rc b/resources/sysres_En.rc index 1838f4b29e6..584db9d1616 100644 --- a/resources/sysres_En.rc +++ b/resources/sysres_En.rc @@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE MENUITEM "&Switch to ...\tCtrl-Esc", 61744 MENUITEM SEPARATOR MENUITEM "&About WINE ...", 61761 + MENUITEM SEPARATOR + MENUITEM "&Put mark in debug log", 61762 } EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE diff --git a/windows/nonclient.c b/windows/nonclient.c index 1529569dbb6..856f59c6915 100644 --- a/windows/nonclient.c +++ b/windows/nonclient.c @@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0; static HBITMAP16 hbitmapRestoreD = 0; #define SC_ABOUTWINE (SC_SCREENSAVE+1) +#define SC_PUTMARK (SC_SCREENSAVE+2) /* Some useful macros */ #define HAS_DLGFRAME(style,exStyle) \ @@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt ) case SC_SCREENSAVE: if (wParam == SC_ABOUTWINE) ShellAbout32A(hwnd,"Wine", WINE_RELEASE_INFO, 0); + else + if (wParam == SC_PUTMARK) + TRACE(shell,"Mark requested by user\n"); break; case SC_HOTKEY: -- 2.11.4.GIT