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
c8c77f9b
Commit
c8c77f9b
authored
Aug 14, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetStringFormatLineAlign/GdipGetStringFormatLineAlign.
parent
d0cead32
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-0
stringformat.c
dlls/gdiplus/stringformat.c
+22
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
c8c77f9b
...
...
@@ -390,7 +390,7 @@
@ stub GdipGetStringFormatDigitSubstitution
@ stub GdipGetStringFormatFlags
@ stdcall GdipGetStringFormatHotkeyPrefix(ptr ptr)
@ st
ub GdipGetStringFormatLineAlign
@ st
dcall GdipGetStringFormatLineAlign(ptr ptr)
@ stub GdipGetStringFormatMeasurableCharacterRangeCount
@ stub GdipGetStringFormatTabStopCount
@ stub GdipGetStringFormatTabStops
...
...
@@ -589,7 +589,7 @@
@ stub GdipSetStringFormatDigitSubstitution
@ stub GdipSetStringFormatFlags
@ stdcall GdipSetStringFormatHotkeyPrefix(ptr long)
@ st
ub GdipSetStringFormatLineAlign
@ st
dcall GdipSetStringFormatLineAlign(ptr long)
@ stub GdipSetStringFormatMeasurableCharacterRanges
@ stub GdipSetStringFormatTabStops
@ stdcall GdipSetStringFormatTrimming(ptr long)
...
...
dlls/gdiplus/gdiplus_private.h
View file @
c8c77f9b
...
...
@@ -181,6 +181,7 @@ struct GpStringFormat{
StringAlignment
align
;
StringTrimming
trimming
;
HotkeyPrefix
hkprefix
;
StringAlignment
vertalign
;
};
#endif
dlls/gdiplus/stringformat.c
View file @
c8c77f9b
...
...
@@ -66,6 +66,17 @@ GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetStringFormatLineAlign
(
GpStringFormat
*
format
,
StringAlignment
*
align
)
{
if
(
!
format
||
!
align
)
return
InvalidParameter
;
*
align
=
format
->
vertalign
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetStringFormatTrimming
(
GpStringFormat
*
format
,
StringTrimming
*
trimming
)
{
...
...
@@ -99,6 +110,17 @@ GpStatus WINGDIPAPI GdipSetStringFormatHotkeyPrefix(GpStringFormat *format,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetStringFormatLineAlign
(
GpStringFormat
*
format
,
StringAlignment
align
)
{
if
(
!
format
)
return
InvalidParameter
;
format
->
vertalign
=
align
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetStringFormatTrimming
(
GpStringFormat
*
format
,
StringTrimming
trimming
)
{
...
...
include/gdiplusflat.h
View file @
c8c77f9b
...
...
@@ -253,9 +253,11 @@ GpStatus WINGDIPAPI GdipGetLogFontW(GpFont*,GpGraphics*,LOGFONTW*);
GpStatus
WINGDIPAPI
GdipCreateStringFormat
(
INT
,
LANGID
,
GpStringFormat
**
);
GpStatus
WINGDIPAPI
GdipGetStringFormatAlign
(
GpStringFormat
*
,
StringAlignment
*
);
GpStatus
WINGDIPAPI
GdipGetStringFormatHotkeyPrefix
(
GDIPCONST
GpStringFormat
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipGetStringFormatLineAlign
(
GpStringFormat
*
,
StringAlignment
*
);
GpStatus
WINGDIPAPI
GdipGetStringFormatTrimming
(
GpStringFormat
*
,
StringTrimming
*
);
GpStatus
WINGDIPAPI
GdipSetStringFormatAlign
(
GpStringFormat
*
,
StringAlignment
);
GpStatus
WINGDIPAPI
GdipSetStringFormatHotkeyPrefix
(
GpStringFormat
*
,
INT
);
GpStatus
WINGDIPAPI
GdipSetStringFormatLineAlign
(
GpStringFormat
*
,
StringAlignment
);
GpStatus
WINGDIPAPI
GdipSetStringFormatTrimming
(
GpStringFormat
*
,
StringTrimming
);
#ifdef __cplusplus
...
...
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