/ast/src/lib/libtk/generic/ |
H A D | tkUtil.c | 39 Tk_DrawFocusHighlight(tkwin, gc, width, drawable) 42 GC gc; /* Graphics context to use for drawing 66 XFillRectangles(Tk_Display(tkwin), drawable, gc, rects, 4); 65 XFillRectangles(Tk_Display(tkwin), drawable, gc, rects, 4); local
|
H A D | tkGC.c | 26 GC gc; /* Graphics context. */ member in struct:__anon400 27 Display *display; /* Display to which gc belongs. */ 28 int refCount; /* Number of active uses of gc. */ 54 GC gc; /* X's identifier for GC. */ member in struct:__anon402 245 return gcPtr->gc; 274 gcPtr->gc = XCreateGC(valueKey.display, d, valueMask, &valueKey.values); 279 idKey.gc = gcPtr->gc; 290 return gcPtr->gc; 306 * The reference count associated with gc i [all...] |
H A D | tkSquare.c | 46 GC gc; /* Graphics context for copying from member in struct:__anon418 163 squarePtr->gc = None; 336 if ((squarePtr->gc == None) && (squarePtr->doubleBuffer)) { 340 squarePtr->gc = Tk_GetGC(squarePtr->tkwin, 514 XCopyArea(Tk_Display(tkwin), pm, Tk_WindowId(tkwin), squarePtr->gc, 547 if (squarePtr->gc != None) { 548 Tk_FreeGC(squarePtr->display, squarePtr->gc);
|
H A D | tkCanvBmap.c | 32 GC gc; /* Graphics context to use for drawing member in struct:BitmapItem 167 bmapPtr->gc = None; 293 if (bmapPtr->gc != None) { 294 Tk_FreeGC(Tk_Display(tkwin), bmapPtr->gc); 296 bmapPtr->gc = newGC; 339 if (bmapPtr->gc != NULL) { 340 Tk_FreeGC(display, bmapPtr->gc); 506 XSetClipOrigin(display, bmapPtr->gc, drawableX - bmapX, 509 bmapPtr->gc, bmapX, bmapY, (unsigned int) bmapWidth,
|
H A D | tkColor.c | 45 GC gc; /* Simple gc with this color as foreground member in struct:TkColor 235 tkColPtr->gc = None; 320 tkColPtr->gc = None; 415 if (tkColPtr->gc == None) { 417 tkColPtr->gc = XCreateGC(DisplayOfScreen(tkColPtr->screen), 420 return tkColPtr->gc; 488 if (tkColPtr->gc != None) { 489 XFreeGC(DisplayOfScreen(screen), tkColPtr->gc);
|
H A D | tkFrame.c | 612 GC gc; 629 gc = Tk_GCForColor(framePtr->highlightColorPtr, 632 gc = Tk_GCForColor(framePtr->highlightBgColorPtr, 635 Tk_DrawFocusHighlight(tkwin, gc, framePtr->highlightWidth, 606 GC gc; local
|
H A D | tkMessage.c | 728 GC gc; 731 gc = Tk_GCForColor(msgPtr->highlightColorPtr, Tk_WindowId(tkwin)); 733 gc = Tk_GCForColor(msgPtr->highlightBgColorPtr, Tk_WindowId(tkwin)); 735 Tk_DrawFocusHighlight(tkwin, gc, msgPtr->highlightWidth, 722 GC gc; local
|
H A D | tkImgBmap.c | 65 GC gc; /* Graphics context for displaying bitmap. member in struct:BitmapInstance 342 GC gc; 413 gc = Tk_GetGC(instancePtr->tkwin, mask, &gcValues); 415 gc = None; 417 if (instancePtr->gc != None) { 418 Tk_FreeGC(Tk_Display(instancePtr->tkwin), instancePtr->gc); 420 instancePtr->gc = gc; 430 if (instancePtr->gc != None) { 431 Tk_FreeGC(Tk_Display(instancePtr->tkwin), instancePtr->gc); 339 GC gc; local [all...] |
H A D | tkMenubutton.c | 780 GC gc; 795 gc = mbPtr->disabledGC; 798 gc = mbPtr->activeTextGC; 801 gc = mbPtr->normalTextGC; 854 gc, 0, 0, (unsigned) width, (unsigned) height, x, y, 1); 888 mbPtr->justify, mbPtr->underline, gc); 938 GC gc; 941 gc = Tk_GCForColor(mbPtr->highlightColorPtr, pixmap); 943 gc = Tk_GCForColor(mbPtr->highlightBgColorPtr, pixmap); 945 Tk_DrawFocusHighlight(tkwin, gc, mbPt 775 GC gc; local 933 GC gc; local [all...] |
H A D | tkScrollbar.c | 830 GC gc; 833 gc = Tk_GCForColor(scrollPtr->highlightColorPtr, pixmap); 835 gc = Tk_GCForColor(scrollPtr->highlightBgColorPtr, pixmap); 837 Tk_DrawFocusHighlight(tkwin, gc, scrollPtr->highlightWidth, pixmap); 825 GC gc; local
|
H A D | tkTest.c | 153 GC gc; /* Graphics context for drawing in image. */ member in struct:TImageInstance 941 instPtr->gc = Tk_GetGC(tkwin, GCForeground, &gcValues); 990 XDrawRectangle(display, drawable, instPtr->gc, drawableX, drawableY, 992 XDrawLine(display, drawable, instPtr->gc, drawableX, drawableY, 994 XDrawLine(display, drawable, instPtr->gc, drawableX, 1029 Tk_FreeGC(display, instPtr->gc);
|
H A D | tk3d.c | 765 GC gc; 911 gc = borderPtr->lightGC; 913 gc = borderPtr->darkGC; 915 XFillPolygon(display, drawable, gc, poly, 4, Convex, 753 GC gc; local
|
H A D | tkButton.c | 1136 GC gc; 1156 gc = butPtr->disabledGC; 1159 gc = butPtr->activeTextGC; 1162 gc = butPtr->normalTextGC; 1241 XSetClipOrigin(butPtr->display, gc, x, y); 1242 XCopyPlane(butPtr->display, butPtr->bitmap, pixmap, gc, 0, 0, 1244 XSetClipOrigin(butPtr->display, gc, 0, 0); 1286 butPtr->justify, butPtr->underline, gc); 1311 GC gc; 1313 gc 1130 GC gc; local 1305 GC gc; local 1331 GC gc; local 1385 GC gc; local [all...] |
H A D | tkCanvLine.c | 42 GC gc; /* Graphics context for filling line. */ member in struct:LineItem 252 linePtr->gc = None; 465 if (linePtr->gc != None) { 466 Tk_FreeGC(Tk_Display(tkwin), linePtr->gc); 471 linePtr->gc = newGC; 564 if (linePtr->gc != None) { 565 Tk_FreeGC(display, linePtr->gc); 720 if (linePtr->gc == None) { 763 Tk_CanvasSetStippleOrigin(canvas, linePtr->gc); 766 XDrawLines(display, drawable, linePtr->gc, pointPt [all...] |
H A D | tkCanvText.c | 71 GC gc; /* Graphics context for drawing text. */ member in struct:TextItem 244 textPtr->gc = None; 383 if (textPtr->gc != None) { 384 Tk_FreeGC(Tk_Display(tkwin), textPtr->gc); 386 textPtr->gc = newGC; 474 if (textPtr->gc != None) { 475 Tk_FreeGC(display, textPtr->gc); 732 if (textPtr->gc == None) { 743 Tk_CanvasSetStippleOrigin(canvas, textPtr->gc); 862 TkDisplayChars(display, drawable, textPtr->gc, textPt [all...] |
H A D | tkCanvas.c | 1753 GC gc; 1756 gc = Tk_GCForColor(canvasPtr->highlightColorPtr, 1759 gc = Tk_GCForColor(canvasPtr->highlightBgColorPtr, 1762 Tk_DrawFocusHighlight(tkwin, gc, canvasPtr->highlightWidth, 1748 GC gc; local
|
H A D | tkEntry.c | 1179 GC gc; 1182 gc = Tk_GCForColor(entryPtr->highlightColorPtr, pixmap); 1184 gc = Tk_GCForColor(entryPtr->highlightBgColorPtr, pixmap); 1186 Tk_DrawFocusHighlight(tkwin, gc, entryPtr->highlightWidth, pixmap); 1174 GC gc; local
|
H A D | tkListbox.c | 1040 GC gc; 1099 gc = listPtr->textGC; 1101 gc = listPtr->selTextGC; 1147 XDrawString(listPtr->display, pixmap, gc, x, y, 1155 XFillRectangle(listPtr->display, pixmap, gc, 1174 GC gc; 1177 gc = Tk_GCForColor(listPtr->highlightColorPtr, pixmap); 1179 gc = Tk_GCForColor(listPtr->highlightBgColorPtr, pixmap); 1181 Tk_DrawFocusHighlight(tkwin, gc, listPtr->highlightWidth, pixmap); 1035 GC gc; local 1169 GC gc; local
|
H A D | tkMenu.c | 1742 GC gc; 1794 * Choose the gc for drawing the foreground part of the entry. 1798 gc = mePtr->activeGC; 1799 if (gc == NULL) { 1800 gc = menuPtr->activeGC; 1805 gc = mePtr->disabledGC; 1806 if (gc == NULL) { 1807 gc = menuPtr->disabledGC; 1810 gc = mePtr->textGC; 1811 if (gc 1734 GC gc; local [all...] |
H A D | tkScale.c | 1556 GC gc; 1559 gc = Tk_GCForColor(scalePtr->highlightColorPtr, pixmap); 1561 gc = Tk_GCForColor(scalePtr->highlightBgColorPtr, pixmap); 1563 Tk_DrawFocusHighlight(tkwin, gc, scalePtr->highlightWidth, pixmap); 1545 GC gc; local
|
H A D | tkImgPhoto.c | 205 GC gc; /* Graphics context for writing images member in struct:PhotoInstance 1746 instancePtr->gc = Tk_GetGC(tkwin, 1820 * valid data. We set this region as the clip mask for the gc, 1825 TkSetRegion(display, instancePtr->gc, instancePtr->masterPtr->validRegion); 1826 XSetClipOrigin(display, instancePtr->gc, drawableX - imageX, 1828 XCopyArea(display, instancePtr->pixels, drawable, instancePtr->gc, 1831 XSetClipMask(display, instancePtr->gc, None); 1832 XSetClipOrigin(display, instancePtr->gc, 0, 0); 2186 instancePtr->gc, validBox.x, validBox.y, 2971 if (instancePtr->gc ! [all...] |
H A D | tkTextDisp.c | 2212 GC gc; 2215 gc = Tk_GCForColor(textPtr->highlightColorPtr, 2218 gc = Tk_GCForColor(textPtr->highlightBgColorPtr, 2221 Tk_DrawFocusHighlight(textPtr->tkwin, gc, textPtr->highlightWidth, 2202 GC gc; local
|
/ast/src/lib/libtk/unix/ |
H A D | tkUnixDraw.c | 58 TkScrollWindow(tkwin, gc, x, y, width, height, dx, dy, damageRgn) 60 GC gc; /* GC for window to be scrolled. */ 69 XCopyArea(Tk_Display(tkwin), Tk_WindowId(tkwin), Tk_WindowId(tkwin), gc, 68 XCopyArea(Tk_Display(tkwin), Tk_WindowId(tkwin), Tk_WindowId(tkwin), gc, local
|
/ast/src/cmd/re/ |
H A D | sed1.c | 71 #define gc Tc macro 669 xx,ac,bc,cc,dc,xx,xx,gc,hc,ic,xx,xx,lc,xx,nc,xx, /* a-n */
|