HFONT hFont; /* cached font for the style */
TEXTMETRICW tm; /* cached font metrics for the style */
int nRefs; /* reference count */
+ SCRIPT_CACHE script_cache;
} ME_Style;
typedef enum {
#define MEPF_CELL 0x04 /* The paragraph is nested in a cell */
#define MEPF_ROWSTART 0x08 /* Hidden empty paragraph at the start of the row */
#define MEPF_ROWEND 0x10 /* Visible empty paragraph at the end of the row */
+#define MEPF_COMPLEX 0x20 /* Use uniscribe */
/******************************** structures *************************/
int nAscent, nDescent; /* pixels above/below baseline */
POINT pt; /* relative to para's position */
REOBJECT *ole_obj; /* FIXME: should be a union with strText (at least) */
+
+ SCRIPT_ANALYSIS script_analysis;
+ int num_glyphs, max_glyphs;
+ WORD *glyphs;
+ SCRIPT_VISATTR *vis_attrs;
+ int *advances;
+ GOFFSET *offsets;
+ int max_clusters;
+ WORD *clusters;
} ME_Run;
typedef struct tagME_Border
SCROLLINFO vert_si, horz_si;
BOOL bMouseCaptured;
+ int wheel_remain;
} ME_TextEditor;
typedef struct tagME_Context