List Info

Thread: Re: DirectFB: Changes to 'master'




Re: DirectFB: Changes to 'master'
user name
2007-04-23 10:25:29
Claudio, the Unbind semantics are a little odd.  Can you
update the
header to clairfy

1) can a window be bound to multiple windows at once?
2) if not, what error is returned
3) if you can't bind to multiple windows, why specify a
"unbind"
window in the Unbind call?

I like the idea a lot, just curious about the execution.

On 4/23/07, klandirectfb.org <klandirectfb.org> wrote:
>
> New commits:
> http://git.direc
tfb.org/?p=core/DirectFB.git;a=commit;h=f7abc96cc2fcee72fd35
e7ec4220f05a389b9fd4
> commit f7abc96cc2fcee72fd35e7ec4220f05a389b9fd4
> Author: Claudio Ciccani <klandirectfb.org>
> Date:   Mon Apr 23 16:45:32 2007 +0200
>
>     Implemented IDirectFBWindow::Bind()/Unbind(). 
>
>     The change is backward and binary compatible.
>
>  include/directfb.h            |   25 +++++
>  src/core/windows.c            |  200
++++++++++++++++++++++++++++++++++++++---
>  src/core/windows.h            |   16 ++++
>  src/core/windows_internal.h   |   12 +++
>  src/windows/idirectfbwindow.c |   42 +++++++++
>  5 files changed, 283 insertions(+), 12 deletions(-)
>
>
> _______________________________________________
> directfb-cvs mailing list
> directfb-cvsdirectfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-cvs
>

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev

Re: DirectFB: Changes to 'master'
user name
2007-04-23 12:11:24
Ben Combee wrote:
> Claudio, the Unbind semantics are a little odd.  Can
you update the
> header to clairfy
> 
> 1) can a window be bound to multiple windows at once?

You can't bind (attach) the same window to multiple windows
but a window can have multiple windows bound (attached) to
it.
That is because if you bind a window to another, then the
bound window
must "follow" the window to which it's attached
when the latter moves to
a new position.
It's intutive that a window can't "follow" more
than one window.

> 2) if not, what error is returned

None.
The new Bind() overrides the previous one (i.e. it
automatically
unbounds the window before binding it to the new window).

> 3) if you can't bind to multiple windows, why specify a
"unbind"
> window in the Unbind call?

Because a window might have multiple windows bound
(attached) to it.
> 
> I like the idea a lot, just curious about the
execution.

I realize that the documention should be detailed enough to
let people
understand these concepts immediatly, so i have just
committed a change
to the header to clarify these aspects.

> 
> On 4/23/07, klandirectfb.org <klandirectfb.org> wrote:
>>
>> New commits:
>> http://git.direc
tfb.org/?p=core/DirectFB.git;a=commit;h=f7abc96cc2fcee72fd35
e7ec4220f05a389b9fd4
>>
>> commit f7abc96cc2fcee72fd35e7ec4220f05a389b9fd4
>> Author: Claudio Ciccani <klandirectfb.org>
>> Date:   Mon Apr 23 16:45:32 2007 +0200
>>
>>     Implemented IDirectFBWindow::Bind()/Unbind().

>>
>>     The change is backward and binary compatible.
>>
>>  include/directfb.h            |   25 +++++
>>  src/core/windows.c            |  200
>> ++++++++++++++++++++++++++++++++++++++---
>>  src/core/windows.h            |   16 ++++
>>  src/core/windows_internal.h   |   12 +++
>>  src/windows/idirectfbwindow.c |   42 +++++++++
>>  5 files changed, 283 insertions(+), 12
deletions(-)
>>
>>
>> _______________________________________________
>> directfb-cvs mailing list
>> directfb-cvsdirectfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-cvs
>>
> 
> 


-- 
Regards,
     Claudio Ciccani

klanusers.sf.net
http://directfb.org
http://sf.net/pro
jects/php-directfb

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )