[mythtv] [#5465][PATCH] Adds on-when-clicked rollover capability to PushButtons

Reynaldo H. Verdejo Pinochet reynaldo at osp.fi
Tue Jun 24 01:17:42 UTC 2008


Hi List. first time around so please be gentle ;)

Found myself in the need of this functionality a few days ago
and decided to go give it a try at adding it. Patch against
mythtv/libs HEAD is attached here too to make the review process
easier. It basically just adds a new image element to UIPushButtonType
to act as a rollover when a pushed (and locked) button gets
focused (its 'overed'). I know this could also be implemented doing
button over button tricks but it felt like missing functionality.

The usage should be rather obvious from the patch but you basically
just add a new image to your pushbutton's xml definition:

<image function="pushed" filename="button_down.png"></image>

There is also a trac ticket assigned to this patch/issue at:

http://cvs.mythtv.org/trac/ticket/5465

Best regards and thanks for your time.
--
Reynaldo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adds_onwhenpushed_to_pushbuttons.diff
Type: text/x-patch
Size: 4042 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20080623/b4571964/attachment.bin 


More information about the mythtv-dev mailing list