[mythtv] [mythtv-commits] mythtv commit: r15077 by stuartm

Stuart Morgan stuart at tase.co.uk
Fri Dec 7 14:34:53 UTC 2007


On Friday 07 December 2007 14:00:28 Paul Harrison wrote:
> mythtv at cvs.mythtv.org wrote:
> >       Author: stuartm
> >         Date: 2007-12-07 11:38:13 +0000 (Fri, 07 Dec 2007)
> > New Revision: 15077
> >    Changeset: http://cvs.mythtv.org/trac/changeset/15077
> >
> > Modified:
> >
> >    trunk/mythplugins/mythgallery/mythgallery/iconview.cpp
> >    trunk/mythplugins/mythgallery/mythgallery/iconview.h
> >
> > Log:
> >
> > Fix a bug in mythgallery where the image grid was using the 'view'
> > container dimensions instead of the 'view' blackhole.
> >
> > Improved the row, col and spacing calculations so themers can have
> > more control over the layout by varying the blackhole area.
>
> Maybe it should be updated to use the UIImageGridType? It would allow
> themers a lot more flexibility to choose what layout they want (row,
> columns, spacing, text alignment etc).

My intention is to port the UIImageGridType or create something similar to it 
in libmythui, then use that when mythgallery is switched over. The changes I 
made today are just short term, quick fixes for the short comings of the 
existing method.

If it weren't for the mythui port, then I'd probably have changed a lot more 
in mythgallery, it's UI could use a lot of work, not least because it looks 
and behaves differently to most other screens. If possible and assuming I can 
get agreement, then I'd like to style it closer to the video gallery (Menu 
not on screen all the time, thumbnails  not shown on folders and folder/image 
names shown beneath the icons, not in a separate textarea.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list