Project

General

Profile

Bug #5

CoreGraphics hacks no longer function properly under 64-bit

Added by Joseph Spiros over 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Start date:
12/28/2009
Due date:
% Done:

100%

Estimated time:

Description

It seems that the CoreGraphics hacks (source:ITCoreGraphicsHacks.h) used to enable shadows for ITTextFieldCell no longer function properly under 64-bit. Due to this, ITTextFieldCell instances with shadows enabled do not draw text with shadows, if at all.


Related issues

Blocks ITTSW.growlView - Bug #4: Not recognized under Growl 1.2 beta on Snow LeopardResolved09/18/2009

Actions

Associated revisions

Revision 99f5b6f0 (diff)
Added by Joseph Spiros over 13 years ago

Removing the use of private CoreGraphics APIs to draw shadows, and replacing with NSShadow. This should resolve ITKit bug #5.

History

#1

Updated by Joseph Spiros over 14 years ago

A switch from CGShadowStyle + CGContextSetStyle to CGContextSetShadow would probably be the ideal fix. However, converting the elevation, azimuth, ambient, height, radius, and saturation components of CGShadowStyle (which have been exposed in the ITTextFieldCell API) to the offset, blur, and color components accepted by CGContextSetShadow will require some work.

#2

Updated by Joseph Spiros over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF