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
0990d37d
Commit
0990d37d
authored
Oct 01, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Forward CreateRenderingParams() to CreateMonitorRenderingParams() with primary monitor.
parent
7707ca7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Makefile.in
dlls/dwrite/Makefile.in
+1
-1
main.c
dlls/dwrite/main.c
+9
-2
No files found.
dlls/dwrite/Makefile.in
View file @
0990d37d
MODULE
=
dwrite.dll
MODULE
=
dwrite.dll
IMPORTLIB
=
dwrite
IMPORTLIB
=
dwrite
IMPORTS
=
gdi32
IMPORTS
=
user32
gdi32
C_SRCS
=
\
C_SRCS
=
\
font.c
\
font.c
\
...
...
dlls/dwrite/main.c
View file @
0990d37d
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winuser.h"
#include "initguid.h"
#include "initguid.h"
#include "dwrite.h"
#include "dwrite.h"
...
@@ -249,8 +250,14 @@ static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory *iface,
...
@@ -249,8 +250,14 @@ static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory *iface,
static
HRESULT
WINAPI
dwritefactory_CreateRenderingParams
(
IDWriteFactory
*
iface
,
IDWriteRenderingParams
**
params
)
static
HRESULT
WINAPI
dwritefactory_CreateRenderingParams
(
IDWriteFactory
*
iface
,
IDWriteRenderingParams
**
params
)
{
{
FIXME
(
"(%p): stub
\n
"
,
params
);
HMONITOR
monitor
;
return
E_NOTIMPL
;
POINT
pt
;
TRACE
(
"(%p)
\n
"
,
params
);
pt
.
x
=
pt
.
y
=
0
;
monitor
=
MonitorFromPoint
(
pt
,
MONITOR_DEFAULTTOPRIMARY
);
return
IDWriteFactory_CreateMonitorRenderingParams
(
iface
,
monitor
,
params
);
}
}
static
HRESULT
WINAPI
dwritefactory_CreateMonitorRenderingParams
(
IDWriteFactory
*
iface
,
HMONITOR
monitor
,
static
HRESULT
WINAPI
dwritefactory_CreateMonitorRenderingParams
(
IDWriteFactory
*
iface
,
HMONITOR
monitor
,
...
...
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