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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Sep 30 19:25:24 UTC 2008


      Author: stuartm
        Date: 2008-09-30 19:25:24 +0000 (Tue, 30 Sep 2008)
New Revision: 18522
   Changeset: http://cvs.mythtv.org/trac/changeset/18522

Added:

   trunk/mythtv/themes/default/textedit_background_selected.png

Modified:

   trunk/mythtv/libs/libmythdb/mythversion.h
   trunk/mythtv/libs/libmythui/mythuiimage.h
   trunk/mythtv/libs/libmythui/mythuitextedit.cpp
   trunk/mythtv/libs/libmythui/mythuitextedit.h
   trunk/mythtv/themes/default/base.xml
   trunk/mythtv/themes/default/textedit_background.png

Log:

Change the format of XML used to define a textedit. This is arguably a less concise form and not as pretty as what it replaces, however it's a small price to pay for increased power it gives to themers and the extensibility it provides. This format has already been adopted for MythUIButtonList and MythUIProgressBar.

In brief it allows any formatting and styling to be applied to individual components of the widget. It can have animated backgrounds and cursors, colour cycling text and unusual shapes etc. New features added to component widgets (MythUIText, MythUIImage, MythUIStateType) become instantly available without the need to modify or extend this widget. The extra xml is balanced by inheritance.

Took the opportunity to add different backgrounds depending on state, which had been missing until now. It should be easier to tell which TextEdit is selected.






More information about the mythtv-commits mailing list