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
ef2e53f9
Commit
ef2e53f9
authored
Oct 04, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Oct 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Move the wrap context struct into wrap.c .
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
df1b51df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
editstr.h
dlls/riched20/editstr.h
+0
-15
wrap.c
dlls/riched20/wrap.c
+14
-0
No files found.
dlls/riched20/editstr.h
View file @
ef2e53f9
...
...
@@ -460,19 +460,4 @@ typedef struct tagME_Context
ME_TextEditor
*
editor
;
}
ME_Context
;
typedef
struct
tagME_WrapContext
{
ME_Style
*
style
;
ME_Context
*
context
;
int
nLeftMargin
,
nRightMargin
,
nFirstMargin
;
int
nAvailWidth
;
int
nRow
;
POINT
pt
;
BOOL
bOverflown
,
bWordWrap
;
ME_DisplayItem
*
pPara
;
ME_DisplayItem
*
pRowStart
;
ME_DisplayItem
*
pLastSplittableRun
;
}
ME_WrapContext
;
#endif
dlls/riched20/wrap.c
View file @
ef2e53f9
...
...
@@ -33,6 +33,20 @@ WINE_DECLARE_DEBUG_CHANNEL(richedit_check);
* - no tabs
*/
typedef
struct
tagME_WrapContext
{
ME_Style
*
style
;
ME_Context
*
context
;
int
nLeftMargin
,
nRightMargin
,
nFirstMargin
;
int
nAvailWidth
;
int
nRow
;
POINT
pt
;
BOOL
bOverflown
,
bWordWrap
;
ME_DisplayItem
*
pPara
;
ME_DisplayItem
*
pRowStart
;
ME_DisplayItem
*
pLastSplittableRun
;
}
ME_WrapContext
;
static
BOOL
get_run_glyph_buffers
(
ME_Run
*
run
)
{
...
...
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