Searched refs:width (Results 1 - 25 of 149) sorted by relevance

123456

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Box.c135 * Returns minimum width and height that will preserve the same layout.
139 static void DoLayout(bbw, width, height, reply_width, reply_height, position)
141 Dimension width, height;
154 /* Box width and height */
159 /* Line width and height */
167 /* Compute widget width */
168 bw = widget->core.width + 2*widget->core.border_width + h_space;
169 if (lw + bw > width) {
211 if (!vbox && width && lw > width
267 Dimension width /*, height */; local
473 Dimension width, height, borderWidth; local
[all...]
H A DXaw3_1Viewport.c145 horizontal ? clip->core.width : clip->core.height);
225 clip_width = w->core.width;
229 (w->core.width > h_bar->core.width + h_bar->core.border_width) )
230 clip_width -= h_bar->core.width + h_bar->core.border_width;
319 XtResizeWidget( child, child->core.width,
351 GetGeometry( widget, child->core.width, child->core.height );
353 ( (FormWidget)w, w->core.width, w->core.height );
380 clip->core.width, child->core.width );
[all...]
H A DXaw3_1Sme.c212 * I just return the height and a width of 1.
221 Dimension width; local
225 width = 1; /* we can be really small. */
227 if ( ((mode & CWWidth) && (intended->width != width)) ||
230 return_val->width = width;
233 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
H A DXaw3_1SimpleMenu.c264 if (smw->core.width == 0) {
266 smw->core.width = GetMenuWidth(new, NULL);
315 (unsigned int) (*entry)->rectangle.width,
375 ForAllChildren(smw, entry) /* reset width of all entries. */
377 (*entry)->rectangle.width = smw->core.width;
402 if (smw_new->core.width != smw_old->core.width) {
403 smw_new->simple_menu.menu_width = (smw_new->core.width != 0);
455 * If the user actually passed a width an
467 Dimension width, height; local
872 Dimension width, height; local
1048 int width = w->core.width + 2 * w->core.border_width; local
1141 Dimension width, widest = (Dimension) 0; local
[all...]
H A DXaw3_1AsciiSink.c129 register int i, width, nonPrinting; local
140 if (x >= XtParent(w)->core.width) return 0;
144 if (*tab < XtParent(w)->core.width)
163 width = font->per_char[c - font->min_char_or_byte2].width;
165 width = font->min_bounds.width;
168 width += CharWidth(w, x, (unsigned char) '^');
170 return width;
179 * Returns: the width o
197 Dimension width = XTextWidth(sink->text_sink.font, (char *) buf, len); local
257 Dimension width; local
[all...]
H A DXaw3_1Form.c225 fw->form.old_width = fw->core.width;
241 ( w, w->core.width, w->core.height );
247 static Boolean Layout(fw, width, height)
249 Dimension width, height;
268 x = (*childP)->core.x + (*childP)->core.width
281 && (maxx != fw->core.width || maxy != fw->core.height)) {
290 fw->form.old_width = fw->core.width;
332 x += ref->core.x + ref->core.width + (ref->core.border_width << 1);
369 Dimension width, height; local
375 fw->core.width, for
[all...]
H A DXaw3_1StripChart.c51 offset(core.width), XtRImmediate, (caddr_t) 120},
218 event->xgraphicsexpose.width);
221 event->xexpose.width);
239 if (w->strip_chart.interval >= w->core.width)
258 w->strip_chart.interval = repaint_window(w, 0, (int) w->core.width);
289 * (scale - 1 lines for graph). If next is less than the current window width,
297 repaint_window(w, left, width)
299 int left, width;
316 width = next;
317 scalewidth = w->core.width;
[all...]
H A DXaw3_1TextSink.c291 * width, height - size of area to clear
298 ClearToBackground (w, x, y, width, height)
301 Dimension width, height;
304 * Don't clear in height or width are zero.
308 if ( (height == 0) || (width == 0) ) return;
310 x, y, width, height, False);
318 * width, - width of section to paint text.
328 FindPosition(w, fromPos, fromx, width, stopAtWordBreak,
332 int fromx, width;
[all...]
H A DXaw3_1SmeBSB.c179 GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height));
235 (unsigned int) entry->rectangle.width,
251 int width, t_width; local
255 width = entry->rectangle.width - (entry->sme_bsb.left_margin +
257 x_loc += (width - t_width)/2;
261 x_loc = entry->rectangle.width - (entry->sme_bsb.right_margin +
329 &(entry->rectangle.width), &(entry->rectangle.height));
343 * I just return the height and width of the label plus the margins.
352 Dimension width, heigh local
510 unsigned int width, height; local
[all...]
H A DXaw3_1Label.c154 * Calculate width and height of displayed text in pixels
166 unsigned int width, height, bw, depth; local
168 &width, &height, &bw, &depth)) {
170 lw->label.label_width = width;
186 int width = XTextWidth(fs, label, (int)(nl - label)); local
187 if (width > lw->label.label_width) lw->label.label_width = width;
194 int width = XTextWidth(fs, label, strlen(label)); local
195 if (width > lw->label.label_width) lw->label.label_width = width;
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DPorthole.c146 prep.slider_width = pw->core.width;
148 prep.canvas_width = child->core.width;
167 *widthp = child->core.width;
172 if (geomp->request_mode & CWWidth) *widthp = geomp->width;
180 if (*widthp < pw->core.width) *widthp = pw->core.width;
187 minx = ((Position) pw->core.width) - ((Position) *widthp);
214 if (gw->core.width < 1) gw->core.width = 1;
233 Dimension width, heigh local
[all...]
H A DBox.c156 * Returns minimum width and height that will preserve the same layout.
160 static void DoLayout(bbw, width, height, reply_width, reply_height, position)
162 Dimension width, height;
175 /* Box width and height */
180 if ( bbw->composite.children[i]->core.width > w )
181 w = bbw->composite.children[i]->core.width;
184 if ( w > width ) width = w;
187 /* Line width and height */
195 /* Compute widget width */
296 Dimension width /*, height */; local
502 Dimension width, height, borderWidth; local
[all...]
H A DViewport.c170 horizontal ? clip->core.width : clip->core.height);
233 XtSetArg(clip_args[arg_cnt], XtNwidth, w->core.width); arg_cnt++;
254 clip_width = w->core.width;
258 ((int)w->core.width >
259 (int)(h_bar->core.width + h_bar->core.border_width)) )
260 clip_width -= h_bar->core.width + h_bar->core.border_width;
352 XtResizeWidget( child, child->core.width,
384 GetGeometry( widget, child->core.width, child->core.height );
386 ( (FormWidget)w, w->core.width, w->core.height, True );
414 clip->core.width, chil
[all...]
H A DSimpleMenu.c275 if (smw->core.width == 0) {
277 smw->core.width = GetMenuWidth(new, (Widget)NULL);
326 (unsigned int) (*entry)->rectangle.width,
386 ForAllChildren(smw, entry) /* reset width of all entries. */
388 (*entry)->rectangle.width = smw->core.width;
415 if (smw_new->core.width != smw_old->core.width) {
416 smw_new->simple_menu.menu_width = (smw_new->core.width != 0);
468 * If the user actually passed a width an
480 Dimension width, height; local
909 Dimension width, height; local
1084 int width = w->core.width + 2 * w->core.border_width; local
1178 Dimension width, widest = (Dimension) 0; local
[all...]
H A DAsciiSink.c153 int i, width, nonPrinting; local
164 if (x >= (int)XtParent(w)->core.width) return 0;
168 if (*tab < (int)XtParent(w)->core.width)
187 width = font->per_char[c - font->min_char_or_byte2].width;
189 width = font->min_bounds.width;
192 width += CharWidth(w, x, (unsigned char) '^');
194 return width;
203 * Returns: the width o
221 Dimension width = XTextWidth(sink->ascii_sink.font, (char *) buf, len); local
281 Dimension width; local
[all...]
H A DSme.c218 * I just return the height and a width of 1.
227 Dimension width; local
231 width = 1; /* we can be really small. */
233 if ( ((mode & CWWidth) && (intended->width != width)) ||
236 return_val->width = width;
239 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
H A DTextSink.c292 * width, height - size of area to clear
299 ClearToBackground (w, x, y, width, height)
302 Dimension width, height;
305 * Don't clear in height or width are zero.
309 if ( (height == 0) || (width == 0) ) return;
311 x, y, width, height, False);
319 * width, - width of section to paint text.
329 FindPosition(w, fromPos, fromx, width, stopAtWordBreak,
333 int fromx, width;
558 XawTextSinkClearToBackground(Widget w, int x, int y, unsigned int width, unsigned int height) argument
593 XawTextSinkFindPosition(Widget w, XawTextPosition fromPos, int fromx, int width, int stopAtWordBreak, XawTextPosition *resPos, int *resWidth, int *resHeight) argument
663 XawTextSinkResolve(Widget w, XawTextPosition pos, int fromx, int width, XawTextPosition *resPos) argument
[all...]
H A DForm.c242 fw->form.old_width = fw->core.width;
254 * width, height - the new width and height.
261 ChangeFormGeometry(w, query_only, width, height, ret_width, ret_height)
264 Dimension width, height;
277 if ( (width == fw->core.width) && (height == fw->core.height) )
280 request.width = width;
304 *ret_width = request.width;
503 Dimension width, height; local
[all...]
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dresolutions.h35 unsigned int width; member in struct:__anon45
39 unsigned int Hsw; /* Horizontal sync width */
42 unsigned int Vsw; /* Vertical sync width */
/solaris-x11-s11/open-src/font/misc-cyrillic/
H A DMakefile32 MODULE_DESC = X.Org fixed width bitmap fonts containing Cyrillic glyphs
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_sarea.h70 unsigned int width; member in struct:drm_sarea_frame
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_sarea.h70 unsigned int width; member in struct:drm_sarea_frame
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DCSBwraps.psw70 defineps _DPSCRGBBlend(DPSContext ctxt; double x, y, width, height;
74 width steps div
84 defineps _DPSCHSBBlend(DPSContext ctxt; double x, y, width, height;
88 width steps div
98 defineps _DPSCCMYKBlend(DPSContext ctxt; double x, y, width, height;
102 width steps div
112 defineps _DPSCGrayBlend(DPSContext ctxt; double x, y, width, height;
116 width steps div
131 double red, green, blue; double width, height;
136 width step
[all...]
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dimage.c55 0, 0, /* width, height */
69 int width; member in struct:__anon104
129 logo.width = sunlogo_width;
134 ip->width = xgwa.width;
136 ip->ncols = ip->width / sunlogo_width;
144 ip->xb = (ip->width - sunlogo_width * ip->ncols) / 2;
151 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, ip->width, ip->height);
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c98 int wd, ht; /* request width & height */
149 " -bw pixels border width in pixels",
178 int border_width = -1; /* border width in pixels */
354 * magnification = window.geometry.width / source_geometry.width
376 int border_width, /* width of border */
411 (unsigned int *)&window_hints.width,
425 (unsigned int *)&source_hints.width,
456 if ((params & valWindow) && (window_hints.width <= 0 ||
459 ProgramName, window_hints.width, window_hint
732 int width = shp->width, height = shp->height; local
852 int x = shp->x, y = shp->y, width = shp->width, height = shp->height; local
[all...]

Completed in 41 milliseconds

123456