Home | History | Annotate | Download | only in mucurses

Lines Matching refs:attrs

35 	attr_t attrs;
67 wattrset ( stdscr, slks->attrs );
113 * @ret attrs the current attributes of the soft function keys
116 return ( slks == NULL ? 0 : slks->attrs );
122 * @v attrs attribute bit mask
125 int slk_attroff ( const chtype attrs ) {
128 slks->attrs &= ~( attrs & A_ATTRIBUTES );
135 * @v attrs attribute bit mask
138 int slk_attron ( const chtype attrs ) {
141 slks->attrs |= ( attrs & A_ATTRIBUTES );
148 * @v attrs attribute bit mask
151 int slk_attrset ( const chtype attrs ) {
154 slks->attrs = ( attrs & A_ATTRIBUTES );
161 * @v attrs attribute bit mask
165 int slk_attr_off ( const attr_t attrs, void *opts __unused ) {
166 return slk_attroff( attrs );
172 * @v attrs attribute bit mask
176 int slk_attr_on ( attr_t attrs, void *opts __unused ) {
177 return slk_attron( attrs );
183 * @v attrs attribute bit mask
188 int slk_attr_set ( const attr_t attrs, short colour_pair_number,
196 slks->attrs = ( (unsigned short)colour_pair_number << CPAIR_SHIFT ) |
197 ( attrs & A_ATTRIBUTES );
226 slks->attrs = ( (unsigned short)colour_pair_number << CPAIR_SHIFT )
227 | ( slks->attrs & A_ATTRIBUTES );
251 slks->attrs = A_DEFAULT;
317 space_ch = (chtype)' ' | slks->attrs;