--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: 
> Gustavo Sverzut Barbieri wrote:
> >  --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut
> Barbieri
> >> Maybe it's better to help with ideas than with the code itself.
> There
> >> are some undocumented things right now which aren't easy to
> >> unterstand. 
> >
> > Sure... :)
> 
> There are some points you can help (since it's your code). 
> 
> First of all, I don't like the behavior of UP/DOWN in the tv
> menu. Select an item, than move up and down some times and go back to
> the channel from the beginning. There is a different item selected
> now. 
> Maye you shouldn't take the start time of the current item as
> start time and remember a start time when you moved LEFT/RIGHT the
> last time. 


Yes... that's the behaviour of my DirecTV and it's ok imo. But feel
free to change if it annoys you. I don't use the TV Guide myself. I
just did it 'cause the older one was ugly enough to make me change it
even don't using it :)


> Also it would be great if UP/DOWN/LEFT/RIGHT wouldn't
> rebuild the table all the time, only change self.selected if the
> table
> is still the same. BTW,

Huum... I really don't remember the code, need to review it if you
want.
But really I see no reason that couldn't be done easily... I think I
was not so dumb that time :)

> I don't use your ExtendedMenu anymore, your
> code is now in tv/tvmenu.py.
> 

Ok, great... I hope it now fits in our new XML skin.



> The second thing is drawstringframed. Do know the area this function
> will draw I want the coordinates back. I hacked it into the
> soft-function some time ago, the hard-function is still not
> ready. Since it's your code, maybe you could add that. I also would
> like to have a pretend-to-draw function. I only want the coordinates,
> don't draw. Right now I use a dummy layer for that, but that's not
> the
> correct way of doing it. Maybe color==None will be the pretend-mode.
> 

Do you want the draw area? The area it may draw you pass as parameter.
but it's easy to do. It now returns the not-draw string. But as you
know the x0,y0 and the x,y (last draw) you can make:
return_y = y # last draw X
return_x = (y > y0) ? x0+width : x # return x if we only have one line
or the x+width if we have more than 1 lines



> >> Proposal:
> >> 
> >> <menu type="audio"> <!-- definition of audio menus -->
> >>   <use image="my image" text="my text menu with info"/>
> >>   <use image="" text="my text menu"/>
> >> </menu>
> >>
> >> I don't like the name "use", but I already use "layout". 
> >
> > What about style or variant.
> 
> Sounds both ok for me. If we want to name it layout, maybe we could
> rename the current layout tag. But style is also ok.
>

ok.

 
> >
> >
> >>This menu
> >> set
> >> defines that DISPLAY should toggle between these two "use" types
> (I
> >> _really_ don't like "use"). The first one (default) has an image
> >> version and a text version. Normally "my image" will be taken, if
> all
> >> covers look the same, "my text menu with info" is displayed. If
> you
> >> press DISPLAY you toggle. There is no image version, so it's text
> >> mode
> >> only and "my text menu" will be used. Idea: maybe "variant" is
> better
> >> than "use"
> >> 
> >> After that, we need to define "my image" and all the other menus.
> >> This
> >> looks like the normal <menu>s in my skin now, only the name is now
> >> menu_layout:
> >> 
> >> <menu_layout name="my image">
> >>   <screen .../> 
> >>   <listing .../>
> >>    <info .../>
> >>   <view .../>
> >>   <title .../>
> >> </menu_layout>
> >> 
> >> The skin designer can define as much different menus to toggle as
> he
> >> likes. 
> >> 
> >> 
> >> Comments?
> >> 
> >
> > Yes, perfect :) 
> 
> Thanks, I will do that next weekend (or maybe this evening)
> 
>

Ok, 

Gustavo

_______________________________________________________________________
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to