Mac theming: Remove obsolete private color conversion functions
Change-Id: I165eea19c8e50f981a9fa48c14f0d63c40951747 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
parent
b145c1db00
commit
9637b5f7f0
@ -194,8 +194,6 @@ extern QPoint qt_mac_nativeMapFromParent(const QWidget *child, const QPoint &pt)
|
||||
|
||||
QFont qfontForThemeFont(ThemeFontID themeID);
|
||||
|
||||
QColor qcolorForTheme(ThemeBrush brush);
|
||||
|
||||
QColor qcolorForThemeTextColor(ThemeTextColor themeColor);
|
||||
|
||||
struct QMacDndAnswerRecord {
|
||||
|
@ -526,18 +526,6 @@ static QColor qcolorFromCGColor(CGColorRef cgcolor)
|
||||
return pc;
|
||||
}
|
||||
|
||||
static inline QColor leopardBrush(ThemeBrush brush)
|
||||
{
|
||||
QCFType<CGColorRef> cgClr = 0;
|
||||
HIThemeBrushCreateCGColor(brush, &cgClr);
|
||||
return qcolorFromCGColor(cgClr);
|
||||
}
|
||||
|
||||
QColor qcolorForTheme(ThemeBrush brush)
|
||||
{
|
||||
return leopardBrush(brush);
|
||||
}
|
||||
|
||||
OSStatus qt_mac_shape2QRegionHelper(int inMessage, HIShapeRef, const CGRect *inRect, void *inRefcon)
|
||||
{
|
||||
QRegion *region = static_cast<QRegion *>(inRefcon);
|
||||
|
Loading…
x
Reference in New Issue
Block a user