0001-Changes-to-Context.c-for-EM_FORMATRANGE

James McKenzie jjmckenzie51 at earthlink.net
Mon Feb 15 15:18:19 CST 2010


---
 dlls/riched20/editstr.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dlls/riched20/editstr.h b/dlls/riched20/editstr.h
index 9b8d645..b40d7cb 100644
--- a/dlls/riched20/editstr.h
+++ b/dlls/riched20/editstr.h
@@ -385,15 +385,34 @@ typedef struct tagME_TextEditor
   BOOL bMouseCaptured;
 } ME_TextEditor;
 
+typedef struct tagME_StyleMapping
+{
+  ME_Style *from;
+  ME_Style *to;
+  struct tagME_StyleMapping *next;
+} ME_StyleMapping;
+
+typedef struct tagME_StyleMap
+{
+  ME_StyleMapping *first;
+} ME_StyleMap;
+
+
 typedef struct tagME_Context
 {
   HDC hDC;
+  HDC hdcTarget;
+  BOOL bClip;
+  BOOL bHideSelection;
+  BOOL bWordWrap;
   POINT pt;
   POINT ptRowOffset;
   RECT rcView;
   HBRUSH hbrMargin;
   SIZE dpi;
+  SIZE dpiTarget;
   int nAvailWidth;
+  int nZoomNumerator, nZoomDenominator;
 
   /* those are valid inside ME_WrapTextParagraph and related */
   POINT ptFirstRun;
-- 
1.6.6


--------------010203020204040601080505--



More information about the wine-devel mailing list