PlatformUtil
| Kind | class |
| Package | utils |
| Full name | utils.PlatformUtil |
| Source | source/utils/PlatformUtil.hx |
Public methods
getWindowsTransparent
static function getWindowsTransparent(res:Int = 0)
Only compiled when #if cpp.
| Parameter | Type | Default |
|---|---|---|
res (optional) | Int | 0 |
sendFakeMsgBox
static function sendFakeMsgBox(desc:String = "", res:Int = 0)
Only compiled when #if cpp.
Shows the native crash dialog available on the current desktop platform.
| Parameter | Type | Default |
|---|---|---|
desc (optional) | String | "" |
res (optional) | Int | 0 |
getWindowsBackward
static function getWindowsBackward(res:Int = 0)
Only compiled when #if cpp.
| Parameter | Type | Default |
|---|---|---|
res (optional) | Int | 0 |
updateWallpaper
static function updateWallpaper()
Only compiled when #if cpp.
detectWine
static function detectWine():Bool
Only compiled when #if cpp.
getArch
static function getArch():String
Only compiled when #if cpp.
unsupportedMetaHorror
static function unsupportedMetaHorror(fn:String):Void
Trace helper for 4th-wall-breaking (META_HORROR) effects called on a
build without the define or on a platform where the effect does not exist.
Compiled on every target so backend.MetaHorror no-op paths typecheck everywhere.
| Parameter | Type | Default |
|---|---|---|
fn | String | — |