Home
last modified time | relevance | path

Searched refs:canvas_id (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenevents.c377 emscripten_get_element_css_size(window_data->canvas_id, &css_w, &css_h); in Emscripten_HandleMouseButton()
657 emscripten_set_element_css_size(window_data->canvas_id, w, h); in Emscripten_HandleResize()
756 emscripten_set_mousemove_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
758 emscripten_set_mousedown_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
761 emscripten_set_mouseenter_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
762 emscripten_set_mouseleave_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
764 emscripten_set_wheel_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
769 emscripten_set_touchstart_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
770 emscripten_set_touchend_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
771 emscripten_set_touchmove_callback(data->canvas_id, NULL, 0, NULL); in Emscripten_UnregisterEventHandlers()
[all …]
A DSDL_emscriptenvideo.c217 wdata->canvas_id = SDL_strdup("#canvas"); in Emscripten_CreateWindow()
229 emscripten_set_canvas_element_size(wdata->canvas_id, 1, 1); in Emscripten_CreateWindow()
230 emscripten_get_element_css_size(wdata->canvas_id, &css_w, &css_h); in Emscripten_CreateWindow()
241 emscripten_set_canvas_element_size(wdata->canvas_id, scaled_w, scaled_h); in Emscripten_CreateWindow()
247 emscripten_set_element_css_size(wdata->canvas_id, window->w, window->h); in Emscripten_CreateWindow()
291 …emscripten_set_canvas_element_size(data->canvas_id, window->w * data->pixel_ratio, window->h * dat… in Emscripten_SetWindowSize()
295 emscripten_set_element_css_size(data->canvas_id, window->w, window->h); in Emscripten_SetWindowSize()
317 emscripten_set_canvas_element_size(data->canvas_id, 0, 0); in Emscripten_DestroyWindow()
318 SDL_free(data->canvas_id); in Emscripten_DestroyWindow()
355 res = emscripten_request_fullscreen_strategy(data->canvas_id, 1, &strategy); in Emscripten_SetWindowFullscreen()
A DSDL_emscriptenvideo.h43 char *canvas_id; member
A DSDL_emscriptenmouse.c252 if(emscripten_request_pointerlock(window_data->canvas_id, 1) >= EMSCRIPTEN_RESULT_SUCCESS) { in Emscripten_SetRelativeMouseMode()

Completed in 5 milliseconds