Commit ef2e53f9 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Move the wrap context struct into wrap.c .

parent df1b51df
...@@ -460,19 +460,4 @@ typedef struct tagME_Context ...@@ -460,19 +460,4 @@ typedef struct tagME_Context
ME_TextEditor *editor; ME_TextEditor *editor;
} ME_Context; } 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 #endif
...@@ -33,6 +33,20 @@ WINE_DECLARE_DEBUG_CHANNEL(richedit_check); ...@@ -33,6 +33,20 @@ WINE_DECLARE_DEBUG_CHANNEL(richedit_check);
* - no tabs * - 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 ) static BOOL get_run_glyph_buffers( ME_Run *run )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment