Eric Pouech : richedit: Optimizations for the style selection.

Alexandre Julliard julliard at winehq.org
Wed Jan 2 07:34:57 CST 2008


Module: wine
Branch: master
Commit: f43570cbf0cc8b631287313718eeffdf76a29c6f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f43570cbf0cc8b631287313718eeffdf76a29c6f

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Tue Jan  1 22:05:33 2008 +0100

richedit: Optimizations for the style selection.

Use a ME_Context for style selection/unselection.
Store the (x,y) dpi information for a given DC in the corresponding ME_Context structure.

---

 dlls/riched20/context.c |    2 +
 dlls/riched20/editor.h  |    9 +++---
 dlls/riched20/editstr.h |    1 +
 dlls/riched20/paint.c   |   46 ++++++++++++++++++--------------
 dlls/riched20/run.c     |   68 +++++++++++++++++++++-------------------------
 dlls/riched20/style.c   |   38 ++++++++++----------------
 dlls/riched20/wrap.c    |   14 ++++-----
 7 files changed, 86 insertions(+), 92 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=f43570cbf0cc8b631287313718eeffdf76a29c6f



More information about the wine-cvs mailing list