Searched refs:MARGIN (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/contrib/dialog/
H A Dpause.c33 #define MIN_WIDE (10 + 2 * (2 + MARGIN))
34 #define BTN_HIGH (1 + 2 * MARGIN)
77 int button_high = (have_buttons ? BTN_HIGH : MARGIN);
108 MIN_HIGH + MARGIN - BTN_HIGH,
111 gauge_y = height - button_high - (1 + 2 * MARGIN);
138 gauge_y, 2 + MARGIN,
139 2 + MARGIN, width - 2 * (2 + MARGIN),
149 (void) wmove(dialog, gauge_y + MARGIN, 4);
152 for (i = 0; i < (width - 2 * (3 + MARGIN));
[all...]
H A Dfselect.c59 #define BTN_HIGH (1 + 2 * MARGIN) /* Ok/Cancel, also input-box */
60 #define MIN_HIGH (HDR_HIGH - MARGIN + (BTN_HIGH * 2) + 4 * MARGIN)
61 #define MIN_WIDE (2 * MAX(dlg_count_columns(d_label), dlg_count_columns(f_label)) + 6 * MARGIN + 2 * EXT_WIDE)
650 tbox_width = width - (4 * MARGIN + 2);
651 tbox_y = height - (BTN_HIGH * 2) + MARGIN;
661 dlg_draw_box(dialog, tbox_y - MARGIN, tbox_x - MARGIN,
662 (2 * MARGIN + 1), tbox_width + (MARGIN
[all...]
H A Dmixedgauge.c35 #define MIN_WIDE (10 + 2 * (2 + MARGIN))
113 int y = MARGIN;
124 bm -= (2 * MARGIN);
129 y = item + MARGIN + 1;
137 (void) wmove(win, y, 2 * MARGIN);
227 for (i = 0; i < (dlg->width - 2 * (3 + MARGIN)); i++)
238 x = (percent * (dlg->width - 2 * (3 + MARGIN))) / 100;
299 dlg->min_height += (2 * MARGIN);
339 dlg->height - dlg->item_no - (2 * MARGIN),
341 y + dlg->item_no + (2 * MARGIN),
[all...]
H A Dtimebox.c33 #define MIN_HIGH (ONE_HIGH + BTN_HIGH + (4 * MARGIN))
34 #define MIN_WIDE ((3 * (ONE_WIDE + 2 * MARGIN)) + 2 + (2 * MARGIN))
81 data->y - MARGIN, data->x - MARGIN,
82 data->height + (2 * MARGIN), data->width + (2 * MARGIN),
248 (width - MIN_WIDE + 1) / 2 + MARGIN,
249 (height - MIN_HIGH + MARGIN),
259 mvwprintw(dialog, hr_box.y, hr_box.x + ONE_WIDE + MARGIN, "
[all...]
H A Dprogressbox.c34 #define MIN_WIDE (10 + 2 * (2 + MARGIN))
97 thigh = obj->high - (2 * MARGIN);
118 wmove(obj->obj.win, y2, MARGIN);
119 for (i = 0; i < getmaxx(obj->obj.win) - 2 * MARGIN; i++)
128 obj->wide - (2 * MARGIN),
129 y + MARGIN,
130 x + MARGIN);
134 (void) wmove(obj->obj.win, getmaxy(obj->text), (MARGIN + 1));
225 int width = obj->wide - (2 * MARGIN);
439 int need = 1 + MARGIN;
[all...]
H A Dtailbox.c179 int high = getmaxy(obj->obj.win) - (2 * MARGIN + (obj->obj.bg_task ? 1 : 3));
350 thigh = height - ((2 * MARGIN) + (bg_task ? 0 : 2));
359 width - (2 * MARGIN),
360 y + MARGIN,
361 x + MARGIN);
371 dlg_draw_buttons(dialog, height - (2 * MARGIN), 0, buttons, FALSE,
375 (void) wmove(dialog, thigh, (MARGIN + 1));
H A Dguage.c34 #define MIN_WIDE (10 + 2 * (2 + MARGIN))
136 obj->height - 4, 2 + MARGIN,
137 2 + MARGIN, obj->width - 2 * (2 + MARGIN),
150 for (i = 0; i < (obj->width - 2 * (3 + MARGIN)); i++)
161 x = (obj->percent * (obj->width - 2 * (3 + MARGIN))) / 100;
H A Drangebox.c29 #define MIN_HIGH (ONE_HIGH + 1 + (4 * MARGIN))
30 #define MIN_WIDE (10 + 2 + (2 * MARGIN))
266 usable = (width - 2 - 4 * MARGIN);
275 data.value_x = (usable - data.value_len) / 2 + MARGIN;
291 data.slide_x = (usable - data.slide_len) / 2 + MARGIN + 2;
303 height - 6, data.slide_x - MARGIN,
304 2 + MARGIN, data.slide_len + 2 * MARGIN,
H A Deditbox.c411 box_y = MARGIN + 0;
412 box_x = MARGIN + 1;
413 box_width = width - 2 - (2 * MARGIN);
414 box_height = height - (4 * MARGIN);
422 dlg_mouse_mkbigregion(box_y + MARGIN,
423 box_x + MARGIN,
424 box_height - (2 * MARGIN),
425 box_width - (2 * MARGIN),
428 box_height - (2 * MARGIN),
429 box_width - (2 * MARGIN),
[all...]
H A Dyesno.c100 page = height - (1 + 3 * MARGIN);
102 height - 2 * MARGIN, 0,
H A Dcalendar.c44 #define MIN_HIGH (DAY_HIGH + 2 + HDR_HIGH + BTN_HIGH + (MAX_DAYS * MARGIN))
45 #define MIN_WIDE (DAY_WIDE + (4 * MARGIN))
386 data->y - MARGIN, data->x - MARGIN,
387 data->height + (2 * MARGIN), data->width + (2 * MARGIN),
835 1 + (height - (DAY_HIGH + BTN_HIGH + (5 * MARGIN))),
849 dy_box.y - (HDR_HIGH + 2 * MARGIN),
850 (DAY_WIDE / 2) - MARGIN,
H A Dmsgbox.c104 page = height - (1 + 3 * MARGIN);
H A Dbuildlist.c37 #define MIN_HIGH (1 + (5 * MARGIN))
605 + 2 * MARGIN)
642 list_width = (width - 6 * MARGIN - 2) / 2;
645 data[0].box_x = MARGIN + 1;
647 data[1].box_x = data[0].box_x + 1 + 2 * MARGIN + list_width;
666 all.use_height + 2 * MARGIN,
667 list_width + 2 * MARGIN,
683 all.use_width = (list_width - 6 * MARGIN);
H A Dutil.c974 int x = (2 * MARGIN);
975 int y = MARGIN;
977 int lm = (2 * MARGIN); /* left margin (box-border plus a space) */
985 rm -= (2 * MARGIN);
986 bm -= (2 * MARGIN);
1069 int wide = width - (2 * MARGIN);
1088 dlg_print_autowrap(win, prompt, height + 1 + (3 * MARGIN), width);
1100 offset + MARGIN, /* sminrow */
1101 MARGIN, /* smincol */
1102 MARGIN, /* dminro
[all...]
H A Dchecklist.c32 #define MIN_HIGH (1 + (5 * MARGIN))
321 all.use_height + 2 * MARGIN,
322 all.use_width + 2 * MARGIN,
H A Dtreeview.c28 #define MIN_HIGH (1 + (5 * MARGIN))
307 use_height + 2 * MARGIN,
308 all.use_width + 2 * MARGIN,
H A Darrows.c118 if (dialog_vars.title && is_toplevel && (top - getbegy(win)) < MARGIN) {
H A Dtextbox.c510 box_height = 1 + (2 * MARGIN);
511 box_width = len_caption + (2 * (MARGIN + 2));
513 box_width = MIN(box_width, getmaxx(dialog) - 2 * MARGIN);
514 len_caption = MIN(len_caption, box_width - (2 * (MARGIN + 1)));
H A Dbuttons.c321 width += (4 * MARGIN);
H A Dformbox.c543 1 + 3 * MARGIN,
556 thigh = SLINES - (height - (thigh + 1 + 3 * MARGIN));
H A Dmenubox.c51 #define MIN_HIGH (1 + (5 * MARGIN))
/freebsd-13-stable/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c48 wmove(partitions, y, MARGIN + items[item].indentation*2);
127 partlist_width = width - 2*MARGIN;
151 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
181 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
195 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
203 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
272 dlg_draw_buttons(dialog, height - 2*MARGIN, 0,
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dfitblk_original.c32 complete (see the MARGIN define below). That will result in a
49 block of the third and final pass. MARGIN is chosen to be just
124 #define MARGIN 8 /* amount to back off for completion */ macro
208 inf.avail_in = size - MARGIN; /* assure stream will complete */
215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */
H A Dfitblk.c36 complete (see the MARGIN define below). That will result in a
53 block of the third and final pass. MARGIN is chosen to be just
136 #define MARGIN 8 /* amount to back off for completion */ macro
227 inf.avail_in = size - MARGIN; /* assure stream will complete */
236 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */
/freebsd-13-stable/contrib/libxo/xohtml/external/
H A Djquery.qtip.js1933 MARGIN = 'margin',
2363 position[MARGIN+'-' + b] = -Math.round(size[ precedance === Y ? 0 : 1 ] / 2) + userOffset;
2429 css[MARGIN+'-left'] = shift.x = offset[MARGIN+'-left'] - adjust.left;
2445 css[MARGIN+'-top'] = shift.y = offset[MARGIN+'-top'] - adjust.top;

Completed in 123 milliseconds

12