[ROOT] TGHProgressBar drawing

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Thu Nov 01 2001 - 11:48:23 MET


Hello,

if I understand the code correctly TGHProgressBar::Setposition calls
TGHProgressBar::DoRedraw. DoRedraw redraws the progress bar
independantly of whether the progress bar changed or not (example: I
have a range of 0,1000 events and a progressbar of 100pixel. I call
SetPosition for any event, the progressbar is redrawn 1000times instead
of 100times) In some circumstances you may waste much time redrawing
something which is already visible. Is it possible to change this
behaviour?

Best regards,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET