Searched refs:textColor (Results 1 - 19 of 19) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/
H A Dhyperlink_button_cell.h21 @property(nonatomic, retain) NSColor* textColor; variable
/external/webkit/Source/WebKit/mac/Misc/
H A DWebKitNSStringExtras.h35 - (void)_web_drawAtPoint:(NSPoint)point font:(NSFont *)font textColor:(NSColor *)textColor allowingFontSmoothing:(BOOL)fontSmoothingIsAllowed;
36 - (void)_web_drawAtPoint:(NSPoint)point font:(NSFont *)font textColor:(NSColor *)textColor;
H A DWebKitNSStringExtras.mm64 - (void)_web_drawAtPoint:(NSPoint)point font:(NSFont *)font textColor:(NSColor *)textColor
66 [self _web_drawAtPoint:point font:font textColor:textColor allowingFontSmoothing:YES];
69 - (void)_web_drawAtPoint:(NSPoint)point font:(NSFont *)font textColor:(NSColor *)textColor allowingFontSmoothing:(BOOL)fontSmoothingIsAllowed
99 [[textColor colorUsingColorSpaceName:NSDeviceRGBColorSpace] getRed:&red green:&green blue:&blue alpha:&alpha];
113 [self drawAtPoint:point withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, textColor, NSForegroundColorAttributeName, nil]];
123 [self _web_drawAtPoint:textPoint font:font textColor:bottomColor allowingFontSmoothing:NO];
126 [self _web_drawAtPoint:textPoint font:font textColor
[all...]
/external/webkit/Source/WebCore/rendering/
H A DEllipsisBox.cpp36 Color textColor = style->visitedDependentColor(CSSPropertyColor); local
37 if (textColor != context->fillColor())
38 context->setFillColor(textColor, style->colorSpace());
51 if (foreground.isValid() && foreground != textColor)
59 if (textColor != context->fillColor())
60 context->setFillColor(textColor, style->colorSpace());
83 Color textColor = style->visitedDependentColor(CSSPropertyColor); local
90 if (textColor == c)
H A DRenderTextControl.cpp55 static Color disabledTextColor(const Color& textColor, const Color& backgroundColor) argument
60 if (textColor.rgb() == Color::black || differenceSquared(textColor, Color::white) > differenceSquared(backgroundColor, Color::white))
61 disabledColor = textColor.light();
63 disabledColor = textColor.dark();
69 return textColor;
H A DInlineTextBox.cpp298 Color correctedTextColor(Color textColor, Color backgroundColor) argument
303 int d = differenceSquared(textColor, backgroundColor);
306 return textColor;
309 int distanceFromWhite = differenceSquared(textColor, Color::white);
310 int distanceFromBlack = differenceSquared(textColor, Color::black);
313 return textColor.dark();
316 return textColor.light();
799 Color textColor = style->visitedDependentColor(CSSPropertyColor);
806 if (textColor == c)
H A DInlineTextBox.h40 Color correctedTextColor(Color textColor, Color backgroundColor);
H A DRenderListBox.cpp378 Color textColor = element->renderStyle() ? element->renderStyle()->visitedDependentColor(CSSPropertyColor) : style()->visitedDependentColor(CSSPropertyColor); local
381 textColor = theme()->activeListBoxSelectionForegroundColor();
384 textColor = theme()->inactiveListBoxSelectionForegroundColor();
388 paintInfo.context->setFillColor(textColor, colorSpace);
H A DRenderThemeWinCE.cpp466 Color textColor(GetRValue(colorMenuText), GetGValue(colorMenuText), GetBValue(colorMenuText), 255);
467 if (bgColor == textColor)
468 textColor.setRGB((~bgColor.rgb()) | 0xFF000000);
472 style->setColor(textColor);
H A DRenderThemeMac.mm391 color = convertNSColorToColor([NSColor textColor]);
409 color = convertNSColorToColor([NSColor textColor]);
416 color = convertNSColorToColor([NSColor textColor]);
428 color = convertNSColorToColor([NSColor textColor]);
/external/chromium/chrome/browser/autocomplete/
H A Dautocomplete_popup_view_mac.h104 NSColor* textColor, NSColor* dimTextColor, gfx::Font& font);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DFontChromiumWin.cpp288 COLORREF textColor = skia::SkColorToCOLORREF(SkColorSetARGB(255, shadowColor.red(), shadowColor.green(), shadowColor.blue())); local
290 SetTextColor(m_hdc, textColor);
516 COLORREF textColor = skia::SkColorToCOLORREF(SkColorSetARGB(255, shadowColor.red(), shadowColor.green(), shadowColor.blue())); local
518 SetTextColor(hdc, textColor);
H A DTransparencyWin.cpp470 SkColor textColor = m_textCompositeColor.rgb(); local
478 row[x] = SkAlphaMulQ(textColor, SkAlpha255To256(255 - alpha));
/external/webkit/Source/WebCore/platform/chromium/
H A DPopupMenuChromium.cpp895 Color backColor, textColor, labelColor; local
898 textColor = RenderTheme::defaultTheme()->activeListBoxSelectionForegroundColor();
899 labelColor = textColor;
902 textColor = style.foregroundColor();
920 gc->fillRect(separatorRect, textColor, ColorSpaceDeviceRGB);
927 gc->setFillColor(textColor, ColorSpaceDeviceRGB);
/external/webkit/Source/WebCore/platform/mac/
H A DDragImageMac.mm174 static void drawAtPoint(NSString *string, NSPoint point, NSFont *font, NSColor *textColor)
204 [[textColor colorUsingColorSpaceName:NSDeviceRGBColorSpace] getRed:&red green:&green blue:&blue alpha:&alpha];
218 [string drawAtPoint:point withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, textColor, NSForegroundColorAttributeName, nil]];
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp78 static const unsigned int textColor = 0xFFFFFFFF; variable
537 context.setFillColor(Color(textColor), ColorSpaceDeviceRGB);
543 context.setFillColor(Color(textColor), ColorSpaceDeviceRGB);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DMediaPlayerPrivateQuickTimeWin.cpp668 static const CGFloat textColor[4] = { 0, 0, 0, 1 }; local
669 CGContextSetFillColor(cgContext, textColor);
/external/webkit/Source/WebCore/dom/
H A DDocument.h644 Color textColor() const { return m_textColor; }
/external/webkit/Source/WebCore/css/
H A DCSSStyleSelector.cpp7123 col = m_element->document()->textColor();

Completed in 341 milliseconds