From 3e2ff0475ec76a8099b1caa01db9cb4c4e4c3d00 Mon Sep 17 00:00:00 2001 From: Juha-Pekka Heikkila Date: Fri, 14 Jun 2013 13:49:00 +0300 Subject: api, android: Add window resize call and implementation for Android Added waffle_window_resize(self, width, heigh) API call. Currently implemented only on Android, other platforms return WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM. Signed-off-by: Juha-Pekka Heikkila Reviewed-by: Chad Versace --- include/waffle/waffle.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/waffle/waffle.h b/include/waffle/waffle.h index 00670fb..237b434 100644 --- a/include/waffle/waffle.h +++ b/include/waffle/waffle.h @@ -245,6 +245,12 @@ waffle_window_destroy(struct waffle_window *self); WAFFLE_API bool waffle_window_show(struct waffle_window *self); +WAFFLE_API bool +waffle_window_resize( + struct waffle_window *self, + int32_t width, + int32_t height); + WAFFLE_API bool waffle_window_swap_buffers(struct waffle_window *self); -- cgit v1.2.3