Quoting Stephen Perez ([EMAIL PROTECTED]):
> I got most of it working. I am having one problem though. Inside
> update_region(...) (in core/windows.c) I added code for blitting from the
> decorative surfaces to the screen. This kinda works:
>
> state->blittingflags = DSBLIT_BLEND_ALPHACHANNEL;
> state->source = window->decorations[decor]; /* array of decorative
> surfaces */
> state->modified |= SMF_BLITTING_FLAGS | SMF_SOURCE;
> dfb_gfxcard_blit( &srect, region.x1, region.y1, state );
> state->source = NULL;
If srect is setup like { 0, 0, deco_width, deco_height } there shouldn't be
a problem. Please note that srect might be modified by the blitting routines,
especially using the software driver.
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Convergence GmbH
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.