[mythtv-commits] mythtv commit: r22441 - in trunk/mythtv/libs by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Oct 14 10:31:42 UTC 2009

      Author: stuartm
        Date: 2009-10-14 10:31:42 +0000 (Wed, 14 Oct 2009)
New Revision: 22441
   Changeset: http://cvs.mythtv.org/trac/changeset/22441




Allow gradient fills in mythuishape (deprecating gradients using mythuiimage). We support 'canned' two colour gradients in three directions, Horizontal, Vertical and Diagonal, or with more xml custom gradients with any number of defined stop points, colours and alpha levels. Currently it takes advantage of the fact that shapes are drawn with QT and not the painters as they should be. When an experienced GL dev is able to take a look this will change. QBrush, QPen and QLinearGradient are used as ready made structs for the fill/line/gradient attributes instead of creating our own, other painters can retrieve the necessary information back from them so this doesn't lock-in the need to use QT painting.

More information about the mythtv-commits mailing list