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
802ab38f
Commit
802ab38f
authored
Mar 26, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Selection and abbreviations should use title colour.
parent
6d4b9602
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
monthcal.c
dlls/comctl32/monthcal.c
+2
-4
No files found.
dlls/comctl32/monthcal.c
View file @
802ab38f
...
...
@@ -668,7 +668,6 @@ static void MONTHCAL_DrawDay(const MONTHCAL_INFO *infoPtr, HDC hdc, const SYSTEM
RECT
r
,
r_temp
;
static
BOOL
bold_selected
;
BOOL
selected_day
=
FALSE
;
HBRUSH
hbr
;
COLORREF
oldCol
=
0
;
COLORREF
oldBk
=
0
;
...
...
@@ -686,8 +685,7 @@ static void MONTHCAL_DrawDay(const MONTHCAL_INFO *infoPtr, HDC hdc, const SYSTEM
TRACE
(
"%s
\n
"
,
wine_dbgstr_rect
(
&
r
));
oldCol
=
SetTextColor
(
hdc
,
infoPtr
->
colors
[
MCSC_MONTHBK
]);
oldBk
=
SetBkColor
(
hdc
,
infoPtr
->
colors
[
MCSC_TRAILINGTEXT
]);
hbr
=
GetSysColorBrush
(
COLOR_HIGHLIGHT
);
FillRect
(
hdc
,
&
r
,
hbr
);
FillRect
(
hdc
,
&
r
,
infoPtr
->
brushes
[
MCSC_TITLEBK
]);
selected_day
=
TRUE
;
}
...
...
@@ -1013,7 +1011,7 @@ static void MONTHCAL_PaintCalendar(const MONTHCAL_INFO *infoPtr, HDC hdc, const
/* draw day abbreviations */
SelectObject
(
hdc
,
infoPtr
->
hFont
);
SetBkColor
(
hdc
,
infoPtr
->
colors
[
MCSC_MONTHBK
]);
SetTextColor
(
hdc
,
infoPtr
->
colors
[
MCSC_T
RAILINGTEXT
]);
SetTextColor
(
hdc
,
infoPtr
->
colors
[
MCSC_T
ITLEBK
]);
/* rectangle to draw a single day abbreviation within */
r
=
infoPtr
->
calendars
[
calIdx
].
wdays
;
r
.
right
=
r
.
left
+
infoPtr
->
width_increment
;
...
...
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