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>
This commit is contained in:
parent
df1b51dfa4
commit
ef2e53f981
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue