[mythtv-commits] Ticket #731: Unify playback and livetv infoOSD,
add small and large proginfo OSDs
MythTV
mythtv at cvs.mythtv.org
Tue Nov 29 21:20:03 EST 2005
#731: Unify playback and livetv infoOSD, add small and large proginfo OSDs
-------------------------------------+--------------------------------------
Reporter: bmayland at leoninedev.com | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium |
-------------------------------------+--------------------------------------
This patch modifies playback in mythtv tv_play such that WatchingLiveTV,
WatchingRecording, and WatchingPreRecorded all call the same method to
toggle the OSD. In addition it adds support for multiple program_info
OSDs. The pseudocode for which is displayed looks something like this:
{{{
WatchingLiveTV:
On INFO command
If nothing displaying
If has smallinfo
display smallinfo
Else
display longinfo
Else If smallinfo displaying
If has longinfo
display longinfo
Else
HideAll
Else If longinfo displaying
HideAll
WatchingPlayback:
If nothing displaying
display status
If status displaying
Use WatchingLiveTV logic
}}}
It also adds some utility functions OSD::IsSetDisplaying() and
OSD::HasSet().[[br]]
Side effects: [[br]]
TV::ToggleOSD now takes param (bool includeStatusOSD)[[br]]
renames TV::UpdateOSD to TV::UpdateOSDProgInfo[[br]]
removes TV::DoInfo (replaced with ToggleOSD)[[br]]
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/731>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list