public static int PadEchoChar(IntPtr pad, int character) { int result = Native.pechochar(pad, character); NativeExceptionHelper.ThrowOnFailure(result, nameof(PadEchoChar)); return(result); }
public static IntPtr NewWindow(int rows, int columns, int yOrigin, int xOrigin) { IntPtr result = Native.newwin(rows, columns, yOrigin, xOrigin); NativeExceptionHelper.ThrowOnFailure(result, nameof(NewWindow)); return(result); }
public static int AddString(string stringToAdd) { int result = Native.addstr(stringToAdd); NativeExceptionHelper.ThrowOnFailure(result, nameof(AddString)); return(result); }
public static void GetYX(IntPtr window, out int y, out int x) { y = Native.getcury(window); NativeExceptionHelper.ThrowOnFailure(y, nameof(GetYX)); x = Native.getcurx(window); NativeExceptionHelper.ThrowOnFailure(x, nameof(GetYX)); }
public static int MoveWindowAddString(IntPtr window, int y, int x, string message) { int result = Native.mvwaddstr(window, y, x, message); NativeExceptionHelper.ThrowOnFailure(result, nameof(MoveWindowAddString)); return(result); }
public static int MoveAddString(int y, int x, string message) { int result = Native.mvaddstr(y, x, message); NativeExceptionHelper.ThrowOnFailure(result, nameof(MoveAddString)); return(result); }
public static int SetCursor(int cursorState) { int result = Native.curs_set(cursorState); NativeExceptionHelper.ThrowOnFailure(result, nameof(SetCursor)); return(result); }
public static int WindowRefresh(IntPtr window) { int result = Native.wrefresh(window); NativeExceptionHelper.ThrowOnFailure(result, nameof(WindowRefresh)); return(result); }
public static int DeleteWindow(IntPtr window) { int result = Native.delwin(window); NativeExceptionHelper.ThrowOnFailure(result, nameof(DeleteWindow)); return(result); }
public static int WindowAddString(IntPtr window, string message) { int result = Native.waddstr(window, message); NativeExceptionHelper.ThrowOnFailure(result, nameof(WindowAddString)); return(result); }
public static int WindowGetChar(IntPtr window) { int result = Native.wgetch(window); NativeExceptionHelper.ThrowOnFailure(result, nameof(WindowGetChar)); return(result); }
public static int WindowAddChar(IntPtr window, int character) { int result = Native.waddch(window, character); NativeExceptionHelper.ThrowOnFailure(result, nameof(WindowAddChar)); return(result); }
public static int TouchWindow(IntPtr window) { int result = Native.touchwin(window); NativeExceptionHelper.ThrowOnFailure(result, nameof(TouchWindow)); return(result); }
public static IntPtr SubWindow(IntPtr parent, int rows, int columns, int y, int x) { IntPtr result = Native.subwin(parent, rows, columns, y, x); NativeExceptionHelper.ThrowOnFailure(result, nameof(SubWindow)); return(result); }
public static int Move(int y, int x) { int result = Native.move(y, x); NativeExceptionHelper.ThrowOnFailure(result, nameof(Move)); return(result); }
public static IntPtr DeriveWindow(IntPtr window, int rows, int columns, int y, int x) { IntPtr result = Native.derwin(window, rows, columns, y, x); NativeExceptionHelper.ThrowOnFailure(result, nameof(DeriveWindow)); return(result); }
public static int MoveAddChar(int y, int x, uint character) { int result = Native.mvaddch(y, x, character); NativeExceptionHelper.ThrowOnFailure(result, nameof(MoveAddChar)); return(result); }
public static IntPtr DuplicateWindow(IntPtr window) { IntPtr result = Native.dupwin(window); NativeExceptionHelper.ThrowOnFailure(result, nameof(DuplicateWindow)); return(result); }
public static int Refresh() { int result = Native.refresh(); NativeExceptionHelper.ThrowOnFailure(result, nameof(Refresh)); return(result); }
public static int InitPair(short color, short foreground, short background) { int result = Native.init_pair(color, foreground, background); NativeExceptionHelper.ThrowOnFailure(result, nameof(InitPair)); return(result); }
public static IntPtr NewPad(int row, int column) { IntPtr result = Native.newpad(row, column); NativeExceptionHelper.ThrowOnFailure(result, nameof(NewPad)); return(result); }
public static int Nap(int milliseconds) { int result = Native.napms(milliseconds); NativeExceptionHelper.ThrowOnFailure(result, nameof(Nap)); return(result); }
public static IntPtr InitScreen() { IntPtr result = Native.initscr(); NativeExceptionHelper.ThrowOnFailure(result, nameof(InitScreen)); return(result); }
public static int AddChar(int ch) { int result = Native.addch(ch); NativeExceptionHelper.ThrowOnFailure(result, nameof(AddChar)); return(result); }
/// <summary> /// Individual characters will be returned (rather than "cooked" line-input mode) with no internal processing of control characters. /// </summary> public static void Raw() { int result = Native.raw(); NativeExceptionHelper.ThrowOnFailure(result, nameof(Raw)); }
public static void NoEcho() { int result = Native.noecho(); NativeExceptionHelper.ThrowOnFailure(result, nameof(NoEcho)); }
/// <summary> /// Returns the terminal to "cooked" line-input mode. /// </summary> public static void NoCBreak() { int result = Native.nocbreak(); NativeExceptionHelper.ThrowOnFailure(result, nameof(NoCBreak)); }
public static void EndWin() { int result = Native.endwin(); NativeExceptionHelper.ThrowOnFailure(result, nameof(EndWin)); }
public static void ColorContent(short color, out short red, out short green, out short blue) { int result = Native.color_content(color, out red, out green, out blue); NativeExceptionHelper.ThrowOnFailure(result, nameof(ColorContent)); }
public static void ClearToBottom() { int result = Native.clrtobot(); NativeExceptionHelper.ThrowOnFailure(result, nameof(ClearToBottom)); }