Hi,

Torgeir Veimo <[EMAIL PROTECTED]> writes:

> On Tue, 2002-05-21 at 21:44, Sven Neumann wrote:
>
> > > I guess X must have something reasonable with regards to relating
> > > windows toghether?
> > 
> > well, they also have a reasonable amount of complexity and overhead
> > caused by the way they are doing it.
> 
> A child window is positioned relative to its parent in X.

the complexity is hidden in the term "relative" here. To get this
right, things like window gravities are needed. Just have a look at
some code that tries to effectively scroll the contents of an X window
with lots of child windows. If you ever feel bored, try to understand
how "guffaw scrolling" works.

The question is, do we need to add such things to DirectFB itself or
is the DirectFB API powerful enough that it can be added on top of it?
DirectFB is supposed to be a small, effective and clean gfx library.
We don't want to add higher-level features but we certainly want to
make sure that everything at the lower-level makes sense and doesn't
stand in the way.

We might need some changes in DirectFB to get window decorations
right, but I believe that stuff like child windows can be implemented
on top of DirectFB as it is. The GTK+ port and XDirectFB seem to
proove my point but I might still be wrong.

BTW, it might make sense to move this discussion to the directfb-devel
list.


Salut, Sven



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to