HomeSort by: relevance | last modified time | path
    Searched refs:SCREEN (Results 1 - 16 of 16) sorted by relevancy

  /src/lib/libcurses/
curses_private.h 111 #define __ENDLINE 0x00000001 /* End of screen. */
113 #define __FULLWIN 0x00000004 /* Window is a screen. */
134 SCREEN *screen; /* Screen for this window */ member in struct:__window
214 WINDOW *curscr; /* Current screen. */
215 WINDOW *stdscr; /* Standard screen. */
216 WINDOW *__virtscr; /* Virtual screen (for doupdate()). */
219 int COLS; /* Columns on the screen. */
220 int LINES; /* Lines on the screen. *
    [all...]
slk.c 65 static int __slk_attroff(SCREEN *, const chtype);
66 static int __slk_attron(SCREEN *, const chtype);
67 static int __slk_attrset(SCREEN *, const chtype);
69 static int __slk_attr_off(SCREEN *, const attr_t, void *);
70 static int __slk_attr_on(SCREEN *, const attr_t, void *);
71 static int __slk_attr_set(SCREEN *, const attr_t, short, void *opt);
72 static int __slk_color(SCREEN *, short);
75 static int __slk_clear(SCREEN *);
76 static char *__slk_label(SCREEN *, int);
77 static int __slk_restore(SCREEN *);
    [all...]
screen.c 1 /* $NetBSD: screen.c,v 1.40 2024/07/11 07:13:41 blymn Exp $ */
35 static char sccsid[] = "@(#)screen.c 8.2 (blymn) 11/27/2001";
37 __RCSID("$NetBSD: screen.c,v 1.40 2024/07/11 07:13:41 blymn Exp $");
48 static void __delscreen(SCREEN *);
62 * Change the term to the given screen.
65 SCREEN *
66 set_term(SCREEN *new)
68 SCREEN *old_screen = _cursesi_screen;
71 /* save changes made to the current screen... */
123 * Set up a new screen
    [all...]
