Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_mouse.h @ 5202:164f20ba08eb
Updated the DirectFB support, from Couriersud
attached is a working directfb driver diff which works with the current
changes. There are a number of changes around it as well, e.g.
configure.in.
The directfb renderdriver right now still depends on a some "includes"
from src/video/directfb. That's why it is not yet moved to the new
render folder.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Feb 2011 16:07:10 -0800 |
parents | f7b03b6838cb |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_mouse.h Sat Feb 05 16:02:30 2011 -0800 +++ b/src/video/directfb/SDL_DirectFB_mouse.h Sat Feb 05 16:07:10 2011 -0800 @@ -18,19 +18,24 @@ Sam Lantinga slouken@libsdl.org + + SDL1.3 DirectFB driver by couriersud@arcor.de + */ -#include "SDL_config.h" #ifndef _SDL_DirectFB_mouse_h #define _SDL_DirectFB_mouse_h +#include <directfb.h> + +#include "../SDL_sysvideo.h" + typedef struct _DFB_CursorData DFB_CursorData; - struct _DFB_CursorData { IDirectFBSurface *surf; - int hotx; - int hoty; + int hotx; + int hoty; }; #define SDL_DFB_CURSORDATA(curs) DFB_CursorData *curdata = (DFB_CursorData *) ((curs) ? (curs)->driverdata : NULL)