summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-06 08:20:56 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-04-06 08:20:56 (GMT)
commitc350892f55a1d8633be54f09e6e4596f4687bc89 (patch)
treea4bb8a5ea183abeb669909bad4e17209660c7835 /src/corelib/thread
parentb11659ba9ea4532583398f6e539e78ed79a0c600 (diff)
downloadQt-c350892f55a1d8633be54f09e6e4596f4687bc89.zip
Qt-c350892f55a1d8633be54f09e6e4596f4687bc89.tar.gz
Qt-c350892f55a1d8633be54f09e6e4596f4687bc89.tar.bz2
Fix up color matching on 64-bit Cocoa.
It seems that GetThemeTextColor is not available at all for 64-bit versions of the operating system and there is no good equivalent. We were using a technique where we would create a small pixmap and then use HIThemeSetTextFillColor() with the proper enum. However, this function will silently set a black color if it doesn't know about the enum. So, we get black when we really shouldn't. It also seems to produce colors that are a bit different from the Carbon function. So, in the meantime, just hard code the values in. It might break if you are hacking the resources in Mac OS X, but we'll have to live with that until we get a real function. Task-number: 248918 Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'src/corelib/thread')
0 files changed, 0 insertions, 0 deletions