ripoffline.c 69 * Returns the number of ripped lines from the screen.
72 __rippedlines(const SCREEN *screen, int line)
78 for (i = 0, rip = screen->ripped; i < screen->nripped; i++, rip++) {
89 * Rips lines from the screen by creating a WINDOW per ripoffline call.
94 __ripoffscreen(SCREEN *screen)
101 rip = screen->ripped;
108 w = __newwin(screen, nlines, 0
    [all...]
acs.c 56 __init_acs(SCREEN *screen)
101 if (t_acs_chars(screen->term) == NULL)
104 aofac = t_acs_chars(screen->term);
118 if (t_ena_acs(screen->term) != NULL)
119 ti_puts(screen->term, t_ena_acs(screen->term), 0,
120 __cputchar_args, screen->outfd);
124 screen->acs_char[count]= _acs_char[count];
128 _cursesi_reset_acs(SCREEN *screen
    [all...]
delwin.c 55 SCREEN *screen; local in function:delwin
81 /* Remove ourselves from the list of windows on the screen. */
83 screen = win->screen;
84 for (wl = screen->winlistp; wl; pwl = wl, wl = wl->nextp) {
90 screen->winlistp = wl->nextp;
curses.c 63 WINDOW *curscr; /* Current screen. */
64 WINDOW *stdscr; /* Standard screen. */
65 WINDOW *__virtscr; /* Virtual screen (for doupdate()). */
66 SCREEN *_cursesi_screen; /* the current screen we are using */
68 int COLS; /* Columns on the screen. */
69 int LINES; /* Lines on the screen. */
72 int COLORS; /* Maximum colors on the screen */
73 int COLOR_PAIRS = 0; /* Maximum color pairs on the screen */
80 /* compare two cells on screen, must have the same foreground/background
    [all...]
newwin.c 47 static WINDOW *__makenew(SCREEN *screen, int nlines, int ncols, int by,
124 __newwin(SCREEN *screen, int nlines, int ncols, int by, int bx, int ispad,
137 ry = __rippedlines(screen, -1);
138 by += __rippedlines(screen, 1);
145 if ((win = __makenew(screen, maxy, maxx, by, bx, 0, ispad)) == NULL)
260 __makenew(SCREEN *screen, int nlines, int ncols, int by, int bx, int sub,
317 if (screen->winlistp == NULL
    [all...]
setterm.c 62 _cursesi_setterm(const char *type, SCREEN *screen)
70 if (screen->term)
71 del_curterm(screen->term);
72 (void)ti_setupterm(&screen->term, type, fileno(screen->outfd), &r);
73 if (screen->term == NULL) {
75 (void)ti_setupterm(&screen->term, "dumb",
76 fileno(screen->outfd), &r);
78 if (screen->term == NULL
    [all...]
tty.c 107 * given screen.
110 _cursesi_gettmode(SCREEN *screen)
112 screen->useraw = 0;
114 if (tcgetattr(fileno(screen->infd), &screen->orig_termios)) {
116 if (tcgetattr(fileno(screen->outfd), &screen->orig_termios)) {
118 screen->notty = TRUE;
125 screen->baset = screen->orig_termios
    [all...]
curses.h 118 #define KEY_CLEAR 0x14D /* Clear screen */
119 #define KEY_EOS 0x14E /* Clear to end of screen */
240 typedef struct __screen SCREEN;
407 extern WINDOW *curscr; /* Current screen. */
408 extern WINDOW *stdscr; /* Standard screen. */
412 extern int COLS; /* Columns on the screen. */
413 extern int LINES; /* Lines on the screen. */
414 extern int COLORS; /* Max colors on the screen. */
415 extern int COLOR_PAIRS; /* Max color pairs on the screen. */
431 /* Standard screen pseudo functions. *
    [all...]
getch.c 214 static void add_key_sequence(SCREEN *screen, const char *sequence, int key_type);
333 * Delete the given key symbol from the key mappings for the screen.
373 add_key_sequence(SCREEN *screen, const char *sequence, int key_type)
381 current = screen->base_keymap; /* always start with
428 __init_getch(SCREEN *screen)
442 screen->base_keymap = new_keymap();
452 s = screen->term->strs[tc[i].code]
    [all...]
get_wch.c 64 __init_get_wch(SCREEN *screen)
67 memset(&screen->cbuf, 0, sizeof(screen->cbuf));
68 screen->cbuf_head = screen->cbuf_tail = screen->cbuf_cur = 0;
refresh.c 68 * Make the current screen look like "stdscr" over the area covered by
145 * Does the grunt work for wnoutrefresh to the given screen.
147 * (begy, begx) to (maxy, maxx) at screen position (wbegy, wbegx).
153 SCREEN *screen = win->screen; local in function:_wnoutrefresh
172 if (screen->curwin)
214 && 0 <= newy && newy < screen->__virtscr->maxy)
215 screen->__virtscr->cury = newy;
217 && 0 <= newx && newx < screen->__virtscr->maxx
    [all...]
  /src/games/hunt/hunt/
otto.c 76 #define SCREEN(y, x) mvinch(y, x)
318 ch = SCREEN(r, c);
339 ch = SCREEN(r, c);
360 ch = SCREEN(r, c);
380 ch = SCREEN(r, c);
489 if (strchr(PUSHOVER, SCREEN(row, col - 1)) != NULL)
491 else if (strchr(PUSHOVER, SCREEN(row, col + 1)) != NULL)
494 && strchr(PUSHOVER, SCREEN(row + 1, col)) != NULL)
497 && strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL)
507 if (strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL
    [all...]
  /src/tests/lib/libcurses/slave/
curses_commands.c 90 set_scrn(const char *arg, SCREEN **x)
148 SCREEN *arg; \

Completed in 18 milliseconds