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
f875c804
Commit
f875c804
authored
May 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Implement GetForeColor().
parent
d7a1700a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
richole.c
dlls/riched20/richole.c
+7
-2
No files found.
dlls/riched20/richole.c
View file @
f875c804
...
...
@@ -219,6 +219,7 @@ static inline BOOL is_equal_textfont_prop_value(enum textfont_prop_id propid, te
switch
(
propid
)
{
case
FONT_BOLD
:
case
FONT_FORECOLOR
:
case
FONT_ITALIC
:
case
FONT_UNDERLINE
:
return
left
->
l
==
right
->
l
;
...
...
@@ -235,6 +236,7 @@ static inline void init_textfont_prop_value(enum textfont_prop_id propid, textfo
switch
(
propid
)
{
case
FONT_BOLD
:
case
FONT_FORECOLOR
:
case
FONT_ITALIC
:
case
FONT_UNDERLINE
:
v
->
l
=
tomUndefined
;
...
...
@@ -269,6 +271,9 @@ static HRESULT get_textfont_prop_for_pos(const IRichEditOleImpl *reole, int pos,
case
FONT_BOLD
:
value
->
l
=
fmt
.
dwEffects
&
CFE_BOLD
?
tomTrue
:
tomFalse
;
break
;
case
FONT_FORECOLOR
:
value
->
l
=
fmt
.
dwEffects
&
CFE_AUTOCOLOR
?
GetSysColor
(
COLOR_WINDOWTEXT
)
:
fmt
.
crTextColor
;
break
;
case
FONT_ITALIC
:
value
->
l
=
fmt
.
dwEffects
&
CFE_ITALIC
?
tomTrue
:
tomFalse
;
break
;
...
...
@@ -1868,8 +1873,8 @@ static HRESULT WINAPI TextFont_SetEmboss(ITextFont *iface, LONG value)
static
HRESULT
WINAPI
TextFont_GetForeColor
(
ITextFont
*
iface
,
LONG
*
value
)
{
ITextFontImpl
*
This
=
impl_from_ITextFont
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
value
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
value
);
return
get_textfont_propl
(
This
->
range
,
FONT_FORECOLOR
,
value
)
;
}
static
HRESULT
WINAPI
TextFont_SetForeColor
(
ITextFont
*
iface
,
LONG
value
)
...
...
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