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
49936036
Commit
49936036
authored
Sep 03, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Sep 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight 1 pixel adjustment on the position of the radio button bitmap.
parent
5dc576b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
button.c
controls/button.c
+6
-0
No files found.
controls/button.c
View file @
49936036
...
...
@@ -695,6 +695,12 @@ static void CB_Paint( WND *wndPtr, HDC hDC, WORD action )
((
wndPtr
->
dwStyle
&
0x0f
)
==
BS_AUTORADIOBUTTON
))
y
+=
checkBoxHeight
;
else
if
(
infoPtr
->
state
&
BUTTON_3STATE
)
y
+=
2
*
checkBoxHeight
;
/* The bitmap for the radio button is not aligned with the
* left of the window, it is 1 pixel off. */
if
(((
wndPtr
->
dwStyle
&
0x0f
)
==
BS_RADIOBUTTON
)
||
((
wndPtr
->
dwStyle
&
0x0f
)
==
BS_AUTORADIOBUTTON
))
rbox
.
left
+=
1
;
SelectObject
(
hMemDC
,
hbitmapCheckBoxes
);
BitBlt
(
hDC
,
rbox
.
left
,
rbox
.
top
+
delta
,
checkBoxWidth
,
checkBoxHeight
,
hMemDC
,
x
,
y
,
SRCCOPY
);
...
...
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