Duckstation/src/duckstation-sdl/sdl_util.h

11 lines
251 B
C
Raw Normal View History

2020-06-18 14:18:51 +00:00
#pragma once
#include "common/types.h"
#include "common/window_info.h"
#include <optional>
struct SDL_Window;
namespace SDLUtil {
std::optional<WindowInfo> GetWindowInfoForSDLWindow(SDL_Window* window);
2020-06-30 14:35:19 +00:00
float GetDPIScaleFactor(SDL_Window* window);
2020-06-18 14:18:51 +00:00
}