2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Wed, 25 Jun 2008 13:05:59 +0000 (13:05 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Wed, 25 Jun 2008 13:05:59 +0000 (13:05 +0000)
commit8008bfea258920d7063952746b703184072d101b
tree3a473a7b6bb19ec297d2d403dbad74d47f1edb5a
parent1049959d34e195fa5ca8b26cba413f8f79d6e3dc
2008-06-25  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-backend.h:
* clutter/clutter-backend.c:
(clutter_backend_get_display_size): Add a function for getting the
display size out of the backend.

* clutter/clutter-stage.c:
(clutter_stage_allocate): When allocating on a backend with a
static stage, we simply ignore the passed box and override it with
the size of the display.

* clutter/eglnative/clutter-backend-egl.c:
(clutter_backend_egl_get_display_size),
(clutter_backend_egl_class_init): Implement get_display_size() by
returning the size of the EGL surface.

* clutter/fruity/clutter-backend-fruity.c:
(clutter_backend_egl_get_display_size),
(clutter_backend_egl_class_init): Ditto as above.

* clutter/x11/clutter-backend-x11.c:
(clutter_backend_x11_get_display_size),
(clutter_backend_x11_class_init): Implement get_display_size() by
returning the DisplayWidth and DisplayHeight of the current
screen.
ChangeLog
clutter/clutter-backend.c
clutter/clutter-backend.h
clutter/clutter-stage.c
clutter/eglnative/clutter-backend-egl.c
clutter/fruity/clutter-backend-fruity.c
clutter/x11/clutter-backend-x11.c