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
50c21449
Commit
50c21449
authored
Feb 15, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Feb 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix graphical error on themed progress bars.
parent
70736132
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
progress.c
dlls/comctl32/progress.c
+14
-4
No files found.
dlls/comctl32/progress.c
View file @
50c21449
...
...
@@ -280,23 +280,33 @@ static void draw_theme_bar_V (const ProgressDrawInfo* di, int start, int end)
/* draw themed horizontal background from 'start' to 'end' */
static
void
draw_theme_bkg_H
(
const
ProgressDrawInfo
*
di
,
int
start
,
int
end
)
{
RECT
r
;
RECT
bgrect
,
r
;
r
.
left
=
di
->
rect
.
left
+
start
;
r
.
top
=
di
->
rect
.
top
;
r
.
right
=
di
->
rect
.
left
+
end
;
r
.
bottom
=
di
->
rect
.
bottom
;
DrawThemeBackground
(
di
->
theme
,
di
->
hdc
,
PP_BAR
,
0
,
&
di
->
bgRect
,
&
r
);
bgrect
=
di
->
bgRect
;
OffsetRect
(
&
bgrect
,
-
bgrect
.
left
,
-
bgrect
.
top
);
DrawThemeBackground
(
di
->
theme
,
di
->
hdc
,
PP_BAR
,
0
,
&
bgrect
,
&
r
);
}
/* draw themed vertical background from 'start' to 'end' */
static
void
draw_theme_bkg_V
(
const
ProgressDrawInfo
*
di
,
int
start
,
int
end
)
{
RECT
r
;
RECT
bgrect
,
r
;
r
.
left
=
di
->
rect
.
left
;
r
.
top
=
di
->
rect
.
bottom
-
end
;
r
.
right
=
di
->
rect
.
right
;
r
.
bottom
=
di
->
rect
.
bottom
-
start
;
DrawThemeBackground
(
di
->
theme
,
di
->
hdc
,
PP_BARVERT
,
0
,
&
di
->
bgRect
,
&
r
);
bgrect
=
di
->
bgRect
;
OffsetRect
(
&
bgrect
,
-
bgrect
.
left
,
-
bgrect
.
top
);
DrawThemeBackground
(
di
->
theme
,
di
->
hdc
,
PP_BARVERT
,
0
,
&
bgrect
,
&
r
);
}
/* drawing functions for themed style */
...
...
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