Subject: Commit: Fix bugs 1056 and 119. More scroll speed ups.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Jun 11 2001 - 21:23:52 CDT
Finally fix bugs 1056 and 119. No more scroll induced dirt. Redraw
performance substantially improved.
This was accomplished by having a background repainter run every 100 ms.
It repaints a rectangle held in the gr_graphics class if there is an
unpainted area present. The scroll method expands this area by the size of
the scroll. Expose events get merged into the area. The pending area is
expanded to cover the area o fhtese expose events.
If a similar bug exists on other platforms, the mainters of thse platforms
might want to take a look at this code and that in xap_UnixFrame.cpp
I changed some files on other platfroms again. I made have made typo
becuase I can't compile to check.
Also fixed scroll bugs in the leftruler using this code.
If we wanted to we could go back to showing a greyed out ruler on all
pages now.
Cheers
Martin
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/gr/beos/gr_BeOSGraphics.cpp
CVS: src/af/gr/beos/gr_BeOSGraphics.h
CVS: src/af/gr/mac/gr_MacGraphics.cpp
CVS: src/af/gr/mac/gr_MacGraphics.h
CVS: src/af/gr/qnx/gr_QNXGraphics.cpp
CVS: src/af/gr/qnx/gr_QNXGraphics.h
CVS: src/af/gr/unix/gr_UnixGraphics.cpp
CVS: src/af/gr/unix/gr_UnixGraphics.h
CVS: src/af/gr/win/gr_Win32Graphics.cpp
CVS: src/af/gr/win/gr_Win32Graphics.h src/af/gr/xp/gr_Graphics.cpp
CVS: src/af/gr/xp/gr_Graphics.h src/af/util/xp/ut_iconv.cpp
CVS: src/af/util/xp/ut_iconv.h src/af/util/xp/ut_misc.cpp
CVS: src/af/xap/unix/xap_UnixFrame.cpp
CVS: src/af/xap/unix/xap_UnixFrame.h
CVS: src/af/xap/unix/xap_UnixPSGraphics.cpp
CVS: src/af/xap/unix/xap_UnixPSGraphics.h
CVS: src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.cpp
CVS: src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.h
CVS: src/af/xap/xp/xap_Frame.cpp src/af/xap/xp/xap_Frame.h
CVS: src/text/fmt/xp/fp_Line.cpp src/text/fmt/xp/fp_Run.cpp
CVS: src/text/fmt/xp/fp_TextRun.cpp src/text/fmt/xp/fv_View.cpp
CVS: src/wp/ap/unix/ap_UnixLeftRuler.cpp
CVS: src/wp/ap/unix/ap_UnixLeftRuler.h
CVS: src/wp/ap/xp/ap_LeftRuler.cpp src/wp/ap/xp/ap_LeftRuler.h
CVS: src/wp/ap/xp/ap_TopRuler.cpp
CVS: ----------------------------------------------------------------------
This archive was generated by hypermail 2b25 : Mon Jun 11 2001 - 21:24:46 CDT