new options
This commit is contained in:
@@ -7,9 +7,27 @@ package funkin.windows;
|
||||
* Does not have any effect on other platforms.
|
||||
*/
|
||||
class WindowsAPI {
|
||||
public static function registerAudio() {
|
||||
@:dox(hide) public static function registerAudio() {
|
||||
#if windows
|
||||
native.WinAPI.registerAudio();
|
||||
#end
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new console. The console will automatically be opened
|
||||
*/
|
||||
public static function allocConsole() {
|
||||
#if windows
|
||||
native.WinAPI.allocConsole();
|
||||
#end
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the window titlebar to dark mode (Windows 10 only)
|
||||
*/
|
||||
public static function setDarkMode(enable:Bool) {
|
||||
#if windows
|
||||
native.WinAPI.setDarkMode(enable);
|
||||
#end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user