From 793eb176a0c777d91941cb17386de0f5da981bac Mon Sep 17 00:00:00 2001 From: Jukka Jylänki Date: Wed, 26 Feb 2014 12:05:13 +0200 Subject: Add new fields to EmscriptenFullscreenChangeEvent structure that report the new pixel sizes of the fullscreen element, as well as the whole screen size. These can be used to read and adjust the rendering canvas size appropriately when transitioning between fullscreen modes. Thanks to Joel Croteau for the suggestion at https://groups.google.com/forum/#!topic/emscripten-discuss/qaTrOXWv1Oc . Bump version to 1.12.3 to update the cache after change to struct_info.json. --- src/struct_info.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/struct_info.json') diff --git a/src/struct_info.json b/src/struct_info.json index 2aeffc9c..2a2b4c64 100644 --- a/src/struct_info.json +++ b/src/struct_info.json @@ -1207,7 +1207,11 @@ "isFullscreen", "fullscreenEnabled", "nodeName", - "id" + "id", + "elementWidth", + "elementHeight", + "screenWidth", + "screenHeight" ], "EmscriptenPointerlockChangeEvent": [ "isActive", -- cgit v1.2.3-18-g5258