Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3a508e60
Commit
3a508e60
authored
Jan 07, 2008
by
Divan Burger
Committed by
Alexandre Julliard
Jan 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Modernize the look of the selected colour box in the colour dialog.
parent
285c9fc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
colordlg.c
dlls/comdlg32/colordlg.c
+2
-10
No files found.
dlls/comdlg32/colordlg.c
View file @
3a508e60
...
...
@@ -441,16 +441,8 @@ void CC_PaintSelectedColor( HWND hDlg, COLORREF cr )
hBrush
=
CreateSolidBrush
(
cr
);
if
(
hBrush
)
{
hBrush
=
SelectObject
(
hdc
,
hBrush
)
;
Rectangle
(
hdc
,
rect
.
left
,
rect
.
top
,
rect
.
right
/
2
,
rect
.
bottom
);
DeleteObject
(
SelectObject
(
hdc
,
hBrush
)
)
;
hBrush
=
CreateSolidBrush
(
GetNearestColor
(
hdc
,
cr
)
);
if
(
hBrush
)
{
hBrush
=
SelectObject
(
hdc
,
hBrush
)
;
Rectangle
(
hdc
,
rect
.
right
/
2
-
1
,
rect
.
top
,
rect
.
right
,
rect
.
bottom
);
DeleteObject
(
SelectObject
(
hdc
,
hBrush
))
;
}
FillRect
(
hdc
,
&
rect
,
hBrush
);
DrawEdge
(
hdc
,
&
rect
,
BDR_SUNKENOUTER
,
BF_RECT
);
}
ReleaseDC
(
hwnd
,
hdc
);
}
...
...
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