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
61052164
Commit
61052164
authored
Apr 19, 2010
by
Jaime Rave
Committed by
Alexandre Julliard
Apr 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Draw the rect edges from left to right and top to bottom.
parent
06a9ff98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
uitools.c
dlls/user32/uitools.c
+8
-8
No files found.
dlls/user32/uitools.c
View file @
61052164
...
...
@@ -511,13 +511,13 @@ static BOOL UITOOLS95_DrawRectEdge(HDC hdc, LPRECT rc,
SelectObject
(
hdc
,
RBOuterPen
);
if
(
uFlags
&
BF_BOTTOM
)
{
MoveToEx
(
hdc
,
InnerRect
.
right
-
1
,
InnerRect
.
bottom
-
1
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
lef
t
-
1
,
InnerRect
.
bottom
-
1
);
MoveToEx
(
hdc
,
InnerRect
.
left
,
InnerRect
.
bottom
-
1
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
righ
t
-
1
,
InnerRect
.
bottom
-
1
);
}
if
(
uFlags
&
BF_RIGHT
)
{
MoveToEx
(
hdc
,
InnerRect
.
right
-
1
,
InnerRect
.
bottom
-
1
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
right
-
1
,
InnerRect
.
top
-
1
);
MoveToEx
(
hdc
,
InnerRect
.
right
-
1
,
InnerRect
.
top
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
right
-
1
,
InnerRect
.
bottom
);
}
/* Draw the inner edge */
...
...
@@ -535,13 +535,13 @@ static BOOL UITOOLS95_DrawRectEdge(HDC hdc, LPRECT rc,
SelectObject
(
hdc
,
RBInnerPen
);
if
(
uFlags
&
BF_BOTTOM
)
{
MoveToEx
(
hdc
,
InnerRect
.
right
-
1
-
R
Bpenplus
,
InnerRect
.
bottom
-
2
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
left
-
1
+
L
Bpenplus
,
InnerRect
.
bottom
-
2
);
MoveToEx
(
hdc
,
InnerRect
.
left
+
L
Bpenplus
,
InnerRect
.
bottom
-
2
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
right
-
1
-
R
Bpenplus
,
InnerRect
.
bottom
-
2
);
}
if
(
uFlags
&
BF_RIGHT
)
{
MoveToEx
(
hdc
,
InnerRect
.
right
-
2
,
InnerRect
.
bottom
-
1
-
RBpenplus
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
right
-
2
,
InnerRect
.
top
-
1
+
RTpenplus
);
MoveToEx
(
hdc
,
InnerRect
.
right
-
2
,
InnerRect
.
top
+
2
-
RBpenplus
,
NULL
);
LineTo
(
hdc
,
InnerRect
.
right
-
2
,
InnerRect
.
bottom
-
2
+
RTpenplus
);
}
if
(
((
uFlags
&
BF_MIDDLE
)
&&
retval
)
||
(
uFlags
&
BF_ADJUST
)
)
...
...
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