Back to index

tetex-bin  3.0
Functions
lib_wattron.c File Reference
#include <curses.priv.h>
#include <ctype.h>

Go to the source code of this file.

Functions

 wattr_on (WINDOW *win, attr_t at, void *opts GCC_UNUSED)

Function Documentation

wattr_on ( WINDOW win,
attr_t  at,
void *opts  GCC_UNUSED 
)

Definition at line 47 of file lib_wattron.c.

{
    T((T_CALLED("wattr_on(%p,%s)"), win, _traceattr(at)));
    if (win) {
       T(("... current %s", _traceattr(win->_attrs)));
       toggle_attr_on(win->_attrs, at);
       returnCode(OK);
    } else
       returnCode(ERR);
}