[mythtv-commits] mythtv commit: r18341 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Sep 21 13:29:38 UTC 2008


      Author: stuartm
        Date: 2008-09-21 13:29:38 +0000 (Sun, 21 Sep 2008)
New Revision: 18341
   Changeset: http://cvs.mythtv.org/trac/changeset/18341

Modified:

   trunk/mythtv/libs/libmythui/mythuibuttonlist.cpp
   trunk/mythtv/libs/libmythui/mythuibuttonlist.h
   trunk/mythtv/libs/libmythui/mythuiimage.cpp
   trunk/mythtv/libs/libmythui/mythuiprogressbar.cpp
   trunk/mythtv/libs/libmythui/mythuitext.cpp
   trunk/mythtv/libs/libmythui/mythuitype.cpp

Log:

Main part of this commit is efficiency fixes for MythUIButtonList, it reduces the number of times we hit SetPositionArrowStates() and gives at least a three-fold speed increase on the mythvideo gallery. Second part uses Reset in SetToRealButton() to clear old text or images on a button. The other parts tweak Reset() to avoid unnecessary redraws.




More information about the mythtv-commits mailing list