[mythtv] no-fade OSD toggle

Chris Pinkham cpinkham at bc2va.org
Wed Apr 23 13:00:01 EDT 2003


I've got this in my cvs tree and will check it into main cvs shortly.

Thanks.  I should have done that to begin with; it was starting to annoy
me too.

> 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);

Chris

*****************************************************************************
** Chris Pinkham                  Linux v2.2.18, Sane v1.0.4, Cajun v3.0-8 **
** cpinkham at bc2va.org                          http://www.bc2va.org/chris/ **
*****************************************************************************


More information about the mythtv-dev mailing list