[mythtv] [PATCH] Finalized System Status (uitypes) + UIListType change

Kevin Kuphal kuphal at dls.net
Sun Jul 25 19:52:57 EDT 2004


This patch is the latest (and I hope last for a bit) version of the 
System Status update using uitypes and also includes a change to the 
UIListType previously posted.

Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statusbox.tar.gz
Type: application/octet-stream
Size: 5527 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040725/78908684/statusbox.tar.obj
-------------- next part --------------
Index: mythtv/libs/libmyth/uitypes.h
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/uitypes.h,v
retrieving revision 1.52
diff -n -u -r1.52 uitypes.h
--- mythtv/libs/libmyth/uitypes.h	25 Jun 2004 21:26:02 -0000	1.52
+++ mythtv/libs/libmyth/uitypes.h	25 Jul 2004 15:19:58 -0000
@@ -372,6 +372,8 @@
                           m_fonts = fonts; m_fontfcns = fontfcn; }
     void EnableForcedFont(int num, QString func) { forceFonts[num] = m_fonts[func]; }
 
+    int GetCurrentItem() { return m_current; }
     int GetItems() { return m_count; }
     QString GetItemText(int, int col = 1);
     void ResetList() { listData.clear(); forceFonts.clear(); 


More information about the mythtv-dev mailing list