Add a few definitions in preparation for RichEdit overhaul

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Nov 17 18:29:56 CST 2002


Hi,

Just submitting a few changes I've made in the process of an overhaul of the
RichEdit control. I will submit the rest of the changes once I've managed to
get at least equivalent functionality of the current implementation.

ChangeLog:
- Add some RichEdit 2.0/3.0 definitions
-------------- next part --------------
Index: wine/include/richedit.h
===================================================================
RCS file: /home/wine/wine/include/richedit.h,v
retrieving revision 1.13
diff -u -r1.13 richedit.h
--- wine/include/richedit.h	16 Sep 2002 19:29:36 -0000	1.13
+++ wine/include/richedit.h	18 Nov 2002 00:05:10 -0000
@@ -295,9 +295,28 @@
 #define CFE_UNDERLINE         0x00000004
 #define CFE_STRIKEOUT         0x00000008
 #define CFE_PROTECTED         0x00000010
+#define CFE_LINK              0x00000020
 #define CFE_SUBSCRIPT         0x00010000
-#define CFE_SUPERSCRIPT	      0x00020000
+#define CFE_SUPERSCRIPT       0x00020000
 #define CFE_AUTOCOLOR         0x40000000
+
+#define CFE_SMALLCAPS         CFM_SMALLCAPS
+#define CFE_ALLCAPS           CFM_ALLCAPS
+#define CFE_HIDDEN            CFM_HIDDEN
+#define CFE_OUTLINE           CFM_OUTLINE
+#define CFE_SHADOW            CFM_SHADOW
+#define CFE_EMBOSS            CFM_EMBOSS
+#define CFE_IMPRINT           CFM_IMPRINT
+#define CFE_DISABLED          CFM_DISABLED
+#define CFE_REVISED           CFM_REVISED
+
+#define CFU_CF1UNDERLINE      0xFF
+#define CFU_INVERT            0xFE
+#define CFU_UNDERLINEDOTTED   0x04
+#define CFU_UNDERLINEDOUBLE   0x03
+#define CFU_UNDERLINEWORD     0x02
+#define CFU_UNDERLINE         0x01
+#define CFU_UNDERLINENONE     0x00
 
 /* ECO operations */
 #define ECOOP_SET             0x0001


More information about the wine-patches mailing list