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
19a77a8b
Commit
19a77a8b
authored
Feb 10, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uxtheme: Use COLOR_BTNFACE to fill scroll bar background.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0457376c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
misc.c
dlls/comctl32/tests/misc.c
+2
-2
scroll.c
dlls/user32/tests/scroll.c
+0
-1
scrollbar.c
dlls/uxtheme/scrollbar.c
+3
-2
No files found.
dlls/comctl32/tests/misc.c
View file @
19a77a8b
...
...
@@ -888,8 +888,8 @@ static void test_themed_background(void)
{
WC_TREEVIEWA
,
0
,
treeview_seq
},
{
UPDOWN_CLASSA
,
0
,
empty_seq
},
{
WC_SCROLLBARA
,
0
,
scrollbar_seq
,
TRUE
},
{
WC_SCROLLBARA
,
SBS_SIZEBOX
,
empty_seq
,
TRUE
},
{
WC_SCROLLBARA
,
SBS_SIZEGRIP
,
empty_seq
,
TRUE
},
{
WC_SCROLLBARA
,
SBS_SIZEBOX
,
empty_seq
},
{
WC_SCROLLBARA
,
SBS_SIZEGRIP
,
empty_seq
},
};
uxtheme
=
LoadLibraryA
(
"uxtheme.dll"
);
...
...
dlls/user32/tests/scroll.c
View file @
19a77a8b
...
...
@@ -802,7 +802,6 @@ static void test_visual(void)
hdc
=
GetDC
(
hwnd
);
color
=
GetPixel
(
hdc
,
5
,
5
);
todo_wine_if
(
bThemeActive
)
ok
(
color
==
colors
[
1
],
"Expected color %#x, got %#x.
\n
"
,
colors
[
1
],
color
);
ReleaseDC
(
hwnd
,
hdc
);
...
...
dlls/uxtheme/scrollbar.c
View file @
19a77a8b
...
...
@@ -62,8 +62,9 @@ void WINAPI UXTHEME_ScrollBarDraw(HWND hwnd, HDC dc, INT bar, enum SCROLL_HITTES
else
state
=
SZB_RIGHTALIGN
;
if
(
IsThemeBackgroundPartiallyTransparent
(
theme
,
SBP_SIZEBOX
,
state
))
DrawThemeParentBackground
(
hwnd
,
dc
,
NULL
);
/* Tests show that COLOR_BTNFACE is used instead of DrawThemeParentBackground() for drawing
* background */
FillRect
(
dc
,
rect
,
GetSysColorBrush
(
COLOR_BTNFACE
));
DrawThemeBackground
(
theme
,
dc
,
SBP_SIZEBOX
,
state
,
rect
,
NULL
);
}
else
{
int
uppertrackstate
,
lowertrackstate
,
thumbstate
;
...
...
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