2007-07-26 Matthew Allum <mallum@openedhand.com>

* clutter/clutter-feature.h:
        Add new stage feature flags and document.

        * clutter/eglnative/clutter-backend-egl.c:
        * clutter/eglx/clutter-backend-egl.c:
        * clutter/sdl/clutter-backend-sdl.c:
        Set new feature flags.

        * clutter/glx/clutter-backend-glx.c:
        * clutter/glx/clutter-stage-glx.c:
        * clutter/clutter-stage.c:
        * clutter/clutter-stage.h:
        Add a 'user_resizeable' setting to the backend and implement
        for glx backend.
This commit is contained in:
Matthew Allum
2007-07-26 20:08:09 +00:00
parent 32c4d786a6
commit e0e27baf35
9 changed files with 139 additions and 13 deletions

View File

@ -177,6 +177,11 @@ clutter_backend_sdl_constructor (GType gtype,
return g_object_ref (backend_singleton);
}
static ClutterFeatureFlags
clutter_backend_egl_get_features (ClutterBackend *backend)
{
return CLUTTER_FEATURE_STAGE_CURSOR;
}
static void
clutter_backend_sdl_class_init (ClutterBackendSDLClass *klass)
@ -195,6 +200,7 @@ clutter_backend_sdl_class_init (ClutterBackendSDLClass *klass)
backend_class->get_stage = clutter_backend_sdl_get_stage;
backend_class->add_options = clutter_backend_sdl_add_options;
backend_class->redraw = clutter_backend_sdl_redraw;
backend_class->get_features = clutter_backend_sdl_get_features;
}
static void