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

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Oct 22 14:34:02 UTC 2008


      Author: stuartm
        Date: 2008-10-22 14:34:02 +0000 (Wed, 22 Oct 2008)
New Revision: 18834
   Changeset: http://cvs.mythtv.org/trac/changeset/18834

Modified:

   trunk/mythtv/libs/libmythui/mythuibutton.cpp
   trunk/mythtv/libs/libmythui/mythuibutton.h
   trunk/mythtv/themes/default/base.xml

Log:

Adds a pushed state to MythUIButton, the button remains in the pushed state for 500ms after being clicked. It can optionally be 'locked' in a pushed state until UnPush() is called, this gives a little overlap with MythUICheckBox and shouldn't be used in place of a CheckBox as a settings or state toggle. It's intended for situations where the button should reflect that the action it initiated is ongoing and will complete automatically, e.g. Play in MythMusic. The XML has changed again, for which I apologise, but it allows for text style or position to change in different button states and mirrors MythUIButtonList.




More information about the mythtv-commits mailing list