Browse files

Adding more contrast to the text gradient for the calendar grid.

  • Loading branch information...
1 parent 6e32e9b commit 32435ffe9dc5fcb27f0feff63df3ac694016c070 @devinross committed Mar 21, 2013
View
8 demo/Demo.xcodeproj/project.pbxproj
@@ -51,7 +51,7 @@
2052AFCD168B840B00A49526 /* launch_iphone-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 2052AFB2168B840B00A49526 /* launch_iphone-568h@2x.png */; };
2052AFCE168B840B00A49526 /* launch_iphone.png in Resources */ = {isa = PBXBuildFile; fileRef = 2052AFB3168B840B00A49526 /* launch_iphone.png */; };
20CAEA9216F4EE6400D347E1 /* CalendarDayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 20CAEA9116F4EE6400D347E1 /* CalendarDayViewController.m */; };
- 20D9062516F9901B00AE75F0 /* TapkuLibrary.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 20D9062416F9901B00AE75F0 /* TapkuLibrary.bundle */; };
+ 20D9062716FAB09200AE75F0 /* TapkuLibrary.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 20D9062616FAB09200AE75F0 /* TapkuLibrary.bundle */; };
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
3B111E5414593FA200C72A38 /* libTapkuLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B111E4F14593F8800C72A38 /* libTapkuLibrary.a */; };
3BF88C1B11E547BE00C9FC43 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BF88BEB11E547A000C9FC43 /* QuartzCore.framework */; };
@@ -140,7 +140,7 @@
2052AFB3168B840B00A49526 /* launch_iphone.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = launch_iphone.png; sourceTree = "<group>"; };
20CAEA9016F4EE6400D347E1 /* CalendarDayViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CalendarDayViewController.h; sourceTree = "<group>"; };
20CAEA9116F4EE6400D347E1 /* CalendarDayViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CalendarDayViewController.m; sourceTree = "<group>"; };
- 20D9062416F9901B00AE75F0 /* TapkuLibrary.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = TapkuLibrary.bundle; path = ../../src/TapkuLibrary.bundle; sourceTree = "<group>"; };
+ 20D9062616FAB09200AE75F0 /* TapkuLibrary.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = TapkuLibrary.bundle; path = ../../src/TapkuLibrary.bundle; sourceTree = "<group>"; };
288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
32CA4F630368D1EE00C91783 /* Demo_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Demo_Prefix.pch; sourceTree = "<group>"; };
3B111E4614593F8800C72A38 /* TapkuLibrary.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = TapkuLibrary.xcodeproj; path = ../src/TapkuLibrary.xcodeproj; sourceTree = "<group>"; };
@@ -192,7 +192,7 @@
2052AF95168B840B00A49526 /* Assets */ = {
isa = PBXGroup;
children = (
- 20D9062416F9901B00AE75F0 /* TapkuLibrary.bundle */,
+ 20D9062616FAB09200AE75F0 /* TapkuLibrary.bundle */,
2052AF96168B840B00A49526 /* Images */,
);
path = Assets;
@@ -444,7 +444,7 @@
2052AFCD168B840B00A49526 /* launch_iphone-568h@2x.png in Resources */,
2052AFCE168B840B00A49526 /* launch_iphone.png in Resources */,
200908B616F627F60012DC4F /* launch_iphone@2x.png in Resources */,
- 20D9062516F9901B00AE75F0 /* TapkuLibrary.bundle in Resources */,
+ 20D9062716FAB09200AE75F0 /* TapkuLibrary.bundle in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
BIN src/TapkuLibrary.bundle/Images/calendar/color_gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/TapkuLibrary.bundle/Images/calendar/color_gradient_gray.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
3 src/TapkuLibrary/TKCalendarDayView.m
@@ -482,9 +482,6 @@ - (void) _realignEventsAtIndex:(NSInteger)index{
// nobre additions - split control and offset control
// split control - adjusts balloon widths so their times/titles don't overlap
// offset control - adjusts starting balloon position so you can see all starts/ends
-
- NSLog(@"%f - %f - %f %@",(hourStartPosition + minuteStartPosition),startMarker,startMarkerHeight,event.titleLabel.text);
-
if ((hourStartPosition + minuteStartPosition) - startMarker - startMarkerHeight < 0) {
repeatNumber++;
} else {
View
2 src/TapkuLibrary/TKCalendarMonthView.m
@@ -294,7 +294,7 @@ - (void) drawTileInRect:(CGRect)r day:(NSInteger)day mark:(BOOL)mark font:(UIFon
NSString *str = [numberFormatter stringFromNumber:@(day)];
r.size.height -= 2;
- CGContextSetPatternPhase(context, CGSizeMake(r.origin.x, r.origin.y - 8));
+ CGContextSetPatternPhase(context, CGSizeMake(r.origin.x, r.origin.y - 2));
[str drawInRect: r

0 comments on commit 32435ff

Please sign in to comment.