CVSROOT: /cvs/directfb
Module name: DirectFB
Changes by: dok 20020114 05:57:03
Modified files:
include : directfb.h directfb_internals.h
src : directfb.c idirectfb.c idirectfb.h
src/core : state.c windows.c windows.h
src/display : idirectfbdisplaylayer.c idirectfbdisplaylayer.h
idirectfbsurface.c idirectfbsurface.h
idirectfbsurface_layer.c
idirectfbsurface_layer.h
idirectfbsurface_window.c
idirectfbsurface_window.h
src/gfx/generic: Makefile.am generic.c
src/input : idirectfbinputbuffer.c idirectfbinputbuffer.h
idirectfbinputdevice.c
src/media : idirectfbfont.c
src/windows : idirectfbwindow.c
Log message:
Cleanup of interface functions, many functions have been made static.
Removed intel_cpu_features by using the new dfb_mm_accel function.
Added DFBDisplayLayerID, DFBWindowID and DFBInputDeviceID.
Added GetID functions to IDirectFBDisplayLayer,
IDirectFBWindow and IDirectFBInputDevice.
IDirectFBInputBuffer is an IDirectFBEventBuffer now.
It handles events from input devices and windows.
Removed WaitForEvent, GetEvent and PeekEvent from IDirectFBWindow.
Added CreateEventBuffer and AttachEventBuffer to IDirectFBWindow.
DFBInputEvent and DFBWindowEvent contain the ID of the event source.
Added DFBEventClass to determine the specific event, i.e. input/window.
Added DFBEvent that is a union of DFBEventClass, DFBInputEvent and
DFBWindowEvent. Each event structure has a DFBEventClass first.
IDirectFBEventBuffer::GetEvent can be called with a DFBEvent pointer.
If a buffer is only used for one specific event class, the macro
DFB_EVENT(e) can be used to pass DFBInputEvent or DFBWindowEvent directly.
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-cvs" as subject.