예제 #1
0
 function _drawThinBotRight(&$win, $y, $x, $height, $width)
 {
     ncurses_wmove($win, $y + $height - 1, $x + 1);
     ncurses_whline($win, 196, $width - 2);
     // bottom line
     ncurses_wmove($win, $y + 1, $x + $width - 1);
     ncurses_wvline($win, 179, $height - 2);
     // right line
     ncurses_wmove($win, $y, $x + $width - 1);
     ncurses_waddch($win, 191);
     // top right
     ncurses_wmove($win, $y + $height - 1, $x + $width - 1);
     ncurses_waddch($win, 217);
     // bottom right
 }
예제 #2
0
 /**
  * @param $win
  * @param $y
  * @param $x
  * @param $height
  * @param $width
  */
 protected function drawThinBotRight(&$win, $y, $x, $height, $width)
 {
     ncurses_wmove($win, $y + $height - 1, $x + 1);
     ncurses_whline($win, 42, $width - 2);
     // bottom line
     ncurses_wmove($win, $y + 1, $x + $width - 1);
     ncurses_wvline($win, 42, $height - 2);
     // right line
     ncurses_wmove($win, $y, $x + $width - 1);
     ncurses_waddch($win, 42);
     // top right
     ncurses_wmove($win, $y + $height - 1, $x + $width - 1);
     ncurses_waddch($win, 42);
     // bottom right
 }