Searched refs:slk (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dslk_label.c52 SLK_MAP *slk = SP->slk; local
67 return ((!slk || n < 1 || n > slk->_num) ? NULL : slk->_lval[n - 1]);
H A Dslk_touch.c52 SLK_MAP *slk; local
55 if (((slk = SP->slk) == NULL) || (slk->_changed == 2))
58 for (i = 0; i < slk->_num; ++i)
59 slk->_lch[i] = TRUE;
60 slk->_changed = TRUE;
H A Dslk_clear.c52 SLK_MAP *slk; local
56 if ((slk = SP->slk) == NULL)
59 slk->_changed = 2; /* This means no more soft labels. */
60 if (slk->_win) {
61 (void) werase(slk->_win);
62 (void) wrefresh(slk->_win);
65 for (i = 0; i < slk->_num; i++)
72 for (i = 0; i < slk->_num; ++i)
73 slk
[all...]
H A Dslk_refresh.c53 return (wrefresh(SP->slk->_win));
64 SLK_MAP *slk; local
67 if ((slk = SP->slk) == NULL || (slk->_changed != TRUE))
70 win = slk->_win;
71 for (i = 0; i < slk->_num; ++i)
72 if (slk->_lch[i]) {
74 (void) mvwaddstr(win, 0, slk->_labx[i],
75 slk
[all...]
H A Dslk_noutref.c52 if (SP->slk == NULL)
55 if (SP->slk->_win && _slk_update())
56 (void) wnoutrefresh(SP->slk->_win);
H A Dslk_restore.c52 if (SP->slk) {
53 SP->slk->_changed = TRUE;
H A Dslk_atroff.c52 /* currently we change slk attribute only when using software */
53 /* slk's. However, we may introduce a new terminfo variable */
54 /* which would allow manipulating the hardware slk's as well */
56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atron.c52 /* currently we change slk attribute only when using software */
53 /* slk's. However, we may introduce a new terminfo variable */
54 /* which would allow manipulating the hardware slk's as well */
56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atrset.c52 /* currently we change slk attribute only when using software */
53 /* slk's. However, we may introduce a new terminfo variable */
54 /* which would allow manipulating the hardware slk's as well */
56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_set.c60 SLK_MAP *slk = SP->slk; local
61 int len, slklen = slk->_len, left;
64 if ((slk == NULL) || f < 0 || f > 2 || n < 1 || n > slk->_num)
91 if (strcmp(slk->_ldis[n], nlab) != 0) {
92 (void) memcpy(slk->_lval[n], lab, len + 1);
93 (void) memcpy(slk->_ldis[n], nlab, slklen + 1);
94 slk->_changed = slk
[all...]
H A Ddelscreen.c68 if (screen->slk) {
69 if (screen->slk->_win)
70 (void) delwin(screen->slk->_win);
71 free(screen->slk);
H A Dscr_ll_dump.c54 SLK_MAP *slk = SP->slk; local
76 /* next output: 0 no slk, 1 hardware slk, 2 simulated slk */
78 magic = (!slk) ? 0 : (slk->_win) ? 2 : 1;
82 short i, labmax = slk->_num, lablen = slk->_len + 1;
92 if ((fwrite(slk
[all...]
H A Dslk_start.c129 SLK_MAP *slk; local
136 /* get space for slk structure */
137 if ((slk = (SLK_MAP *) malloc(sizeof (SLK_MAP))) == NULL) {
170 if (len <= 0 || num <= 0 || (_slk_setpos(len, slk->_labx) == ERR)) {
174 free(slk);
177 slk->_num = (short) num;
179 slk->_len = (short) len;
182 cp = slk->_ldis[i];
187 slk->_lval[i][0] = '\0';
188 slk
[all...]
H A Dscr_reset.c140 SLK_MAP *slk = SP->slk; local
146 * char **labdis = SP->slk->_ldis, **labval = SP->slk->_lval;
154 if (slk != NULL) {
155 if ((labmax != slk->_num) ||
156 (lablen != (slk->_len + 1)))
166 if ((fread(slk->_ldis[i], sizeof (char),
168 (fread(slk->_lval[i],
H A Dquick_echo.c67 (SP->slk && (SP->slk->_changed == TRUE))) {
H A Dtgetch.c339 (SP->slk != (SLK_MAP *) NULL) &&
608 SLK_MAP *slk = SP->slk; local
609 int num = slk->_num;
610 int len = slk->_len;
623 if (MOUSE_X_POS < slk->_labx[i])
625 if (MOUSE_X_POS > slk->_labx[i] + len)
H A Dwrefresh.c87 SLK_MAP *slk; local
120 slk = SP->slk;
131 if (slk)
189 if (slk)
202 /* Software soft labels; if _changed == 2, slk's are in clear mode. */
203 if (slk && slk->_win && (slk->_changed == TRUE))
256 /* slk'
[all...]
H A Dcurshdr.h146 SLK_MAP *slk; /* Soft label information */ member in struct:screen
156 /* slk's to function keys */
/illumos-gate/usr/src/lib/libxcurses/
H A DMakefile.com68 delch.o keypad.o slk.o wattr_on.o wtouchln.o \
/illumos-gate/usr/src/lib/libxcurses2/
H A DMakefile.com66 delch.o keypad.o slk.o wattr_on.o wtouchln.o \

Completed in 107 milliseconds