/netbsd-src/lib/libcurses/ |
H A D | attributes.c | 40 static int __wattr_off(WINDOW *, attr_t); 41 static int __wattr_on(WINDOW *, attr_t); 42 static void __wcolor_set(WINDOW *, attr_t); 53 attr_get(attr_t *attr, short *pair, void *opts) in attr_get() 64 attr_on(attr_t attr, void *opts) in attr_on() 75 attr_off(attr_t attr, void *opts) in attr_off() 86 attr_set(attr_t attr, short pair, void *opts) in attr_set() 144 wattr_get(WINDOW *win, attr_t *attr, short *pair, void *opts) in wattr_get() 167 wattr_on(WINDOW *win, attr_t attr, void *opts) in wattr_on() 183 wattr_off(WINDOW *win, attr_t att [all...] |
H A D | curses_private.h | 72 attr_t attr; /* Attributes */ 129 attr_t wattr; /* Character attributes */ 131 attr_t battr; /* Background attributes */ 241 attr_t nca; 251 attr_t mask_op; 252 attr_t mask_me; 253 attr_t mask_ue; 254 attr_t mask_se; 351 int _cursesi_addbyte(WINDOW *, __LINE **, int *, int *, int , attr_t, int); 354 int _cursesi_waddbytes(WINDOW *, const char *, int, attr_t, int); [all …]
|
H A D | curses.h | 51 * attr_t must be the same size as wchar_t (see <wchar.h>) to avoid padding 55 typedef wchar_t attr_t; typedef 70 attr_t attributes; /* character attributes */ 543 int attr_get(attr_t *, short *, void *); 544 int attr_off(attr_t, void *); 545 int attr_on(attr_t, void *); 546 int attr_set(attr_t, short, void *); 726 attr_t no_color_attributes(void); 764 attr_t term_attrs(void); 782 int wattr_get(WINDOW *, attr_t *, shor [all...] |
H A D | chgat.c | 39 chgat(int n, attr_t attr, short color, const void *opts) in chgat() 45 mvchgat(int y, int x, int n, attr_t attr, short color, in mvchgat() 52 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts) in wchgat() 58 mvwchgat(WINDOW *win , int y, int x, int count, attr_t attr, short color, in mvwchgat()
|
H A D | slk.c | 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); 129 slk_attr_on(const attr_t attr, void *opt) in slk_attr_on() 153 slk_attr_off(const attr_t attr, void *opt) in slk_attr_off() 177 slk_attr_set(const attr_t attr, short pair, void *opt) in slk_attr_set() 310 __slk_attr_on(SCREEN *screen, const attr_t attr, void *opt) in __slk_attr_on() 338 __slk_attr_off(SCREEN *screen, const attr_t attr, void *opt) in __slk_attr_off() 366 __slk_attr_set(SCREEN *screen, const attr_t attr, short pair, void *opt) in __slk_attr_set()
|
H A D | inch.c | 88 attr_t attr; in winch() 95 attr = (attr_t) ((win)->alines[(win)->cury]->line[(win)->curx].attr & in winch()
|
H A D | cchar.c | 52 getcchar(const cchar_t *wcval, wchar_t *wch, attr_t *attrs, in getcchar() 87 setcchar(cchar_t *wcval, const wchar_t *wch, const attr_t attrs, in setcchar()
|
H A D | insch.c | 95 attr_t attr; in winsch() 120 temp1->attr = (attr_t) ch & __ATTRIBUTES; in winsch()
|
H A D | background.c | 82 win->battr = (attr_t) ch & __ATTRIBUTES; 129 attr_t battr; in getbkgd() 169 attr_t battr; in wbkgrndset()
|
H A D | color.c | 45 attr_t __default_color = 0; 94 attr_t temp_nc; in start_color() 173 temp_nc = (attr_t)t_no_color_video(_cursesi_screen->term); in start_color() 524 attr_t in __strong_alias() 535 __set_color( /*ARGSUSED*/ WINDOW *win, attr_t attr) in __set_color()
|
H A D | border.c | 137 win->alines[i]->line[0].attr = (attr_t) left & __ATTRIBUTES; in wborder() 139 win->alines[i]->line[endx].attr = (attr_t) right & __ATTRIBUTES; in wborder() 143 fp[i].attr = (attr_t) top & __ATTRIBUTES; in wborder() 145 lp[i].attr = (attr_t) bottom & __ATTRIBUTES; in wborder() 152 fp[0].attr = (attr_t) topleft & __ATTRIBUTES; in wborder() 154 fp[endx].attr = (attr_t) topright & __ATTRIBUTES; in wborder() 156 lp[0].attr = (attr_t) botleft & __ATTRIBUTES; in wborder() 158 lp[endx].attr = (attr_t) botright & __ATTRIBUTES; in wborder()
|
H A D | addbytes.c | 101 __waddbytes(WINDOW *win, const char *bytes, int count, attr_t attr) in __waddbytes() 115 _cursesi_waddbytes(WINDOW *win, const char *bytes, int count, attr_t attr, in _cursesi_waddbytes() 205 attr_t attr, int char_interp) in _cursesi_addbyte() 210 attr_t attributes; in _cursesi_addbyte() 357 attr_t attributes; in _cursesi_addwchar()
|
H A D | fileio.c | 117 if (fwrite(&sp->attr, sizeof(attr_t), 1, fp) != 1) in putwin() 224 if (fread(&sp->attr, sizeof(attr_t), 1, fp) != 1) in getwin()
|
H A D | erase.c | 70 attr_t battr; in werase()
|
H A D | addch.c | 115 buf.attr = (attr_t)ch & __ATTRIBUTES; in waddch()
|
H A D | clrtobot.c | 69 attr_t battr; in wclrtobot()
|
H A D | clrtoeol.c | 69 attr_t battr; in wclrtoeol()
|
H A D | addchnstr.c | 136 attr_t attr; in waddchnstr()
|
H A D | insdelln.c | 76 attr_t attr; in winsdelln()
|
H A D | refresh.c | 820 attr_t off, on; in putattr() 1152 attr_t lspc; /* Last space colour */ in makech() 1153 attr_t battr; /* background attribute bits */ in makech() 1154 attr_t attr_mask; /* attributes mask */ in makech() 1559 attr_t bcolor; in quickch()
|
H A D | setterm.c | 52 attr_t __mask_op, __mask_me, __mask_ue, __mask_se;
|
/netbsd-src/usr.bin/sdpquery/ |
H A D | print.c | 52 } attr_t; typedef 57 attr_t * attrs; 70 static bool print_attribute(uint16_t, sdp_data_t *, attr_t *, size_t); 141 attr_t protocol_list[] = { 169 attr_t universal_attrs[] = { 186 attr_t language_attrs[] = { /* Language Attribute Offsets */ 192 attr_t sds_attrs[] = { /* Service Discovery Server */ 197 attr_t bgd_attrs[] = { /* Browse Group Descriptor */ 201 attr_t ct_attrs[] = { /* Cordless Telephony */ 205 attr_t asrc_attrs[] = { /* Audio Source */ [all …]
|
/netbsd-src/lib/libmenu/ |
H A D | menu.h | 115 attr_t fore; /* menu foreground */ 116 attr_t back; /* menu background */ 117 attr_t grey; /* greyed out (nonselectable) menu item */ 167 int set_menu_back(MENU *, attr_t); 168 int set_menu_fore(MENU *, attr_t); 170 int set_menu_grey(MENU *, attr_t);
|
H A D | attributes.c | 41 set_menu_fore(MENU *menu, attr_t attr) in set_menu_fore() 66 set_menu_back(MENU *menu, attr_t attr) in set_menu_back() 91 set_menu_grey(MENU *menu, attr_t attr) in set_menu_grey()
|
/netbsd-src/lib/libcurses/EXAMPLES/ |
H A D | ex1.c | 71 attr_t al[ 15 ] = { WA_BLINK, in main()
|