Lines Matching refs:multi_sink
101 #define offset(field) XtOffsetOf(MultiSinkRec, multi_sink.field)
178 XFontSet fontset = sink->multi_sink.fontset;
201 if (sink->multi_sink.display_nonprinting)
246 XFontSet fontset = sink->multi_sink.fontset;
261 sink->multi_sink.normgc, (int) x,
286 XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset);
290 GC gc = highlight ? sink->multi_sink.invgc : sink->multi_sink.normgc;
291 GC invgc = highlight ? sink->multi_sink.normgc : sink->multi_sink.invgc;
293 if (!sink->multi_sink.echo) return;
324 else if (XwcTextEscapement (sink->multi_sink.fontset, &buf[j], 1 == 0)) {
325 if (sink->multi_sink.display_nonprinting)
365 rect->x = sink->multi_sink.cursor_x - (short) (rect->width / 2);
366 rect->y = sink->multi_sink.cursor_y - (short) rect->height;
383 sink->multi_sink.cursor_x = x;
384 sink->multi_sink.cursor_y = y;
387 if (state != sink->multi_sink.laststate && XtIsRealized(text_widget))
389 sink->multi_sink.insertCursorOn,
390 XtWindow(text_widget), sink->multi_sink.xorgc,
393 sink->multi_sink.laststate = state;
415 XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset);
456 XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset);
524 sink->multi_sink.normgc = XtAllocateGC( (Widget)sink, 0, valuemask, &values, GCFont, 0 );
528 sink->multi_sink.invgc = XtAllocateGC( (Widget)sink, 0, valuemask, &values, GCFont, 0 );
537 sink->multi_sink.xorgc = XtAllocateGC( (Widget)sink, 0, valuemask, &values, GCFont, 0 );
562 sink->multi_sink.insertCursorOn= CreateInsertCursor(XtScreenOfObject(new));
563 sink->multi_sink.laststate = XawisOff;
564 sink->multi_sink.cursor_x = sink->multi_sink.cursor_y = 0;
580 XtReleaseGC(w, sink->multi_sink.normgc);
581 XtReleaseGC(w, sink->multi_sink.invgc);
582 XtReleaseGC(w, sink->multi_sink.xorgc);
584 XFreePixmap(XtDisplayOfObject(w), sink->multi_sink.insertCursorOn);
607 if ( w->multi_sink.fontset != old_w->multi_sink.fontset ) {
617 XtReleaseGC((Widget)w, w->multi_sink.normgc);
618 XtReleaseGC((Widget)w, w->multi_sink.invgc);
619 XtReleaseGC((Widget)w, w->multi_sink.xorgc);
623 if ( (w->multi_sink.echo != old_w->multi_sink.echo) ||
624 (w->multi_sink.display_nonprinting !=
625 old_w->multi_sink.display_nonprinting) )
648 XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset);
675 XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset);
716 (void) XFontsOfFontSet(sink->multi_sink.fontset, &f_list, &f_name);
770 XFontSetExtents *ext = XExtentsOfFontSet( sink->multi_sink.fontset );