Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
258 B · 11 lines
C
123456789101112#pragma once
namespace UI {
// global ui-v2 scale: how many physical pixels one logical unit is worth// (queried from SDL_GetWindowDisplayScale, pumped in by ScreenLayer)void SetScale(float scale);float GetScale();float PixelsToUnits(float pixels);
}