Searched refs:colours (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/external/bsd/tmux/dist/
H A Dimage-sixel.c40 u_int *colours; member in struct:sixel_image
188 log_debug("%s: too many colours", __func__);
221 si->colours = xrecallocarray(si->colours, si->ncolours, c + 1,
222 sizeof *si->colours);
225 si->colours[c] = (type << 24) | (r << 16) | (g << 8) | b;
343 free(si->colours);
357 log_debug("%s: colour %u is %07x", __func__, i, si->colours[i]);
388 u_int oy, u_int sx, u_int sy, int colours)
435 if (colours) {
387 sixel_scale(struct sixel_image *si, u_int xpixel, u_int ypixel, u_int ox, u_int oy, u_int sx, u_int sy, int colours) argument
482 u_int *colours, ncolours, i, c, x, y, count; local
[all...]
H A Dcolour.c52 * Note that the xterm has much lower resolution for darker colours (they are
365 } colours[] = { local
956 for (i = 0; i < nitems(colours); i++) {
957 if (strcasecmp(colours[i].name, name) == 0)
958 return (colours[i].c|COLOUR_FLAG_RGB);
1093 o = options_get(oo, "pane-colours");
H A Dtty.c2679 /* Copy cell and update default colours. */
2711 /* Fix up the colours if necessary. */
2724 * Set the colours. This may call tty_reset() (so it comes next) and
2788 * best solution might be to reset both colours to default, in which
2796 * and sometimes isn't). This resets both colours to default.
2842 u_int colours; local
2869 /* How many colours does this terminal have? */
2871 colours = 256;
2873 colours = tty_term_number(tty->term, TTYC_COLORS);
2878 if (colours < 25
2901 u_int colours; local
[all...]
/netbsd-current/lib/libcurses/
H A Dcolor.c40 /* Have we initialised colours? */
51 /* Flags for colours and pairs */
62 * Check if terminal has colours.
78 * Check if terminal can change colours.
102 /* Max colours and colour pairs */
195 /* Set up initial 8 colours */
196 #define RGB_ON 680 /* Allow for bright colours */
214 /* Initialise other colours */
216 _cursesi_screen->colours[i].red = 0;
217 _cursesi_screen->colours[
[all...]
H A Dcurses_private.h179 /* Maximum colours */
238 struct __color colours[MAX_COLORS]; member in struct:__screen
/netbsd-current/games/sail/
H A Dpl_4.c98 if ((tolower((unsigned char)c) == *buf || colours(sp) == *buf)
H A Dmisc.c179 colours(struct ship *sp) function
H A Dextern.h307 int colours(struct ship *);
H A Dpl_7.c583 waddch(view_w, colours(sp));
761 colours(ms),
H A Dsync.c178 ship->shipname, colours(ship), sterncolour(ship));
/netbsd-current/sys/arch/atari/stand/bootpref/
H A Dbootpref.c299 "\t[-c colours] [-n] [-p] [-t] [-v] [-4] [-8]\n"
596 u_char colours; local
598 colours = vid2 & 0x07;
600 switch (colours) {
617 printf (" colours, ");
/netbsd-current/tests/lib/libcurses/slave/
H A Dcurses_commands.c248 short colours; local
253 retval = attr_get(&attrs, &colours, NULL);
258 report_int(colours);

Completed in 237 milliseconds