Lines Matching refs:button
224 width += (bs->nbuttons - 1) * t.button.minmargin;
236 color_arrows = t.button.f_delimcolor;
237 color_shortkey = t.button.f_shortcutcolor;
238 color_button = t.button.f_color;
240 color_arrows = t.button.delimcolor;
241 color_shortkey = t.button.shortcutcolor;
242 color_button = t.button.color;
246 mvwaddch(window, y, x, t.button.leftdelim);
253 mvwaddch(window, y, x + i, t.button.rightdelim);
277 newmargin = MIN(newmargin, t.button.maxmargin);
279 margin = t.button.minmargin;
311 if (d->conf->button.left1_label != NULL) {
312 d->bs.label[d->bs.nbuttons] = d->conf->button.left1_label;
317 if (d->conf->button.left2_label != NULL) {
318 d->bs.label[d->bs.nbuttons] = d->conf->button.left2_label;
323 if (d->conf->button.left3_label != NULL) {
324 d->bs.label[d->bs.nbuttons] = d->conf->button.left3_label;
329 if (oklabel != NULL && d->conf->button.without_ok == false) {
330 d->bs.label[d->bs.nbuttons] = d->conf->button.ok_label != NULL ?
331 d->conf->button.ok_label : oklabel;
336 if (d->conf->button.with_extra) {
337 d->bs.label[d->bs.nbuttons] = d->conf->button.extra_label != NULL ?
338 d->conf->button.extra_label : "Extra";
343 if (cancellabel != NULL && d->conf->button.without_cancel == false) {
344 d->bs.label[d->bs.nbuttons] = d->conf->button.cancel_label ?
345 d->conf->button.cancel_label : cancellabel;
347 if (d->conf->button.default_cancel)
352 if (d->conf->button.with_help) {
353 d->bs.label[d->bs.nbuttons] = d->conf->button.help_label != NULL ?
354 d->conf->button.help_label : "Help";
359 if (d->conf->button.right1_label != NULL) {
360 d->bs.label[d->bs.nbuttons] = d->conf->button.right1_label;
365 if (d->conf->button.right2_label != NULL) {
366 d->bs.label[d->bs.nbuttons] = d->conf->button.right2_label;
371 if (d->conf->button.right3_label != NULL) {
372 d->bs.label[d->bs.nbuttons] = d->conf->button.right3_label;
388 if (d->conf->button.default_label != NULL) {
390 if (strcmp(d->conf->button.default_label,
965 hconf.button.ok_label = "EXIT";