Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3700777e
Commit
3700777e
authored
Nov 01, 1998
by
Uwe Bonnes
Committed by
Alexandre Julliard
Nov 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
2e52589d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
0 deletions
+26
-0
TODO
resources/TODO
+18
-0
sysres_De.rc
resources/sysres_De.rc
+2
-0
sysres_En.rc
resources/sysres_En.rc
+2
-0
nonclient.c
windows/nonclient.c
+4
-0
No files found.
resources/TODO
View file @
3700777e
...
@@ -98,3 +98,20 @@ Bye,
...
@@ -98,3 +98,20 @@ Bye,
Frans van Dorsselaer
Frans van Dorsselaer
dorssel@rulhm1.LeidenUniv.nl
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
resources/sysres_De.rc
View file @
3700777e
...
@@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
...
@@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744
MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&ber WINE ...", 61761
MENUITEM "&ber WINE ...", 61761
MENUITEM SEPARATOR
MENUITEM "Setze &Marke in die Debug-Ausgabe", 61762
}
}
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
...
...
resources/sysres_En.rc
View file @
3700777e
...
@@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
...
@@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
MENUITEM "&Switch to ...\tCtrl-Esc", 61744
MENUITEM "&Switch to ...\tCtrl-Esc", 61744
MENUITEM SEPARATOR
MENUITEM SEPARATOR
MENUITEM "&About WINE ...", 61761
MENUITEM "&About WINE ...", 61761
MENUITEM SEPARATOR
MENUITEM "&Put mark in debug log", 61762
}
}
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
...
...
windows/nonclient.c
View file @
3700777e
...
@@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0;
...
@@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0;
static
HBITMAP16
hbitmapRestoreD
=
0
;
static
HBITMAP16
hbitmapRestoreD
=
0
;
#define SC_ABOUTWINE (SC_SCREENSAVE+1)
#define SC_ABOUTWINE (SC_SCREENSAVE+1)
#define SC_PUTMARK (SC_SCREENSAVE+2)
/* Some useful macros */
/* Some useful macros */
#define HAS_DLGFRAME(style,exStyle) \
#define HAS_DLGFRAME(style,exStyle) \
...
@@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt )
...
@@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt )
case
SC_SCREENSAVE
:
case
SC_SCREENSAVE
:
if
(
wParam
==
SC_ABOUTWINE
)
if
(
wParam
==
SC_ABOUTWINE
)
ShellAbout32A
(
hwnd
,
"Wine"
,
WINE_RELEASE_INFO
,
0
);
ShellAbout32A
(
hwnd
,
"Wine"
,
WINE_RELEASE_INFO
,
0
);
else
if
(
wParam
==
SC_PUTMARK
)
TRACE
(
shell
,
"Mark requested by user
\n
"
);
break
;
break
;
case
SC_HOTKEY
:
case
SC_HOTKEY
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment