Crash Handler
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package native;
|
||||
|
||||
import funkin.windows.WindowsAPI.MessageBoxIcon;
|
||||
#if windows
|
||||
@:buildXml('
|
||||
<target id="haxe">
|
||||
@@ -168,5 +169,15 @@ class WinAPI {
|
||||
public static function clearScreen() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
#if windows
|
||||
@:functionCode('
|
||||
MessageBox(GetActiveWindow(), message, caption, icon | MB_SETFOREGROUND);
|
||||
')
|
||||
#end
|
||||
public static function showMessageBox(caption:String, message:String, icon:MessageBoxIcon = MSG_WARNING) {
|
||||
|
||||
}
|
||||
}
|
||||
#end
|
||||
Reference in New Issue
Block a user