[mythtv] no-fade OSD toggle

Andy Davidoff dert at pobox.com
Wed Apr 23 04:56:51 EDT 2003


I'd like the pause/info OSD elements not to fade beneath each
other when I toggle back-n-forth using 'I' while in playback...


Index: libs/libmythtv/tv_play.cpp
===================================================================
RCS file: /var/lib/cvs/MC/libs/libmythtv/tv_play.cpp,v
retrieving revision 1.53
diff -u -d -r1.53 tv_play.cpp
--- libs/libmythtv/tv_play.cpp	23 Apr 2003 01:51:03 -0000	1.53
+++ libs/libmythtv/tv_play.cpp	23 Apr 2003 07:52:30 -0000
@@ -1267,7 +1267,7 @@
     oset = osd->GetSet("status");
     if ((oset) && (oset->Displaying()))
     {
-        osd->HideSet("status");
+        oset->Display(false);
 
         QMap<QString, QString> regexpMap;
         playbackinfo->ToMap(regexpMap);
@@ -1275,7 +1275,8 @@
     }
     else
     {
-        osd->HideSet("program_info");
+        oset = osd->GetSet("program_info");
+        oset->Display(false);
 
         QString desc = "";
         int pos = calcSliderPos(0, desc);


More information about the mythtv-dev mailing list