What about just making the counter a GUI object? Does that even make
sense? The problem is that info.area recalculates the whole thing,
while we only really want one dynamic element on a otherwise static
screen...

On Sat, Jul 05, 2003 at 10:50:11AM -0300, Rob Shortt wrote:
> Gustavo Sverzut Barbieri wrote:
> >IMO, music player is a "separate" application. We should move it to use
> >GUI. Also, cdbackup should do this way.
> >
> >Rob: it is possible to get the same appearance of music player using
> >your GUI?
> 
> There is a slight problem with mixing the objects in src/gui/ with the 
> main menu / menuwidget elements.  While MenuWidget does subclass 
> GUIObject it is able to be the parent of other GUIObjects like PopupBox, 
> AlertBox, and even widget-like objects such as buttons, option boxes, 
> list boxes, and progress bars.
> 
> For GUIObject types that subclass Container I have layout managers 
> (FlowLayout for now -- actually could be renamed because it is more 
> complex now) that automaticly calculate the position of child objects 
> based on their individual alignments and the parent's "internal 
> alignment" (couldn't think of a better name).
> 
> Ok, back to the topic...
> 
> Music player (and other menu elements) could be changed into GUIObject 
> classes but I think the src/gui/ stuff is a bit premature for this type 
> of change throughout Freevo.  The layout manager(s) still need a lot of 
> work as does the way we render/draw/clculate and don't have any concept 
> of layers (which I will be working on very soon).  All of this stuff is 
> pretty CPU intentive, just take a look at the edit favorites screen I 
> cooked up for the tv menu (time to merge this stuff to the head soon? -- 
> maybe once I fix the layers bug in it).
> 
> Having said that it won't be hard to add simpler GUIObject classes to a 
> menu, perhaps using a dumb layout manager that only consults a child's 
> preset position.  For example we may add a progress bar / circle to the 
> idlebar for cd ripping.  Actually the idlebar (and its elements) may be 
> a good candidate for becoming a GUIObject since it is also a container 
> for other plugins.
> 
> -Rob
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to