Esempio n. 1
0
 public int box(int vAttrs, int hAttrs) => Curse.box(Handle, vAttrs, hAttrs);
Esempio n. 2
0
 public int box(WinAttribute vAttrs, WinAttribute hAttrs) => Curse.box(Handle, (int)vAttrs, (int)hAttrs);
Esempio n. 3
0
 public int SetColor(ColorPair pair) => Curse.wbkgd(Handle, Curse.ColorPair(pair.pairId));
Esempio n. 4
0
 public int Refresh() => Curse.wrefresh(Handle);
Esempio n. 5
0
 static Window()
 {
     Curse.initscr();
     Standar = new Window(Curse.consoleGetStdscr(), Curse.Lines, Curse.Cols);
     Current = new Window(Curse.consoleGetCurscr());
 }
Esempio n. 6
0
 public int SetColor(int colorPairId) => Curse.wbkgd(Handle, Curse.ColorPair(colorPairId));
Esempio n. 7
0
 public int Attroff(int attrs) => Curse.wattroff(Handle, attrs);
Esempio n. 8
0
 public int RedrawLine(int line, int count) => Curse.wredrawln(Handle, line, count);
Esempio n. 9
0
 public int Move(int y, int x) => Curse.wmove(Handle, y, x);
Esempio n. 10
0
 public int AddCh(int c) => Curse.waddCh(Handle, c);
Esempio n. 11
0
        static public Window CreateDerWindow(Window parent, int height, int width, int x, int y)
        {
            IntPtr handle = Curse.derwin(parent.Handle, height, width, y, x);

            return(new Window(handle, height, width));
        }
Esempio n. 12
0
        static public Window CreateNewWindow(int height, int width, int x, int y)
        {
            IntPtr handle = Curse.newwin(height, width, y, x);

            return(new Window(handle, height, width));
        }
Esempio n. 13
0
        static public Window CreateSubWindowCentered(Window parent, int height, int width, int x, int y)
        {
            IntPtr handle = Curse.subwin(parent.Handle, height, width, y - height / 2, x - width / 2);

            return(new Window(handle, height, width));
        }
Esempio n. 14
0
 public int ClearToEol() => Curse.wclrtoeol(Handle);
Esempio n. 15
0
 public int Mvprintw(int y, int x, string s) => Curse.mvwprintw(Handle, y, x, s);
Esempio n. 16
0
 public int RedrawLine(int line) => Curse.wredrawln(Handle, line, 1);
Esempio n. 17
0
 public int Printw(string s) => Curse.wprintw(Handle, s);
Esempio n. 18
0
 public int Clear() => Curse.wclear(Handle);
Esempio n. 19
0
 public static int InitPair(short pairId, ColorCode forground, ColorCode Background) => Curse.init_pair(pairId, forground, Background);