Hi,

I didn't have time to read your links. We have already quite good widgets
implementation in Wormux. The problem is that we redraw all the menu from a
black screen for each frame (frame as fps).

I have started to work to redraw only the necessary part. Conceptually, it is
easy, but coding is more difficult ;-) For each widget we need to redraw
(because of a clic or mouse going from/to this widget), we need to redraw
before part of the under "box" if there is one, and part of the background
because of transparence...

Last week, I have already a quite good version, which is just 'proof of concept'
and shows it is feasible and really good for cpu cooling :-) But doing a
'production' version is more difficult... I hope to finish it during the week.

Bye,

Matt

Selon Romain Bignon <[EMAIL PROTECTED]>:

> Hum I am sorry, I saw there is already some applications of requestered
> features, with a widget_list and a base class for widgets...
>
> So I don't know if my links are usefull...
>
> Progs
>
> On Sat, 29 Jul 2006 23:30:50 +0200
> Romain Bignon <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I read a task on gna but I can't participate so I create a thread on this
> mailing list to chat about this.
> >
> > About an edit component, I made one on an other project and I could propose
> it for wormux.
> >
> > Also, about a better management of widgets, I use on this other project a
> "Form" whose is a contener of widgets and a simple call to "Form->Update()"
> will call a "Draw()" function, with a "Component" based class with virtual
> functions. There is a clic management and other features..
> >
> > I think it can be interresting in wormux. If Mathieu want to chat about
> this i am open to this. I know you are programming a system to no redraw
> widgets when it isn't necessary, and it is the occasion to improve this
> system.
> >
> > If you want to show this, read
> http://svn.gna.org/viewcvs/menareants/trunk/src/gui/?sortby=date
> > In particular a comment in Form.h and the based class Component.h
> >
> > If you know "Delphi", you will see I use the names of their classes :).
> >
> > Regards,
> >
> > Progs, who hope his mail is readable in this poor english :)
> >
> > _______________________________________________
> > Wormux-dev mailing list
> > [email protected]
> > https://mail.gna.org/listinfo/wormux-dev
> >
>
> _______________________________________________
> Wormux-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/wormux-dev
>



_______________________________________________
Wormux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-dev

Répondre à