[mythtv-commits] Ticket #12683: Add Zoomable guide/EPG

MythTV noreply at mythtv.org
Thu Mar 10 11:41:41 UTC 2016

#12683: Add Zoomable guide/EPG
     Reporter:  rsiddons                         |      Owner:  stuartm
         Type:  Patch - Feature                  |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  MythTV - User Interface Library  |    Version:  Unspecified
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |  zoom,guide,epg
 Prompted by: https://forum.mythtv.org/viewtopic.php?t=1358&p=6554

 Allow themes to define zoomable guide widgets.
 When detected Zoom !In/Out menu options appear to allow user to switch
 between them.

 Also adds TV !Frontend/Zoom !In/Out key bindings but the number of
 different zoom bindings is growing - maybe they should be rationalised.

 The widgets that are zoomable is prescribed by the code and should be
 added to the Theme Development Guide.

 Zoomable theme widgets use the same principles as the Gallery - an integer
 suffix on the widget name indicates zoom level (0 = 'most zoomed out').
 eg. guidegrid0, guidegrid1, guidegrid2...

 Any number of zoom levels may be defined but they must be contiguous
 (discontiguous ones will be ignored)

 Each widget may define different zoom levels. For zoom levels above those
 defined, the last widget will be used. eg. If a theme defines guidegrid0,
 guidegrid1, guidegrid2, timelist0, timelist1, then timelist1 will also be
 used for zoom level 2.

 Backwards-compatible with existing themes, for which no zoom options
 appear and behaviour is unchanged. (An absent zoom suffix is equivalent to
 suffix "0").

 Code defaults to zoom level 0 until user creates the setting by zooming.
 It could easily default to most zoomed in, but there's no simple way for
 theme to specify the default zoom level.

 The theme file attached merges the modifications from the above thread
 with Mythbuntu 28.20. It's not pretty (different base theme versions ?)
 but serves as a demo and an example of how to easily define zoomable
 widgets. It would be even easier if relative sizing
 (<area>0,50%,100%,20%</area>) were used.

Ticket URL: <https://code.mythtv.org/trac/ticket/12683>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list