2008-04-25 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/sdl/clutter-stage-sdl.[ch]: Port the SDL stage to
	the new stage implementation API.

	* clutter/sdl/clutter-backend-sdl.[ch]: Port the SDL backend
	to the new backend API.

	* clutter/sdl/clutter-event-sdl.c:
	(clutter_event_dispatch): Assign the default stage as the
	origin of the event.
This commit is contained in:
Emmanuele Bassi
2008-04-25 12:17:01 +00:00
parent 76735c0374
commit 7c3cf35eec
6 changed files with 148 additions and 111 deletions

View File

@ -22,9 +22,10 @@
#ifndef __CLUTTER_BACKEND_SDL_H__
#define __CLUTTER_BACKEND_SDL_H__
#include <SDL.h>
#include <glib-object.h>
#include <clutter/clutter-backend.h>
#include <SDL.h>
#include "clutter-stage-sdl.h"
G_BEGIN_DECLS
@ -43,7 +44,7 @@ struct _ClutterBackendSDL
ClutterBackend parent_instance;
/* main stage singleton */
ClutterActor *stage;
ClutterStageSDL *stage;
/* event source */
GSource *event_source;