Skip to content

Commit

Permalink
Don't use .png when referencing the clock image (so the high-resoluti…
Browse files Browse the repository at this point in the history
…on version will be loaded as necessary)
  • Loading branch information
jspahrsummers committed Aug 1, 2012
1 parent 95d8ade commit 65bfe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExampleProject/ConcordeExample/ExampleView.m
Expand Up @@ -67,7 +67,7 @@ Note by default scroll views (and therefore table views) don't
CGRect b = v.bounds;
CGContextRef ctx = TUIGraphicsGetCurrentContext();

NSImage *image = [NSImage imageNamed:@"clock.png"];
NSImage *image = [NSImage imageNamed:@"clock"];
CGRect imageRect = ABIntegralRectWithSizeCenteredInRect([image size], b);

if([v.nsView isTrackingSubviewOfView:v]) { // simple way to check if the mouse is currently down inside of 'v'. See the other methods in TUINSView for more.
Expand Down

0 comments on commit 65bfe37

Please sign in to comment.