Class for functions that talk to a lower level than haxe, such as message boxes, and more. Some functions might not have effect on some platforms.
Static methods
View in GitHub
staticaddFileAttributes(path:String, attrib:OneOfTwo<FileAttribute, Int>, useAbsol:Bool = true):Int
Removes from the specified file's (or folder) one (or more) specific attribute.
View in GitHub
staticallocConsole():Void
Allocates a new console. The console will automatically be opened
View in GitHub
staticgetFileAttributes(path:String, useAbsol:Bool = true):FileAttributeWrapper
Gets the specified file's (or folder) attributes and passes it to FileAttributeWrapper
.
View in GitHub
staticgetFileAttributesRaw(path:String, useAbsol:Bool = true):Int
Gets the specified file's (or folder) attributes.
View in GitHub
staticremoveFileAttributes(path:String, attrib:OneOfTwo<FileAttribute, Int>, useAbsol:Bool = true):Int
Removes from the specified file's (or folder) one (or more) specific attribute.
View in GitHub
staticsetConsoleColors(foregroundColor:ConsoleColor = NONE, backgroundColor:ConsoleColor = NONE):Void
Sets the console colors
View in GitHub
staticsetFileAttributes(path:String, attrib:OneOfThree<FileAttribute, FileAttributeWrapper, Int>, useAbsol:Bool = true):Int
Sets the specified file's (or folder) attributes. If it fails, the return value is 0
.
View in GitHub
staticshowMessageBox(caption:String, message:String, icon:MessageBoxIcon = MSG_WARNING):Void
Shows a message box