diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-26 17:09:11 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-26 17:09:11 -0800 |
commit | b47f101d59dc7288f1488431f5db02e9b9922e97 (patch) | |
tree | aff47953746f588b7748c9fc8acfeb33520521aa /tests/test_html5.c | |
parent | 202a13e9bb409cf320dd19f3aff48b77ba934fb2 (diff) | |
parent | 793eb176a0c777d91941cb17386de0f5da981bac (diff) |
Merge pull request #2165 from juj/fs_element_size1.12.3
Fullscreen element sizes
Diffstat (limited to 'tests/test_html5.c')
-rw-r--r-- | tests/test_html5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_html5.c b/tests/test_html5.c index 77ddea98..fec46035 100644 --- a/tests/test_html5.c +++ b/tests/test_html5.c @@ -145,8 +145,8 @@ EM_BOOL orientationchange_callback(int eventType, const EmscriptenOrientationCha EM_BOOL fullscreenchange_callback(int eventType, const EmscriptenFullscreenChangeEvent *e, void *userData) { - printf("%s, isFullscreen: %d, fullscreenEnabled: %d, fs element nodeName: \"%s\", fs element id: \"%s\"\n", - emscripten_event_type_to_string(eventType), e->isFullscreen, e->fullscreenEnabled, e->nodeName, e->id); + printf("%s, isFullscreen: %d, fullscreenEnabled: %d, fs element nodeName: \"%s\", fs element id: \"%s\". New size: %dx%d pixels. Screen size: %dx%d pixels.\n", + emscripten_event_type_to_string(eventType), e->isFullscreen, e->fullscreenEnabled, e->nodeName, e->id, e->elementWidth, e->elementHeight, e->screenWidth, e->screenHeight); return 0; } |