First patch for EM_FORMATRANGE changes. Makes changes to dlls/riched20/context.c

James McKenzie jjmckenzie51 at earthlink.net
Tue Feb 16 21:08:52 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


--------------060300020100000409080108--



More information about the wine-patches mailing list