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
5bc2785b
Commit
5bc2785b
authored
Nov 12, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Nov 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Draw the correct part of the themed parent background to the DC.
parent
1a67f07c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
draw.c
dlls/uxtheme/draw.c
+3
-3
No files found.
dlls/uxtheme/draw.c
View file @
5bc2785b
...
@@ -100,7 +100,7 @@ HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
...
@@ -100,7 +100,7 @@ HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
hParent
=
hwnd
;
hParent
=
hwnd
;
if
(
prc
)
{
if
(
prc
)
{
CopyRect
(
&
rt
,
prc
);
CopyRect
(
&
rt
,
prc
);
MapWindowPoints
(
hwnd
,
NULL
,
(
LPPOINT
)
&
rt
,
2
);
MapWindowPoints
(
hwnd
,
hParent
,
(
LPPOINT
)
&
rt
,
2
);
clip
=
CreateRectRgn
(
0
,
0
,
1
,
1
);
clip
=
CreateRectRgn
(
0
,
0
,
1
,
1
);
hasClip
=
GetClipRgn
(
hdc
,
clip
);
hasClip
=
GetClipRgn
(
hdc
,
clip
);
...
@@ -110,8 +110,8 @@ HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
...
@@ -110,8 +110,8 @@ HRESULT WINAPI DrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
IntersectClipRect
(
hdc
,
prc
->
left
,
prc
->
top
,
prc
->
right
,
prc
->
bottom
);
IntersectClipRect
(
hdc
,
prc
->
left
,
prc
->
top
,
prc
->
right
,
prc
->
bottom
);
}
}
else
{
else
{
GetClientRect
(
h
Parent
,
&
rt
);
GetClientRect
(
h
wnd
,
&
rt
);
MapWindowPoints
(
h
Parent
,
NULL
,
(
LPPOINT
)
&
rt
,
2
);
MapWindowPoints
(
h
wnd
,
hParent
,
(
LPPOINT
)
&
rt
,
2
);
}
}
OffsetViewportOrgEx
(
hdc
,
-
rt
.
left
,
-
rt
.
top
,
&
org
);
OffsetViewportOrgEx
(
hdc
,
-
rt
.
left
,
-
rt
.
top
,
&
org
);
...
...
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