Add support for fullscreen mode

Add support for toggle in "RuneLite" settings to go into fullscreen
mode, that will make RuneLite window fully fullscreen without any weird
hacks.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-05-24 10:20:30 +02:00
parent b8283815fa
commit ae232ec14a
3 changed files with 45 additions and 6 deletions

View File

@@ -112,6 +112,18 @@ public interface RuneLiteConfig extends Config
return false;
}
@ConfigItem(
keyName = "fullscreen",
name = "Fullscreen mode",
description = "Switch window to fullscreen mode.",
warning = "Please restart your client after changing this setting",
position = 17
)
default boolean enableFullscreen()
{
return false;
}
@ConfigItem(
keyName = "notificationTray",
name = "Enable tray notifications",