[mythtv] [PATCH] wrapping navigation for menus
Joseph A. Caputo
jcaputo1 at comcast.net
Tue Feb 3 11:05:36 EST 2004
The attached patch implements a rudimentary 'wrapping' behavior for
ThemedMenu. It's kind of a hack; it doesn't handle PgUp/PgDown at all, and
it doesn't do anything to adjust the screen position of the menu (i.e., if
you 'wrap' back from the top of a single-column menu to the bottom, the whole
display shifts so that the current item is now at the bottom).
It's not elegant, but at least it relieves some of the tedium associated with
navigating menus with lots of items.
Oh, and for multi-column menus (blue theme, e.g.), column wrapping is also
implemented. Moving off the end of a column will also increment/decrement
the current row.
-JAC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: themedmenu.diff
Type: text/x-diff
Size: 1588 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040203/10a7cd46/themedmenu.bin
More information about the mythtv-dev
mailing list