[mythtv-commits] mythtv commit: r16526 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Mar 12 23:33:40 UTC 2008


      Author: stuartm
        Date: 2008-03-12 23:33:39 +0000 (Wed, 12 Mar 2008)
New Revision: 16526
   Changeset: http://cvs.mythtv.org/trac/changeset/16526

Modified:

   trunk/mythtv/libs/libmythui/mythlistbutton.cpp
   trunk/mythtv/libs/libmythui/mythuibutton.cpp
   trunk/mythtv/libs/libmythui/mythuitext.cpp
   trunk/mythtv/libs/libmythui/xmlparsebase.cpp
   trunk/mythtv/libs/libmythui/xmlparsebase.h

Log:

Move parsing of alignment into the base class, xmlparsebase and allow combining of vertical and horizontal values.

<align>{horizontal},{vertical}</align>

e.g. <align>left, bottom</align>
     <align>right,vcenter</align>

The older form of <align>center</align>, <align>left</align> is still supported.

The behaviour of combining two vertical or two horizontal values is undefined. parseAlignment() may be modified to be stricter about the order and nature of values it accepts.

Refs #12






More information about the mythtv-commits mailing list