RSS

(root)/iphone/tappity : 49 : tappity/source/TappityView.m

To get this branch, use:
bzr branch /browse/iphone/tappity

« back to all changes in this revision

Viewing changes to tappity/source/TappityView.m

Dömötör Gulyás
2009-10-28 22:34:56
Revision ID: dognotdog@gmail.com-20091028213456-9pjbddhboknsf5w8
tappity now no longer eating some events

Show diffs side-by-side

added added

removed removed

35
35
        //[self setNeedsDisplay];
36
36
}
37
37
 
38
 
 
39
 
- (void) drawRect: (CGRect) rect
 
38
- (void) doDrawingInContext: (void*) _c
40
39
{
41
 
        CGContextRef c = UIGraphicsGetCurrentContext();
 
40
        CGContextRef c = (CGContextRef)_c;
42
41
        //[[UIColor blueColor] set];
43
42
        //CGContextFillRect(c, rect);
44
43
 
63
62
        [img drawInRect: bounds blendMode: kCGBlendModeCopy alpha: 1.0f];
64
63
}
65
64
 
 
65
- (void) drawRect: (CGRect) rect
 
66
{
 
67
        CGContextRef c = UIGraphicsGetCurrentContext();
 
68
        
 
69
        [self doDrawingInContext: c];
 
70
}
 
71
 
66
72
 
67
73
- (void)dealloc
68
74
{

Loggerhead 1.17 is a web-based interface for Bazaar branches