CVSROOT: /cvs/directfb
Module name: DirectFB
Changes by: dok 20050221 01:22:05
Modified files:
. : ChangeLog
include : directfb.h
src/core : core.c core.h layer_context.c layers.c
layers_internal.h
tools : dfbdump.c
Log message:
Added DLCAPS_SCREEN_POSITION and DLCAPS_SCREEN_SIZE.
These are set if DLCAPS_SCREEN_LOCATION is set and vice versa.
Unscalable layers just have DLCAPS_SCREEN_POSITION.
Store normalized and pixel based destination area
in a layer context.
Added CoreLayerLayoutMode which defines incorporation of
configuration based size changes and destination area values.
+ CLLM_LOCATION, /* Keep normalized area. */
+ CLLM_CENTER, /* Center layer after resizing destination area. */
+ CLLM_POSITION, /* Keep pixel position, but resize area. */
+ CLLM_RECTANGLE /* Keep pixel based area. */
Default for layers with DLCAPS_SCREEN_POSITION only is CENTER,
otherwise it's LOCATION.
After calling SetScreenPosition(), mode is POSITION.
After calling SetScreenLocation(), mode is LOCATION.
Moved core abi definition to header file.
_______________________________________________
directfb-cvs mailing list
[email protected]
http://www.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs