Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4f5c61ac
Commit
4f5c61ac
authored
Nov 07, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Removed unused NC_DrawGrayButton function.
parent
c57b5057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
nonclient.c
dlls/user32/nonclient.c
+0
-36
No files found.
dlls/user32/nonclient.c
View file @
4f5c61ac
...
...
@@ -32,8 +32,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
nonclient
);
BOOL
NC_DrawGrayButton
(
HDC
hdc
,
int
x
,
int
y
);
static
const
BYTE
lpGrayMask
[]
=
{
0xAA
,
0xA0
,
0x55
,
0x50
,
0xAA
,
0xA0
,
...
...
@@ -1626,40 +1624,6 @@ LRESULT NC_HandleSysCommand( HWND hwnd, WPARAM wParam, LPARAM lParam )
return
0
;
}
/*************************************************************
* NC_DrawGrayButton
*
* Stub for the grayed button of the caption
*
*************************************************************/
BOOL
NC_DrawGrayButton
(
HDC
hdc
,
int
x
,
int
y
)
{
HBITMAP
hMaskBmp
;
HDC
hdcMask
;
HBRUSH
hOldBrush
;
hMaskBmp
=
CreateBitmap
(
12
,
10
,
1
,
1
,
lpGrayMask
);
if
(
hMaskBmp
==
0
)
return
FALSE
;
hdcMask
=
CreateCompatibleDC
(
0
);
SelectObject
(
hdcMask
,
hMaskBmp
);
/* Draw the grayed bitmap using the mask */
hOldBrush
=
SelectObject
(
hdc
,
(
HGDIOBJ
)
RGB
(
128
,
128
,
128
));
BitBlt
(
hdc
,
x
,
y
,
12
,
10
,
hdcMask
,
0
,
0
,
0xB8074A
);
/* Clean up */
SelectObject
(
hdc
,
hOldBrush
);
DeleteObject
(
hMaskBmp
);
DeleteDC
(
hdcMask
);
return
TRUE
;
}
/***********************************************************************
* GetTitleBarInfo (USER32.@)
* TODO: Handle STATE_SYSTEM_PRESSED
...
...
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