Home
last modified time | relevance | path

Searched refs:slk_format (Results 1 – 9 of 9) sorted by relevance

/openbsd/lib/libcurses/base/
H A Dlib_slk.c91 if (SP_PARM->slk_format >= 3) { /* PC style */ in _nc_format_slks()
103 if (SP_PARM->slk_format == 2) { /* 4-4 */ in _nc_format_slks()
114 if (SP_PARM->slk_format == 1) { /* 1 -> 3-2-3 */ in _nc_format_slks()
165 if (!SP_PARM->slk_format) in _nc_slk_initialize()
166 SP_PARM->slk_format = _nc_globals.slk_format; in _nc_slk_initialize()
180 : MAX_SKEY(SP_PARM->slk_format)); in _nc_slk_initialize()
183 : MAX_SKEY_LEN(SP_PARM->slk_format)); in _nc_slk_initialize()
184 SP_PARM->_slk->labcnt = (short) ((SP_PARM->_slk->maxlab < MAX_SKEY(SP_PARM->slk_format)) in _nc_slk_initialize()
185 ? MAX_SKEY(SP_PARM->slk_format) in _nc_slk_initialize()
228 _nc_globals.slk_format = 0; in _nc_slk_initialize()
H A Dlib_newterm.c216 int slk_format; in NCURSES_SP_NAME() local
225 slk_format = SP_PARM->slk_format; in NCURSES_SP_NAME()
228 slk_format = _nc_globals.slk_format; in NCURSES_SP_NAME()
244 slk_format) == ERR) { in NCURSES_SP_NAME()
292 if (slk_format && NumLabels > 0 && SLK_STDFMT(slk_format)) in NCURSES_SP_NAME()
H A Dlib_slkinit.c49 #define SoftkeyFormat SP_PARM->slk_format
51 #define SoftkeyFormat _nc_globals.slk_format
H A Dlib_slkrefr.c65 if (win && sp && (sp->slk_format == 4)) { in slk_paint_info()
92 fmt = sp->slk_format; in slk_intern_refresh()
H A Dlib_set_term.c321 int slk_format) in NCURSES_SP_NAME()
334 slines, scolumns, (void *) output, filtered, slk_format)); in NCURSES_SP_NAME()
717 if (!(NumLabels <= 0 || !SLK_STDFMT(slk_format))) { in NCURSES_SP_NAME()
777 int slk_format) in _nc_setupscreen() argument
785 slk_format); in _nc_setupscreen()
H A Dlib_slkset.c76 limit = MAX_SKEY_LEN(SP_PARM->slk_format); in NCURSES_EXPORT()
/openbsd/lib/libcurses/
H A Dterm.priv.h178 int slk_format; member
H A Dcurses.priv.h1016 int slk_format; /* selected format for this screen */ member
/openbsd/lib/libcurses/tinfo/
H A Dlib_setup.c969 sp->slk_format = 0; in new_prescr()