Add stubs for DPI scale overrides

This commit is contained in:
meehl committed 2025-10-31 00:17:50 +01:00
1 parent cf518a2c40
commit 64960b8c3c
2 files changed
+22 -1

No files matched your search

+10
View File
@@ -32,3 +32,13 @@ pub fn set_foreground(l: &Lua, _: ()) -> LuaResult<()> {
socket.window().focus();
Ok(())
}
pub fn set_dpi_scale_override(_: &Lua, _percent: i32) -> LuaResult<()> {
// TODO:
Ok(())
}
pub fn get_dpi_scale_override(_: &Lua, _: ()) -> LuaResult<i32> {
// TODO:
Ok(0)
}