Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
System
WindowsConsoleDriver
GetForeground
System.WindowsConsoleDriver.GetForeground C# (CSharp) Method
WindowsConsoleDriver Class Documentation
Mostra file
Open project: runefs/Marvin
GetForeground()
static
private
method
static
private
GetForeground
(
short
attr
) :
ConsoleColor
attr
short
return
ConsoleColor
static ConsoleColor GetForeground (short attr) { attr &= 0x0F; return (ConsoleColor) attr; }
WindowsConsoleDriver
Beep
Clear
FillConsoleOutputAttribute
FillConsoleOutputCharacter
GetAttrBackground
GetAttrForeground
GetBackground
GetConsoleCursorInfo
GetConsoleMode
GetConsoleScreenBufferInfo
GetConsoleTitle
GetForeground
GetKeyState
GetLargestConsoleWindowSize
GetStdHandle
Init
MoveBufferArea
PeekConsoleInput
ReadConsoleInput
ReadConsoleOutput
ReadKey
ReadLine
ResetColor
SetBufferSize
SetConsoleCursorInfo
SetConsoleCursorPosition
SetConsoleMode
SetConsoleScreenBufferSize
SetConsoleTextAttribute
SetConsoleTitle
SetConsoleWindowInfo
SetCursorPosition
SetWindowPosition
SetWindowSize
WindowsConsoleDriver
WriteConsoleOutput
_Beep