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
53c6cdf9
Commit
53c6cdf9
authored
Jan 31, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Get the background colour in ANIMATE_PaintFrame, instead of just in WM_PAINT.
This fixes the rendering of transparent animations when using a background thread.
parent
7bc9e425
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
animate.c
dlls/comctl32/animate.c
+3
-5
No files found.
dlls/comctl32/animate.c
View file @
53c6cdf9
...
...
@@ -317,6 +317,9 @@ static BOOL ANIMATE_PaintFrame(ANIMATE_INFO* infoPtr, HDC hDC)
rect
.
right
=
nWidth
;
rect
.
bottom
=
nHeight
;
infoPtr
->
hbrushBG
=
(
HBRUSH
)
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_CTLCOLORSTATIC
,
(
WPARAM
)
hDC
,
(
LPARAM
)
infoPtr
->
hwndSelf
);
if
(
!
infoPtr
->
hbrushBG
)
infoPtr
->
hbrushBG
=
GetCurrentObject
(
hDC
,
OBJ_BRUSH
);
...
...
@@ -929,11 +932,6 @@ static LRESULT WINAPI ANIMATE_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LP
return
DefWindowProcW
(
hWnd
,
uMsg
,
wParam
,
lParam
);
}
if
(
infoPtr
->
dwStyle
&
ACS_TRANSPARENT
)
infoPtr
->
hbrushBG
=
(
HBRUSH
)
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_CTLCOLORSTATIC
,
wParam
,
(
LPARAM
)
infoPtr
->
hwndSelf
);
if
(
wParam
)
{
EnterCriticalSection
(
&
infoPtr
->
cs
);
...
...
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