• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcl-102/tk84/tk/win/

Lines Matching defs:gc

97 			    Drawable d, GC gc, Tk_Font tkfont,
103 Drawable d, GC gc,
113 Drawable d, GC gc, GC indicatorGC,
119 GC gc, Tk_Font tkfont,
123 TkMenuEntry *mePtr, Drawable d, GC gc,
127 TkMenuEntry *mePtr, Drawable d, GC gc,
131 TkMenuEntry *mePtr, Drawable d, GC gc,
136 GC gc, CONST RECT *rectPtr, int bitmapID,
1526 DrawWindowsSystemBitmap(display, drawable, gc, rectPtr, bitmapID, alignFlags)
1529 GC gc; /* The GC to draw with */
1545 SetBkColor(hdc, gc->background);
1546 SetTextColor(hdc, gc->foreground);
1603 DrawMenuEntryIndicator(menuPtr, mePtr, d, gc, indicatorGC, tkfont, fmPtr, x,
1608 GC gc; /* The gc we are drawing with */
1609 GC indicatorGC; /* The gc for indicator objects */
1624 whichGC = gc;
1682 DrawMenuEntryAccelerator(menuPtr, mePtr, d, gc, tkfont, fmPtr,
1687 GC gc; /* The gc we are drawing with */
1711 COLORREF oldFgColor = gc->foreground;
1713 gc->foreground = GetSysColor(COLOR_3DHILIGHT);
1716 Tk_DrawChars(menuPtr->display, d, gc, tkfont, accel,
1719 gc->foreground = oldFgColor;
1724 Tk_DrawChars(menuPtr->display, d, gc, tkfont, accel,
1748 DrawMenuEntryArrow(menuPtr, mePtr, d, gc,
1753 GC gc; /* The gc we are drawing with */
1771 oldFgColor = gc->foreground;
1772 oldBgColor = gc->background;
1781 gc->background = activeBgColor->pixel;
1784 gc->foreground = GetSysColor((mePtr->state == ENTRY_DISABLED) ?
1792 DrawWindowsSystemBitmap(menuPtr->display, d, gc, &rect, OBM_MNARROW,
1795 gc->foreground = oldFgColor;
1796 gc->background = oldBgColor;
1818 DrawMenuSeparator(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height)
1822 GC gc; /* The gc we are drawing with */
1864 GC gc, /* The gc to draw into */
1884 gc, tkfont, label, x + mePtr->indicatorSpace,
2068 GC gc, /* The gc we are drawing into */
2192 XCopyPlane(menuPtr->display, bitmap, d, gc, 0, 0,
2206 COLORREF oldFgColor = gc->foreground;
2207 gc->foreground = GetSysColor(COLOR_3DHILIGHT);
2208 Tk_DrawChars(menuPtr->display, d, gc, tkfont, label,
2211 gc->foreground = oldFgColor;
2214 Tk_DrawChars(menuPtr->display, d, gc, tkfont, label,
2217 DrawMenuUnderline(menuPtr, mePtr, d, gc, tkfont, fmPtr,
2283 DrawTearoffEntry(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height)
2287 GC gc; /* The gc we are drawing with */
2390 GC gc, indicatorGC;
2400 * Choose the gc for drawing the foreground part of the entry.
2404 gc = mePtr->activeGC;
2405 if (gc == NULL) {
2406 gc = menuPtr->activeGC;
2427 gc = mePtr->disabledGC;
2428 if (gc == NULL) {
2429 gc = menuPtr->disabledGC;
2432 gc = mePtr->textGC;
2433 if (gc == NULL) {
2434 gc = menuPtr->textGC;
2472 DrawMenuSeparator(menuPtr, mePtr, d, gc, tkfont,
2475 DrawTearoffEntry(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, adjustedY,
2478 DrawMenuEntryLabel(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, adjustedY,
2480 DrawMenuEntryAccelerator(menuPtr, mePtr, d, gc, tkfont, fmPtr,
2482 DrawMenuEntryArrow(menuPtr, mePtr, d, gc,
2485 DrawMenuEntryIndicator(menuPtr, mePtr, d, gc, indicatorGC, tkfont,