MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / backend_window_scale_update

Method backend_window_scale_update

src/InputManager.cpp:893–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893void InputManager::backend_window_scale_update(const SDL_WindowEvent& e) {
894 WindowScaleCallbackArgs w;
895 w.scale = main.window.scale;
896 main.input_window_scale_callback(w);
897}
898
899void InputManager::backend_key_down_update(const SDL_KeyboardEvent& e) {
900 auto kPress = e.key;

Callers 1

main.cppFile · 0.80

Calls 1

Tested by

no test coverage detected