This patch allows the OSD menus to wrap vertically. Pressing UP at the top will wrap to the bottom and visa-versa. I find this most useful on the pop-up for the end of a recording to get to the Delete option without going down 3 times.

Kevin
Index: mythtv/libs/libmythtv/osdtypes.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/osdtypes.cpp,v
retrieving revision 1.58
diff -n -u -r1.58 osdtypes.cpp
--- mythtv/libs/libmythtv/osdtypes.cpp  1 Apr 2005 02:38:31 -0000       1.58
+++ mythtv/libs/libmythtv/osdtypes.cpp  18 Apr 2005 00:43:17 -0000
@@ -1498,12 +1498,16 @@
 {
     if (m_curposition > m_offset)
         m_curposition--;
+    else if (m_curposition == m_offset)
+        m_curposition = m_numpositions - 1;
 }
 
 void OSDTypePositionIndicator::PositionDown(void)
 {
     if (m_curposition < m_numpositions - 1)
         m_curposition++;
+    else if (m_curposition == m_numpositions - 1) 
+        m_curposition = m_offset;
 }
 
 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to