Lines Matching +full:multi +full:- +full:attr
3 * Copyright 1998-2010,2012 Free Software Foundation, Inc. *
45 if ( (menu) && ((menu)->status & _POSTED) )\
53 MENU_EXPORT(int) NCURSES_API set_menu_ ## name (MENU* menu, chtype attr) \
55 T((T_CALLED("set_menu_" #name "(%p,%s)"), (void *) menu, _traceattr(attr))); \
56 if (!(attr==A_NORMAL || (attr & A_ATTRIBUTES)==attr))\
58 if (menu && ( menu -> name != attr))\
60 (menu -> name) = attr;\
63 Normalize_Menu( menu ) -> name = attr;\
72 returnAttr(Normalize_Menu( menu ) -> name);\
75 /*---------------------------------------------------------------------------
77 | Function : int set_menu_fore(MENU *menu, chtype attr)
79 | Description : Set the attribute for selectable items. In single-
81 | item ((i.e. where the cursor is), in multi-valued
84 | Return Values : E_OK - success
85 | E_BAD_ARGUMENT - an invalid value has been passed
86 +--------------------------------------------------------------------------*/
89 /*---------------------------------------------------------------------------
94 | are current (single-valued menu) or selected (multi-
98 +--------------------------------------------------------------------------*/
101 /*---------------------------------------------------------------------------
103 | Function : int set_menu_back(MENU *menu, chtype attr)
108 | Return Values : E_OK - success
109 | E_BAD_ARGUMENT - an invalid value has been passed
110 +--------------------------------------------------------------------------*/
113 /*---------------------------------------------------------------------------
121 +--------------------------------------------------------------------------*/
124 /*---------------------------------------------------------------------------
126 | Function : int set_menu_grey(MENU *menu, chtype attr)
130 | Return Values : E_OK - success
131 | E_BAD_ARGUMENT - an invalid value has been passed
132 +--------------------------------------------------------------------------*/
135 /*---------------------------------------------------------------------------
139 | Description : Return the attribute used for non-selectable items
142 +--------------------------------------------------------------------------*/