Lines Matching +full:0 +full:xe

41 	int xe;
44 int margin; /* 2 with multicolumn char, 0 otherwise */
54 setcchar(&borderch, L" ", 0, 0, NULL);
56 setcchar(&borderch, L"|", 0, 0, NULL);
60 if (st->xpad > 0) {
62 mvwvline(d->widget, (d->h / 2) - 2, 0, arrowch, 4);
65 mvwvline_set(d->widget, (d->h / 2) - 2, 0, &borderch, 4);
90 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0)
93 d->text, NULL, &d->bs, st->hpad, st->wpad + st->margin) != 0)
95 minw = (st->wpad > 0) ? 2 /*multicolumn char*/ + st->margin : 0 ;
96 if (widget_checksize(d->h, d->w, &d->bs, MIN(st->hpad, 1), minw) != 0)
98 if (set_widget_position(d->conf, &d->y, &d->x, d->h, d->w) != 0)
101 return (0);
110 if (textbox_size_position(d, st) != 0)
112 if (draw_dialog(d) != 0)
118 st->xs = (st->margin == 0) ? d->x + 1 : d->x + 2;
120 st->xe = st->xs + d->w - 3 - st->margin;
121 st->ypad = st->xpad = 0;
124 return (0);
146 if (prepare_dialog(conf, "" /* fake */, rows, cols, &d) != 0)
151 if (conf->text.tablen > 0)
157 st.margin = 0;
158 i = 0;
160 if (str_props(buf, &linecols, &has_multicol_ch) != 0)
170 mvwaddstr(st.pad, i, 0, buf);
178 if (textbox_draw(&d, &st) != 0)
187 * pnoutrefresh(pad, ypad, xpad, ys, xs, ye, xe);
191 prefresh(st.pad, st.ypad, st.xpad, st.ys, st.xs, st.ye, st.xe);
217 st.ypad = 0;
220 st.ypad = MAX(st.hpad - st.printrows, 0);
223 st.ypad = MAX(st.ypad - st.printrows, 0);
230 case '0':
231 st.xpad = 0;
235 st.xpad = MAX(st.xpad - 1, 0);
244 st.ypad = MAX(st.ypad - 1, 0);
255 if (f1help_dialog(conf) != 0)
257 if (textbox_draw(&d, &st) != 0)
262 if (textbox_draw(&d, &st) != 0)